default.json 4.3 KB

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