_variables.dark.scss 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  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: $red;
  40. $query-green: $green;
  41. $query-purple: $purple;
  42. $query-orange: $orange;
  43. // Status colors
  44. // -------------------------
  45. $online: #10a345;
  46. $warn: #f79520;
  47. $critical: #ed2e18;
  48. // Scaffolding
  49. // -------------------------
  50. $body-bg: rgb(23, 24, 25);
  51. $page-bg: rgb(22, 23, 25);
  52. $body-color: $gray-4;
  53. $text-color: $gray-4;
  54. $text-color-strong: $white;
  55. $text-color-weak: $gray-2;
  56. $text-color-faint: $dark-5;
  57. $text-color-emphasis: $gray-5;
  58. $text-shadow-strong: 1px 1px 4px $black;
  59. $text-shadow-faint: 1px 1px 4px rgb(45, 45, 45);
  60. // gradients
  61. $brand-gradient: linear-gradient(
  62. to right,
  63. rgba(255, 213, 0, 0.7) 0%,
  64. rgba(255, 68, 0, 0.7) 99%,
  65. rgba(255, 68, 0, 0.7) 100%
  66. );
  67. $page-gradient: linear-gradient(180deg, #222426 10px, rgb(22, 23, 25) 100px);
  68. // Links
  69. // -------------------------
  70. $link-color: darken($white, 11%);
  71. $link-color-disabled: darken($link-color, 30%);
  72. $link-hover-color: $white;
  73. $external-link-color: $blue;
  74. // Typography
  75. // -------------------------
  76. $headings-color: darken($white, 11%);
  77. $abbr-border-color: $gray-3 !default;
  78. $text-muted: $text-color-weak;
  79. $hr-border-color: rgba(0, 0, 0, 0.1) !default;
  80. // Panel
  81. // -------------------------
  82. $panel-bg: #212124;
  83. $panel-border-color: $dark-1;
  84. $panel-border: solid 1px $panel-border-color;
  85. $panel-header-hover-bg: $dark-4;
  86. // page header
  87. $page-header-bg: linear-gradient(90deg, #292a2d, black);
  88. $page-header-shadow: inset 0px -4px 14px $dark-2;
  89. $page-header-border-color: $dark-4;
  90. $divider-border-color: #555;
  91. // Graphite Target Editor
  92. $tight-form-bg: $dark-3;
  93. $tight-form-func-bg: #333334;
  94. $tight-form-func-highlight-bg: #444445;
  95. $modal-backdrop-bg: #353c42;
  96. $code-tag-bg: $dark-1;
  97. $code-tag-border: $dark-4;
  98. // cards
  99. $card-background: linear-gradient(135deg, #2f2f32, #262628);
  100. $card-background-hover: linear-gradient(135deg, #343436, #262628);
  101. $card-shadow: -1px -1px 0 0 hsla(0, 0%, 100%, 0.1), 1px 1px 0 0 rgba(0, 0, 0, 0.3);
  102. // Lists
  103. $list-item-bg: $card-background;
  104. $list-item-hover-bg: lighten($gray-blue, 2%);
  105. $list-item-link-color: $text-color;
  106. $list-item-shadow: $card-shadow;
  107. $empty-list-cta-bg: $gray-blue;
  108. // Scrollbars
  109. $scrollbarBackground: #404357;
  110. $scrollbarBackground2: #3a3a3a;
  111. $scrollbarBorder: black;
  112. // Tables
  113. // -------------------------
  114. $table-bg: transparent; // overall background-color
  115. $table-bg-accent: $dark-3; // for striping
  116. $table-bg-hover: $dark-4; // for hover
  117. $table-border: $dark-3; // table and cell border
  118. $table-bg-odd: $dark-2;
  119. $table-bg-hover: $dark-3;
  120. // Buttons
  121. // -------------------------
  122. $btn-primary-bg: #ff6600;
  123. $btn-primary-bg-hl: #bc3e06;
  124. $btn-secondary-bg: $blue-dark;
  125. $btn-secondary-bg-hl: lighten($blue-dark, 5%);
  126. $btn-success-bg: $green;
  127. $btn-success-bg-hl: darken($green, 6%);
  128. $btn-warning-bg: $brand-warning;
  129. $btn-warning-bg-hl: lighten($brand-warning, 8%);
  130. $btn-danger-bg: $red;
  131. $btn-danger-bg-hl: darken($red, 8%);
  132. $btn-inverse-bg: $dark-3;
  133. $btn-inverse-bg-hl: lighten($dark-3, 4%);
  134. $btn-inverse-text-color: $link-color;
  135. $btn-inverse-text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.1);
  136. $btn-active-bg: $gray-4;
  137. $btn-active-text-color: $blue-dark;
  138. $btn-link-color: $gray-3;
  139. $iconContainerBackground: $black;
  140. $btn-divider-left: $dark-4;
  141. $btn-divider-right: $dark-2;
  142. $btn-drag-image: '../img/grab_dark.svg';
  143. // Forms
  144. // -------------------------
  145. $input-bg: $input-black;
  146. $input-bg-disabled: $dark-3;
  147. $input-color: $gray-4;
  148. $input-border-color: $dark-3;
  149. $input-box-shadow: inset 1px 0px 0.3rem 0px rgba(150, 150, 150, 0.1);
  150. $input-border-focus: $input-border-color;
  151. $input-box-shadow-focus: rgba(102, 175, 233, 0.6);
  152. $input-color-placeholder: $gray-1 !default;
  153. $input-label-bg: $gray-blue;
  154. $input-label-border-color: $dark-3;
  155. $input-color-select-arrow: $white;
  156. // Search
  157. $search-shadow: 0 0 30px 0 $black;
  158. $search-filter-box-bg: $gray-blue;
  159. // Typeahead
  160. $typeahead-shadow: 0 5px 10px 0 $black;
  161. $typeahead-selected-bg: $dark-4;
  162. $typeahead-selected-color: $blue;
  163. // Dropdowns
  164. // -------------------------
  165. $dropdownBackground: $dark-3;
  166. $dropdownBorder: rgba(0, 0, 0, 0.2);
  167. $dropdownDividerTop: transparent;
  168. $dropdownDividerBottom: #444;
  169. $dropdownDivider: $dropdownDividerBottom;
  170. $dropdownLinkColor: $text-color;
  171. $dropdownLinkColorHover: $white;
  172. $dropdownLinkColorActive: $white;
  173. $dropdownLinkBackgroundActive: $dark-4;
  174. $dropdownLinkBackgroundHover: $dark-4;
  175. // COMPONENT VARIABLES
  176. // --------------------------------------------------
  177. // -------------------------
  178. $placeholderText: darken($text-color, 25%);
  179. // Horizontal forms & lists
  180. // -------------------------
  181. $horizontalComponentOffset: 180px;
  182. // Wells
  183. // -------------------------
  184. $navbarHeight: 55px;
  185. $navbarBackground: $panel-bg;
  186. $navbarBorder: 1px solid $dark-3;
  187. $navbarShadow: 0 0 20px black;
  188. $navbarLinkColor: $gray-4;
  189. $navbarButtonBackground: $navbarBackground;
  190. $navbarButtonBackgroundHighlight: $body-bg;
  191. $navbar-button-border: #2f2f32;
  192. // Sidemenu
  193. // -------------------------
  194. $side-menu-bg: $black;
  195. $side-menu-bg-mobile: $side-menu-bg;
  196. $side-menu-item-hover-bg: $dark-2;
  197. $side-menu-shadow: 0 0 20px black;
  198. $side-menu-link-color: $link-color;
  199. // Menu dropdowns
  200. // -------------------------
  201. $menu-dropdown-bg: $body-bg;
  202. $menu-dropdown-hover-bg: $dark-2;
  203. $menu-dropdown-shadow: 5px 5px 20px -5px $black;
  204. // Breadcrumb
  205. // -------------------------
  206. // Tabs
  207. // -------------------------
  208. $tab-border-color: $dark-4;
  209. // Pagination
  210. // -------------------------
  211. // Form states and alerts
  212. // -------------------------
  213. $warning-text-color: $warn;
  214. $error-text-color: #e84d4d;
  215. $success-text-color: #12d95a;
  216. $info-text-color: $blue-dark;
  217. $alert-error-bg: linear-gradient(90deg, #d44939, #e0603d);
  218. $alert-success-bg: linear-gradient(90deg, #3aa655, #47b274);
  219. $alert-warning-bg: linear-gradient(90deg, #d44939, #e0603d);
  220. $alert-info-bg: linear-gradient(100deg, #1a4552, #00374a);
  221. // popover
  222. $popover-bg: $page-bg;
  223. $popover-color: $text-color;
  224. $popover-border-color: $dark-4;
  225. $popover-shadow: 0 0 20px black;
  226. $popover-help-bg: $btn-secondary-bg;
  227. $popover-help-color: $text-color;
  228. $popover-error-bg: $btn-danger-bg;
  229. // Tooltips and popovers
  230. // -------------------------
  231. $tooltipColor: $popover-help-color;
  232. $tooltipBackground: $popover-help-bg;
  233. $tooltipArrowWidth: 5px;
  234. $tooltipArrowColor: $tooltipBackground;
  235. $tooltipLinkColor: $link-color;
  236. $graph-tooltip-bg: $dark-1;
  237. // images
  238. $checkboxImageUrl: '../img/checkbox.png';
  239. // info box
  240. $info-box-border-color: darken($blue, 12%);
  241. // footer
  242. $footer-link-color: $gray-2;
  243. $footer-link-hover: $gray-4;
  244. // json-explorer
  245. $json-explorer-default-color: $text-color;
  246. $json-explorer-string-color: #23d662;
  247. $json-explorer-number-color: $variable;
  248. $json-explorer-boolean-color: $variable;
  249. $json-explorer-null-color: #eec97d;
  250. $json-explorer-undefined-color: rgb(239, 143, 190);
  251. $json-explorer-function-color: #fd48cb;
  252. $json-explorer-rotate-time: 100ms;
  253. $json-explorer-toggler-opacity: 0.6;
  254. $json-explorer-bracket-color: #9494ff;
  255. $json-explorer-key-color: #23a0db;
  256. $json-explorer-url-color: #027bff;
  257. // Changelog and diff
  258. // -------------------------
  259. $diff-label-bg: $dark-2;
  260. $diff-label-fg: $white;
  261. $diff-group-bg: $dark-4;
  262. $diff-arrow-color: $white;
  263. $diff-json-bg: $dark-4;
  264. $diff-json-fg: $gray-5;
  265. $diff-json-added: #457740;
  266. $diff-json-deleted: #a04338;
  267. $diff-json-old: #a04338;
  268. $diff-json-new: #457740;
  269. $diff-json-changed-fg: $gray-5;
  270. $diff-json-changed-num: $text-color;
  271. $diff-json-icon: $gray-7;
  272. //Submenu
  273. $variable-option-bg: $blue-dark;