simple_theme.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. {
  2. "colors":{
  3. "clear": "#080808",
  4. "gutter": "#262626",
  5. "content": "#121212",
  6. "panel": "#4c4c4c",
  7. "knob": "#666666",
  8. "hover": "#888888",
  9. "active" : "#989898",
  10. "text-default": "#fff",
  11. "text-highlight": "#ff0",
  12. "text-disabled": "#888",
  13. "text-background": "#888",
  14. "textview-cursor":"#08f",
  15. "textview-selection":"#888",
  16. "textview-color0":"#0000",
  17. "textview-color1":"#fff",
  18. "textview-color2":"#ff0",
  19. "textview-color3":"#0f8",
  20. "textview-color4":"#0f8",
  21. "textview-color5":"#0ff",
  22. "textview-color6":"#fc0",
  23. "textview-color7":"#fff",
  24. "windowClearColor":"clear"
  25. },
  26. "fonts":{
  27. "normal":"DejaVuSans.ttf,16",
  28. "fixedWidth":"DejaVuSansMono.ttf,16",
  29. "small":"DejaVuSans.ttf,14"
  30. },
  31. "styles":{
  32. "default":{
  33. "font":"normal",
  34. "textColor":"text-default",
  35. "iconColor":"#ffff",
  36. "states":{
  37. "disabled":{
  38. "textColor":"text-disabled",
  39. "iconColor":"#8fff"
  40. }
  41. }
  42. },
  43. "Label":{
  44. "padding":[8,4]
  45. },
  46. "Button":{
  47. "extends":"Label",
  48. "padding":[4,2],
  49. "skin":"button_skin.png",
  50. "skinColor":"content",
  51. "states":{
  52. "hover":{
  53. "skinColor":"hover"
  54. },
  55. "active":{
  56. "skinColor":"active"
  57. },
  58. "selected":{
  59. "skinColor":"active"
  60. }
  61. }
  62. },
  63. "PushButton":{
  64. "extends":"Button",
  65. "margin":[4,4]
  66. },
  67. "CheckButton":{
  68. "extends":"Label"
  69. },
  70. "CheckBox":{
  71. "icons":"checkbox_icons.png",
  72. "margin":[8,0,0,0]
  73. },
  74. "ProgressBar":{
  75. "icons":"progressbar_icons.png"
  76. },
  77. "ScrollView":{
  78. },
  79. "ScrollBar":{
  80. "backgroundColor":"gutter"
  81. },
  82. "ScrollKnob":{
  83. "padding":[ 4 ],
  84. "border":[ 1 ],
  85. "borderColor":"#0000",
  86. "skin":"button_skin.png",
  87. "skinColor":"knob",
  88. "states":{
  89. "hover":{
  90. "skinColor":"hover"
  91. },
  92. "active":{
  93. "skinColor":"active"
  94. }
  95. }
  96. },
  97. "TextView":{
  98. "font":"fixedWidth",
  99. "backgroundColor":"content"
  100. },
  101. "TextViewContent":{
  102. "padding":[4]
  103. },
  104. "TextField":{
  105. "padding":[ 2 ],
  106. "margin":[ 2 ],
  107. "skin":"button_skin.png",
  108. "skinColor":"content"
  109. },
  110. "DockingView":{
  111. },
  112. "DockedView":{
  113. },
  114. "DockKnob":{
  115. "padding":[ 3 ],
  116. "backgroundColor":"knob",
  117. "states":{
  118. "hover":{
  119. "backgroundColor":"hover"
  120. },
  121. "active":{
  122. "backgroundColor":"active"
  123. }
  124. }
  125. },
  126. "ToolBar":{
  127. "padding":[ 2 ],
  128. "backgroundColor":"panel"
  129. },
  130. "ToolButton":{
  131. "extends":"Button",
  132. "padding":[2,0],
  133. "margin":[6,0]
  134. },
  135. "Menu":{
  136. "padding":[ 0 ],
  137. "skin":"dialog_skin.png",
  138. "skinColor":"panel"
  139. },
  140. "MenuButton":{
  141. "extends":"Label",
  142. "padding":[8,4],
  143. "states":{
  144. "hover":{
  145. "backgroundColor":"hover"
  146. },
  147. "active":{
  148. "backgroundColor":"active"
  149. },
  150. "selected":{
  151. "backgroundColor":"active"
  152. }
  153. }
  154. },
  155. "MenuBar":{
  156. "extends":"ToolBar",
  157. "backgroundColor":"content"
  158. },
  159. "MenuSeparator":{
  160. "padding":[ 0,0,0,1 ],
  161. "backgroundColor":"content",
  162. "border":[ 8,8,7,7 ]
  163. },
  164. "TabView":{
  165. },
  166. "TabBar":{
  167. "extends":"ToolBar",
  168. "padding":[ 0,2,4,0 ],
  169. "backgroundColor":"clear"
  170. },
  171. "TabButton":{
  172. "extends":"Button",
  173. // "font":"small",
  174. "padding":[1],
  175. "margin":[2,0],
  176. "backgroundColor":"#0000",
  177. "skin":"tabbutton_skin.png",
  178. "skinColor":"gutter",
  179. "textColor":"text-background",
  180. "states":{
  181. "hover":{
  182. "skinColor":"gutter"
  183. },
  184. "active":{
  185. "skinColor":"content"
  186. },
  187. "selected":{
  188. "skinColor":"content",
  189. "textColor":"text-default"
  190. }
  191. }
  192. },
  193. "TabClose":{
  194. "margin":[ 4,0,0,0 ],
  195. "icons":"tabclose_icons.png",
  196. "iconColor":"#cfff",
  197. "states":{
  198. "hover":{
  199. "iconColor":"#ffff"
  200. },
  201. "active":{
  202. "iconColor":"#ffff"
  203. }
  204. }
  205. },
  206. "GridView":{
  207. },
  208. "TableView":{
  209. "extends":"DockingView"
  210. },
  211. "TableHeader":{
  212. "extends":"Label",
  213. "textColor":"text-highlight",
  214. "border":[0,0,0,1],
  215. "borderColor":"panel"
  216. },
  217. "TableColumn":{
  218. },
  219. "TreeView":{
  220. "backgroundColor":"content",
  221. "icons":"treeview_icons.png",
  222. "iconColor":"#8fff"
  223. },
  224. "TreeViewContent":{
  225. "padding":[2]
  226. },
  227. "TreeViewNode":{
  228. "padding":[1],
  229. "states":{
  230. "hover":{
  231. "backgroundColor":"panel"
  232. },
  233. "selected":{
  234. "backgroundColor":"panel",
  235. "textColor":"text-highlight"
  236. }
  237. }
  238. },
  239. "ListView":{
  240. "backgroundColor":"content"
  241. },
  242. "ListViewContent":{
  243. "padding":[2]
  244. },
  245. "ListViewItem":{
  246. "padding":[1],
  247. "states":{
  248. "hover":{
  249. "backgroundColor":"panel"
  250. },
  251. "selected":{
  252. "backgroundColor":"panel",
  253. "textColor":"text-highlight"
  254. }
  255. }
  256. },
  257. "FileBrowser":{
  258. "extends":"TreeView"
  259. },
  260. "HtmlView":{
  261. },
  262. "Console":{
  263. "backgroundColor":"content"
  264. },
  265. "Dialog":{
  266. "skin":"dialog_skin.png",
  267. "skinColor":"panel"
  268. },
  269. "DialogTitle":{
  270. "extends":"Label",
  271. "backgroundColor":"knob"
  272. },
  273. "DialogContent":{
  274. "padding":[ 8,8,8,4 ]
  275. },
  276. "DialogActions":{
  277. "padding":[ 8,4,8,4 ]
  278. }
  279. }
  280. }