_variables.dark.scss 9.9 KB

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