_variables.dark.scss 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  1. // Global values
  2. // --------------------------------------------------
  3. $theme-name: dark;
  4. // Grays
  5. // -------------------------
  6. $black: #000;
  7. $dark-1: #141414;
  8. $dark-2: #1f1f20;
  9. $dark-3: #262628;
  10. $dark-4: #333333;
  11. $dark-5: #444444;
  12. $gray-1: #555555;
  13. $gray-2: #8e8e8e;
  14. $gray-3: #b3b3b3;
  15. $gray-4: #d8d9da;
  16. $gray-5: #ececec;
  17. $gray-7: #fbfbfb;
  18. $gray-blue: #212327;
  19. $input-black: #09090b;
  20. $white: #fff;
  21. // Accent colors
  22. // -------------------------
  23. $blue: #33b5e5;
  24. $blue-dark: #005f81;
  25. $green: #299c46;
  26. $red: #d44a3a;
  27. $yellow: #ecbb13;
  28. $purple: #9933cc;
  29. $variable: #32d1df;
  30. $orange: #eb7b18;
  31. $brand-primary: $orange;
  32. $brand-success: $green;
  33. $brand-warning: $brand-primary;
  34. $brand-danger: $red;
  35. $query-red: #e24d42;
  36. $query-green: #74e680;
  37. $query-purple: #fe85fc;
  38. $query-keyword: #66d9ef;
  39. $query-orange: $orange;
  40. // Status colors
  41. // -------------------------
  42. $online: #10a345;
  43. $warn: #f79520;
  44. $critical: #ed2e18;
  45. // Scaffolding
  46. // -------------------------
  47. $body-bg: rgb(23, 24, 25);
  48. $page-bg: rgb(22, 23, 25);
  49. $body-color: $gray-4;
  50. $text-color: $gray-4;
  51. $text-color-strong: $white;
  52. $text-color-weak: $gray-2;
  53. $text-color-faint: $dark-5;
  54. $text-color-emphasis: $gray-5;
  55. $text-shadow-faint: 1px 1px 4px rgb(45, 45, 45);
  56. $textShadow: none;
  57. // gradients
  58. $brand-gradient: linear-gradient(
  59. to right,
  60. rgba(255, 213, 0, 0.7) 0%,
  61. rgba(255, 68, 0, 0.7) 99%,
  62. rgba(255, 68, 0, 0.7) 100%
  63. );
  64. $page-gradient: linear-gradient(180deg, #222426 10px, rgb(22, 23, 25) 100px);
  65. $edit-gradient: linear-gradient(180deg, rgb(22, 23, 25) 50%, #090909);
  66. // Links
  67. // -------------------------
  68. $link-color: darken($white, 11%);
  69. $link-color-disabled: darken($link-color, 30%);
  70. $link-hover-color: $white;
  71. $external-link-color: $blue;
  72. // Typography
  73. // -------------------------
  74. $headings-color: darken($white, 11%);
  75. $abbr-border-color: $gray-3 !default;
  76. $text-muted: $text-color-weak;
  77. $hr-border-color: $dark-4;
  78. // Panel
  79. // -------------------------
  80. $panel-bg: #212124;
  81. $panel-border: solid 1px $dark-1;
  82. $panel-header-hover-bg: $dark-4;
  83. $panel-corner: $panel-bg;
  84. // page header
  85. $page-header-bg: linear-gradient(90deg, #292a2d, black);
  86. $page-header-shadow: inset 0px -4px 14px $dark-2;
  87. $page-header-border-color: $dark-4;
  88. $divider-border-color: #555;
  89. // Graphite Target Editor
  90. $tight-form-bg: $dark-3;
  91. $tight-form-func-bg: #333334;
  92. $tight-form-func-highlight-bg: #444445;
  93. $modal-backdrop-bg: #353c42;
  94. $code-tag-bg: $dark-1;
  95. $code-tag-border: $dark-4;
  96. // cards
  97. $card-background: linear-gradient(135deg, #2f2f32, #262628);
  98. $card-background-hover: linear-gradient(135deg, #343436, #262628);
  99. $card-shadow: -1px -1px 0 0 hsla(0, 0%, 100%, 0.1), 1px 1px 0 0 rgba(0, 0, 0, 0.3);
  100. // Lists
  101. $list-item-bg: $card-background;
  102. $list-item-hover-bg: lighten($gray-blue, 2%);
  103. $list-item-link-color: $text-color;
  104. $list-item-shadow: $card-shadow;
  105. $empty-list-cta-bg: $gray-blue;
  106. // Scrollbars
  107. $scrollbarBackground: #404357;
  108. $scrollbarBackground2: #3a3a3a;
  109. $scrollbarBorder: black;
  110. // Tables
  111. // -------------------------
  112. $table-bg: transparent; // overall background-color
  113. $table-bg-accent: $dark-3; // for striping
  114. $table-border: $dark-3; // table and cell border
  115. $table-bg-odd: $dark-2;
  116. $table-bg-hover: $dark-3;
  117. // Buttons
  118. // -------------------------
  119. $btn-primary-bg: #ff6600;
  120. $btn-primary-bg-hl: #bc3e06;
  121. $btn-secondary-bg-hl: lighten($blue-dark, 5%);
  122. $btn-secondary-bg: $blue-dark;
  123. $btn-success-bg: $green;
  124. $btn-success-bg-hl: darken($green, 6%);
  125. $btn-warning-bg: $brand-warning;
  126. $btn-warning-bg-hl: lighten($brand-warning, 8%);
  127. $btn-danger-bg: $red;
  128. $btn-danger-bg-hl: darken($red, 8%);
  129. $btn-inverse-bg: $dark-3;
  130. $btn-inverse-bg-hl: lighten($dark-3, 4%);
  131. $btn-inverse-text-color: $link-color;
  132. $btn-inverse-text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.1);
  133. $btn-link-color: $gray-3;
  134. $iconContainerBackground: $black;
  135. $btn-divider-left: $dark-4;
  136. $btn-divider-right: $dark-2;
  137. $btn-drag-image: '../img/grab_dark.svg';
  138. // Forms
  139. // -------------------------
  140. $input-bg: $input-black;
  141. $input-bg-disabled: $dark-3;
  142. $input-color: $gray-4;
  143. $input-border-color: $dark-3;
  144. $input-box-shadow: inset 1px 0px 0.3rem 0px rgba(150, 150, 150, 0.1);
  145. $input-border-focus: $input-border-color;
  146. $input-box-shadow-focus: rgba(102, 175, 233, 0.6);
  147. $input-color-placeholder: $gray-1 !default;
  148. $input-label-bg: $gray-blue;
  149. $input-label-border-color: $dark-3;
  150. $input-color-select-arrow: $white;
  151. // Input placeholder text color
  152. $placeholderText: darken($text-color, 25%);
  153. // Search
  154. $search-shadow: 0 0 30px 0 $black;
  155. $search-filter-box-bg: $gray-blue;
  156. // Typeahead
  157. $typeahead-shadow: 0 5px 10px 0 $black;
  158. $typeahead-selected-bg: $dark-4;
  159. $typeahead-selected-color: $yellow;
  160. // Dropdowns
  161. // -------------------------
  162. $dropdownBackground: $dark-3;
  163. $dropdownBorder: rgba(0, 0, 0, 0.2);
  164. $dropdownDividerTop: transparent;
  165. $dropdownDividerBottom: #444;
  166. $dropdownLinkColor: $text-color;
  167. $dropdownLinkColorHover: $white;
  168. $dropdownLinkColorActive: $white;
  169. $dropdownLinkBackgroundHover: $dark-4;
  170. // Horizontal forms & lists
  171. // -------------------------
  172. $horizontalComponentOffset: 180px;
  173. // Navbar
  174. // -------------------------
  175. $navbarHeight: 55px;
  176. $navbarBackground: $panel-bg;
  177. $navbarBorder: 1px solid $dark-3;
  178. $navbarShadow: 0 0 20px black;
  179. $navbarLinkColor: $gray-4;
  180. $navbarButtonBackground: $navbarBackground;
  181. $navbarButtonBackgroundHighlight: $body-bg;
  182. $navbar-button-border: #2f2f32;
  183. // Sidemenu
  184. // -------------------------
  185. $side-menu-bg: $black;
  186. $side-menu-bg-mobile: $side-menu-bg;
  187. $side-menu-item-hover-bg: $dark-2;
  188. $side-menu-shadow: 0 0 20px black;
  189. $side-menu-link-color: $link-color;
  190. // Menu dropdowns
  191. // -------------------------
  192. $menu-dropdown-bg: $body-bg;
  193. $menu-dropdown-hover-bg: $dark-2;
  194. $menu-dropdown-shadow: 5px 5px 20px -5px $black;
  195. // Tabs
  196. // -------------------------
  197. $tab-border-color: $dark-4;
  198. // Toolbar
  199. $toolbar-bg: $input-black;
  200. // Form states and alerts
  201. // -------------------------
  202. $warning-text-color: $warn;
  203. $error-text-color: #e84d4d;
  204. $success-text-color: #12d95a;
  205. $info-text-color: $blue-dark;
  206. $alert-error-bg: linear-gradient(90deg, #d44939, #e0603d);
  207. $alert-success-bg: linear-gradient(90deg, #3aa655, #47b274);
  208. $alert-warning-bg: linear-gradient(90deg, #d44939, #e0603d);
  209. $alert-info-bg: linear-gradient(100deg, #1a4552, #00374a);
  210. // popover
  211. $popover-bg: $page-bg;
  212. $popover-color: $text-color;
  213. $popover-border-color: $dark-4;
  214. $popover-shadow: 0 0 20px black;
  215. $popover-help-bg: $btn-secondary-bg;
  216. $popover-help-color: $text-color;
  217. $popover-error-bg: $btn-danger-bg;
  218. // Tooltips and popovers
  219. // -------------------------
  220. $tooltipColor: $popover-help-color;
  221. $tooltipArrowWidth: 5px;
  222. $tooltipLinkColor: $link-color;
  223. $graph-tooltip-bg: $dark-1;
  224. $tooltipBackground: $black;
  225. $tooltipColor: $gray-4;
  226. $tooltipArrowColor: $tooltipBackground;
  227. $tooltipBackgroundError: $brand-danger;
  228. // images
  229. $checkboxImageUrl: '../img/checkbox.png';
  230. // info box
  231. $info-box-border-color: darken($blue, 12%);
  232. // footer
  233. $footer-link-color: $gray-2;
  234. $footer-link-hover: $gray-4;
  235. // json-explorer
  236. $json-explorer-default-color: $text-color;
  237. $json-explorer-string-color: #23d662;
  238. $json-explorer-number-color: $variable;
  239. $json-explorer-boolean-color: $variable;
  240. $json-explorer-null-color: #eec97d;
  241. $json-explorer-undefined-color: rgb(239, 143, 190);
  242. $json-explorer-function-color: #fd48cb;
  243. $json-explorer-rotate-time: 100ms;
  244. $json-explorer-toggler-opacity: 0.6;
  245. $json-explorer-bracket-color: #9494ff;
  246. $json-explorer-key-color: #23a0db;
  247. $json-explorer-url-color: #027bff;
  248. // Changelog and diff
  249. // -------------------------
  250. $diff-label-bg: $dark-2;
  251. $diff-label-fg: $white;
  252. $diff-group-bg: $dark-4;
  253. $diff-arrow-color: $white;
  254. $diff-json-bg: $dark-4;
  255. $diff-json-fg: $gray-5;
  256. $diff-json-added: #457740;
  257. $diff-json-deleted: #a04338;
  258. $diff-json-old: #a04338;
  259. $diff-json-new: #457740;
  260. $diff-json-changed-fg: $gray-5;
  261. $diff-json-changed-num: $text-color;
  262. $diff-json-icon: $gray-7;
  263. //Submenu
  264. $variable-option-bg: $blue-dark;
  265. //Switch Slider
  266. // -------------------------
  267. $switch-bg: $input-bg;
  268. $switch-slider-color: $dark-2;
  269. $switch-slider-off-bg: $gray-1;
  270. $switch-slider-on-bg: linear-gradient(90deg, $orange, $red);
  271. $switch-slider-shadow: 0 0 3px black;
  272. //Checkbox
  273. // -------------------------
  274. $checkbox-bg: $dark-1;
  275. $checkbox-border: 1px solid $gray-1;
  276. $checkbox-checked-bg: linear-gradient(0deg, $orange, $red);
  277. $checkbox-color: $dark-1;
  278. //Panel Edit
  279. // -------------------------
  280. $panel-editor-shadow: 0 0 20px black;
  281. $panel-editor-side-menu-shadow: drop-shadow(0 0 10px $black);
  282. $panel-editor-viz-item-shadow: 0 0 8px $dark-5;
  283. $panel-editor-viz-item-border: 1px solid $dark-5;
  284. $panel-editor-viz-item-shadow-hover: 0 0 4px $blue;
  285. $panel-editor-viz-item-border-hover: 1px solid $blue;
  286. $panel-editor-viz-item-bg: $input-black;
  287. $panel-editor-tabs-line-color: #e3e3e3;
  288. $panel-editor-viz-item-bg-hover: darken($blue, 47%);
  289. $panel-options-group-border: none;
  290. $panel-options-group-header-bg: $gray-blue;
  291. $panel-grid-placeholder-bg: darken($blue, 47%);
  292. $panel-grid-placeholder-shadow: 0 0 4px $blue;
  293. // logs
  294. $logs-color-unkown: $gray-2;
  295. // toggle-group
  296. $button-toggle-group-btn-active-bg: linear-gradient(90deg, $orange, $red);
  297. $button-toggle-group-btn-active-shadow: inset 0 0 4px $black;
  298. $button-toggle-group-btn-seperator-border: 1px solid $page-bg;
  299. $vertical-resize-handle-bg: $dark-5;
  300. $vertical-resize-handle-dots: $gray-1;
  301. $vertical-resize-handle-dots-hover: $gray-2;