default.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. {
  2. "colors":{
  3. "clear": "#181818",
  4. "gutter": "#262626",
  5. "content": "#323232",
  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. "TableView":{
  207. "extends":"DockingView"
  208. },
  209. "TableHeader":{
  210. "extends":"Label",
  211. "textColor":"text-highlight",
  212. "border":[0,0,0,1],
  213. "borderColor":"panel"
  214. },
  215. "TableColumn":{
  216. },
  217. "TreeView":{
  218. "backgroundColor":"content",
  219. "icons":"treeview_icons.png",
  220. "iconColor":"#8fff"
  221. },
  222. "TreeViewContent":{
  223. "padding":[2]
  224. },
  225. "TreeViewNode":{
  226. "padding":[1],
  227. "states":{
  228. "hover":{
  229. "backgroundColor":"panel"
  230. },
  231. "selected":{
  232. "backgroundColor":"panel",
  233. "textColor":"text-highlight"
  234. }
  235. }
  236. },
  237. "ListView":{
  238. "backgroundColor":"content"
  239. },
  240. "ListViewContent":{
  241. "padding":[2]
  242. },
  243. "ListViewItem":{
  244. "padding":[1],
  245. "states":{
  246. "hover":{
  247. "backgroundColor":"panel"
  248. },
  249. "selected":{
  250. "backgroundColor":"panel",
  251. "textColor":"text-highlight"
  252. }
  253. }
  254. },
  255. "FileBrowser":{
  256. "extends":"TreeView"
  257. },
  258. "HtmlView":{
  259. },
  260. "Console":{
  261. "backgroundColor":"content"
  262. },
  263. "Dialog":{
  264. "skin":"dialog_skin.png",
  265. "skinColor":"panel"
  266. },
  267. "DialogTitle":{
  268. "extends":"Label",
  269. "backgroundColor":"knob"
  270. },
  271. "DialogContent":{
  272. "padding":[ 8,8,8,4 ]
  273. },
  274. "DialogActions":{
  275. "padding":[ 8,4,8,4 ]
  276. }
  277. }
  278. }