_variables.dark.generated.scss 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. /***
  2. * !!! THIS FILE WAS GENERATED AUTOMATICALLY !!!
  3. *
  4. * Do not modify this file!
  5. * - Edit grafana-ui/src/themes/dark.ts to regenerate
  6. * - Edit grafana-ui/src/themes/_variables.dark.scss.tmpl.ts to update template
  7. *
  8. * !!! THIS FILE WAS GENERATED AUTOMATICALLY !!!
  9. */
  10. // Global values
  11. // --------------------------------------------------
  12. $theme-name: dark;
  13. $colors-action-hover: rgba(204, 204, 220, 0.16);
  14. $colors-action-selected: rgba(204, 204, 220, 0.12);
  15. // New Colors
  16. // -------------------------
  17. $blue-light: #6E9FFF;
  18. $blue-base: #3D71D9;
  19. $blue-shade: rgb(90, 134, 222);
  20. $red-base: #D10E5C;
  21. $red-shade: rgb(215, 50, 116);
  22. $green-base: #1A7F4B;
  23. $green-shade: rgb(60, 146, 102);
  24. $orange-dark: #ff780a;
  25. $gray98: #f7f8fa;
  26. $gray95: #e9edf2;
  27. $gray85: #c7d0d9;
  28. $gray70: #9fa7b3;
  29. $gray60: #7b8087;
  30. $gray33: #464c54;
  31. $gray25: #2c3235;
  32. $gray15: #202226;
  33. $gray10: #141619;
  34. $gray05: #0b0c0e;
  35. // Grays
  36. // -------------------------
  37. $black: #000000;
  38. $dark-1: #141414;
  39. $dark-2: #161719;
  40. $dark-3: #1f1f20;
  41. $dark-4: #212124;
  42. $dark-5: #222426;
  43. $dark-6: #262628;
  44. $dark-7: #292a2d;
  45. $dark-8: #2f2f32;
  46. $dark-9: #343436;
  47. $dark-10: #424345;
  48. $gray-1: #555555;
  49. $gray-2: #8e8e8e;
  50. $gray-3: #b3b3b3;
  51. $gray-4: #d8d9da;
  52. $gray-5: #ececec;
  53. $gray-6: #f4f5f8;
  54. $white: #ffffff;
  55. $layer0: #111217;
  56. $layer1: #181b1f;
  57. $layer2: #22252b;
  58. $divider: rgba(204, 204, 220, 0.07);
  59. $border0: rgba(204, 204, 220, 0.07);
  60. $border1: rgba(204, 204, 220, 0.15);
  61. // Accent colors
  62. // -------------------------
  63. $blue: #33a2e5;
  64. $red: $red-base;
  65. $yellow: #ecbb13;
  66. $orange: #eb7b18;
  67. $purple: #9933cc;
  68. $variable: #6E9FFF;
  69. $brand-primary: #eb7b18;
  70. $brand-success: #1A7F4B;
  71. $brand-warning: #F5B73D;
  72. $brand-danger: #D10E5C;
  73. $query-red: #FF5286;
  74. $query-green: #6CCF8E;
  75. $query-purple: #fe85fc;
  76. $query-orange: #eb7b18;
  77. // Status colors
  78. // -------------------------¨
  79. $online: #6CCF8E;
  80. $warn: #F8D06B;
  81. $critical: #FF5286;
  82. // Scaffolding
  83. // -------------------------
  84. $body-bg: #111217;
  85. $page-bg: #111217;
  86. $dashboard-bg: #111217;
  87. $text-color-strong: #FFFFFF;
  88. $text-color: rgb(204, 204, 220);
  89. $text-color-semi-weak: rgba(204, 204, 220, 0.65);
  90. $text-color-weak: rgba(204, 204, 220, 0.65);
  91. $text-color-faint: rgba(204, 204, 220, 0.6);
  92. $text-color-emphasis: #FFFFFF;
  93. $text-blue: #6E9FFF;
  94. $text-shadow-faint: 1px 1px 4px rgb(45, 45, 45);
  95. $textShadow: none;
  96. // gradients
  97. $brand-gradient-horizontal: linear-gradient(270deg, #F55F3E 0%, #FF8833 100%);
  98. $brand-gradient-vertical: linear-gradient(0.01deg, #F55F3E 0.01%, #FF8833 99.99%);
  99. // Links
  100. // -------------------------
  101. $link-color: rgb(204, 204, 220);
  102. $link-color-disabled: rgba(204, 204, 220, 0.6);
  103. $link-hover-color: #FFFFFF;
  104. $external-link-color: #6E9FFF;
  105. // Typography
  106. // -------------------------
  107. $headings-color: rgb(204, 204, 220);
  108. $abbr-border-color: $gray-2 !default;
  109. $text-muted: $text-color-weak;
  110. $hr-border-color: $dark-9;
  111. // Panel
  112. // -------------------------
  113. $panel-bg: #181b1f;
  114. $panel-border: 1px solid rgba(204, 204, 220, 0.07);
  115. $panel-header-hover-bg: rgba(204, 204, 220, 0.16);
  116. $panel-box-shadow: none;
  117. $panel-corner: $panel-bg;
  118. // page header
  119. $page-header-bg: #111217;
  120. $page-header-shadow: inset 0px -4px 14px $dark-3;
  121. $page-header-border-color: #111217;
  122. $divider-border-color: $gray-1;
  123. // Graphite Target Editor
  124. $tight-form-func-bg: #22252b;
  125. $tight-form-func-highlight-bg: rgb(40, 43, 49);
  126. $modal-backdrop-bg: rgba(204, 204, 220, 0.16);
  127. $code-tag-bg: $dark-1;
  128. $code-tag-border: $dark-9;
  129. // cards
  130. $card-background: #22252b;
  131. $card-background-hover: rgb(40, 43, 49);
  132. $card-shadow: none;
  133. // Lists
  134. $list-item-bg: $card-background;
  135. $list-item-hover-bg: $card-background-hover;
  136. $list-item-shadow: $card-shadow;
  137. $empty-list-cta-bg: #22252b;
  138. // Scrollbars
  139. $scrollbarBackground: #404357;
  140. $scrollbarBackground2: $dark-10;
  141. $scrollbarBorder: black;
  142. // Tables
  143. // -------------------------
  144. $table-bg-accent: #22252b;
  145. $table-border: rgba(204, 204, 220, 0.15);
  146. $table-bg-odd: rgb(28, 31, 35);
  147. $table-bg-hover: rgb(35, 38, 42);
  148. // Buttons
  149. // -------------------------
  150. $btn-primary-bg: $blue-base;
  151. $btn-primary-bg-hl: $blue-shade;
  152. $btn-secondary-bg: $dark-6;
  153. $btn-secondary-bg-hl: lighten($dark-6, 4%);
  154. $btn-success-bg: $green-base;
  155. $btn-success-bg-hl: $green-shade;
  156. $btn-danger-bg: $red-base;
  157. $btn-danger-bg-hl: $red-shade;
  158. $btn-inverse-bg: $dark-6;
  159. $btn-inverse-bg-hl: lighten($dark-6, 4%);
  160. $btn-inverse-text-color: $link-color;
  161. $btn-inverse-text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.1);
  162. $btn-link-color: $gray-3;
  163. $iconContainerBackground: $black;
  164. $btn-divider-left: $dark-9;
  165. $btn-divider-right: $dark-3;
  166. $btn-drag-image: '../img/grab_dark.svg';
  167. $navbar-btn-gicon-brightness: brightness(0.5);
  168. $btn-active-box-shadow: 0px 0px 4px rgba(255, 120, 10, 0.5);
  169. // Forms
  170. // -------------------------
  171. $input-bg: #111217;
  172. $input-bg-disabled: rgba(204, 204, 220, 0.04);
  173. $input-color: rgb(204, 204, 220);
  174. $input-border-color: rgba(204, 204, 220, 0.15);
  175. $input-box-shadow: none;
  176. $input-border-focus: #6E9FFF;
  177. $input-box-shadow-focus: #6E9FFF !default;
  178. $input-color-placeholder: rgba(204, 204, 220, 0.6);
  179. $input-label-bg: #22252b;
  180. $input-color-select-arrow: $white;
  181. // Search
  182. $search-shadow: 0 0 30px 0 $black;
  183. // Typeahead
  184. $typeahead-shadow: 0 5px 10px 0 $black;
  185. $typeahead-selected-bg: $dark-9;
  186. $typeahead-selected-color: $yellow;
  187. // Dropdowns
  188. // -------------------------
  189. $dropdownBackground: #181b1f;
  190. $dropdownBorder: rgba(204, 204, 220, 0.07);
  191. $dropdownDividerTop: rgba(204, 204, 220, 0.07);
  192. $dropdownDividerBottom: rgba(204, 204, 220, 0.07);
  193. $dropdownShadow: 0px 8px 24px rgb(1,4,9);
  194. $dropdownLinkColor: $link-color;
  195. $dropdownLinkColorHover: $white;
  196. $dropdownLinkColorActive: $white;
  197. $dropdownLinkBackgroundHover: $dark-9;
  198. // Horizontal forms & lists
  199. // -------------------------
  200. $horizontalComponentOffset: 180px;
  201. // Navbar
  202. // -------------------------
  203. $navbarHeight: 55px;
  204. $navbarBorder: 1px solid $dark-6;
  205. // Sidemenu
  206. // -------------------------
  207. $side-menu-bg: $panel-bg;
  208. $side-menu-bg-mobile: $panel-bg;
  209. $side-menu-border: none;
  210. $side-menu-item-hover-bg: #22252b;
  211. $side-menu-shadow: 0 0 30px #111;
  212. $side-menu-icon-color: #9fa7b3;
  213. $side-menu-header-color: rgb(204, 204, 220);
  214. // Menu dropdowns
  215. // -------------------------
  216. $menu-dropdown-bg: #181b1f;
  217. $menu-dropdown-hover-bg: rgba(204, 204, 220, 0.16);
  218. $menu-dropdown-shadow: 0px 8px 24px rgb(1,4,9);
  219. // Tabs
  220. // -------------------------
  221. $tab-border-color: $dark-9;
  222. // Form states and alerts
  223. // -------------------------
  224. $warning-text-color: #F8D06B;
  225. $error-text-color: #FF5286;
  226. $success-text-color: #6CCF8E;
  227. $alert-error-bg: #D10E5C;
  228. $alert-success-bg: #1A7F4B;
  229. $alert-warning-bg: #F5B73D;
  230. $alert-info-bg: #F5B73D;
  231. // Tooltips and popovers
  232. // -------------------------
  233. $tooltipArrowWidth: 5px;
  234. $tooltipLinkColor: $link-color;
  235. $tooltipExternalLinkColor: $external-link-color;
  236. $graph-tooltip-bg: $dark-1;
  237. $tooltipBackground: #22252b;
  238. $tooltipColor: rgb(204, 204, 220);
  239. $tooltipArrowColor: #22252b;
  240. $tooltipBackgroundError: #D10E5C;
  241. $tooltipShadow: 0px 4px 8px rgba(24, 26, 27, 0.75);
  242. $popover-bg: #181b1f;
  243. $popover-color: rgb(204, 204, 220);
  244. $popover-border-color: rgba(204, 204, 220, 0.07);
  245. $popover-header-bg: #22252b;
  246. $popover-shadow: 0px 8px 24px rgb(1,4,9);
  247. $popover-help-bg: $tooltipBackground;
  248. $popover-help-color: $text-color;
  249. $popover-error-bg: $btn-danger-bg;
  250. $popover-code-bg: $popover-bg;
  251. $popover-code-boxshadow: $tooltipShadow;
  252. // images
  253. $checkboxImageUrl: '../img/checkbox.png';
  254. // info box
  255. $info-box-border-color: $blue-base;
  256. // footer
  257. $footer-link-color: $gray-2;
  258. $footer-link-hover: $gray-4;
  259. // json-explorer
  260. $json-explorer-default-color: $text-color;
  261. $json-explorer-string-color: #23d662;
  262. $json-explorer-number-color: $variable;
  263. $json-explorer-boolean-color: $variable;
  264. $json-explorer-null-color: #eec97d;
  265. $json-explorer-undefined-color: rgb(239, 143, 190);
  266. $json-explorer-function-color: #fd48cb;
  267. $json-explorer-rotate-time: 100ms;
  268. $json-explorer-toggler-opacity: 0.6;
  269. $json-explorer-bracket-color: #9494ff;
  270. $json-explorer-key-color: #23a0db;
  271. $json-explorer-url-color: #027bff;
  272. // Changelog and diff
  273. // -------------------------
  274. $diff-label-bg: rgba(204, 204, 220, 0.16);
  275. $diff-label-fg: $white;
  276. $diff-group-bg: #22252b;
  277. $diff-arrow-color: $white;
  278. $diff-json-bg: #22252b;
  279. $diff-json-fg: rgb(204, 204, 220);
  280. $diff-json-added: $blue-shade;
  281. $diff-json-deleted: $red-shade;
  282. $diff-json-old: #a04338;
  283. $diff-json-new: #457740;
  284. $diff-json-changed-fg: $gray-5;
  285. $diff-json-changed-num: $text-color;
  286. $diff-json-icon: $gray-5;
  287. //Submenu
  288. $variable-option-bg: $dropdownLinkBackgroundHover;
  289. //Switch Slider
  290. // -------------------------
  291. $switch-bg: $input-bg;
  292. $switch-slider-color: $dark-3;
  293. $switch-slider-off-bg: $gray-1;
  294. $switch-slider-on-bg: #5794f2;
  295. $switch-slider-shadow: 0 0 3px black;
  296. //Checkbox
  297. // -------------------------
  298. $checkbox-bg: $dark-1;
  299. $checkbox-border: 1px solid $gray-1;
  300. $checkbox-checked-bg: linear-gradient(0deg, #eb7b18, #d44a3a);
  301. $checkbox-color: $dark-1;
  302. //Panel Edit
  303. // -------------------------
  304. $panel-editor-shadow: 0 0 20px black;
  305. $panel-editor-side-menu-shadow: drop-shadow(0 0 10px $black);
  306. $panel-editor-viz-item-shadow: 0 0 8px $dark-10;
  307. $panel-editor-viz-item-border: 1px solid $dark-10;
  308. $panel-editor-viz-item-shadow-hover: 0 0 4px $blue-light;
  309. $panel-editor-viz-item-border-hover: 1px solid $blue-light;
  310. $panel-editor-viz-item-bg: $input-bg;
  311. $panel-editor-tabs-line-color: #e3e3e3;
  312. $panel-editor-viz-item-bg-hover: darken($blue-base, 46%);
  313. $panel-grid-placeholder-bg: darken(#1f60c4, 30%);
  314. $panel-grid-placeholder-shadow: 0 0 4px #3274d9;
  315. // logs
  316. $logs-color-unknown: $gray-2;
  317. // toggle-group
  318. $button-toggle-group-btn-active-bg: linear-gradient(90deg, #eb7b18, #d44a3a);
  319. $button-toggle-group-btn-active-shadow: inset 0 0 4px $black;
  320. $button-toggle-group-btn-separator-border: 1px solid $dark-2;
  321. $vertical-resize-handle-bg: $dark-10;
  322. $vertical-resize-handle-dots: $gray-1;
  323. $vertical-resize-handle-dots-hover: $gray-2;
  324. // Calendar
  325. $calendar-bg-days: $input-bg;
  326. $calendar-bg-now: $dark-10;