_variables.light.generated.scss 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. /***
  2. * !!! THIS FILE WAS GENERATED AUTOMATICALLY !!!
  3. *
  4. * Do not modify this file!
  5. * - Edit grafana-ui/src/themes/light.ts to regenerate
  6. * - Edit grafana-ui/src/themes/_variable.light.scss.tmpl.ts to update template
  7. *
  8. * !!! THIS FILE WAS GENERATED AUTOMATICALLY !!!
  9. */
  10. // Global values
  11. // --------------------------------------------------
  12. $theme-name: light;
  13. // New Colors
  14. // -------------------------
  15. $blue-faint: #f5f9ff;
  16. $blue-light: #5794f2;
  17. $blue-base: #3274d9;
  18. $blue-shade: #1f60c4;
  19. $red-base: #e02f44;
  20. $red-shade: #c4162a;
  21. $green-base: #3eb15b;
  22. $green-shade: #369b4f;
  23. // Grays
  24. // -------------------------
  25. $black: #000000;
  26. $dark-1: #1e2028;
  27. $dark-2: #41444b;
  28. $dark-4: #35373f;
  29. $dark-10: #424345;
  30. $gray-1: #52545c;
  31. $gray-2: #767980;
  32. $gray-3: #acb6bf;
  33. $gray-4: #c7d0d9;
  34. $gray-5: #dde4ed;
  35. $gray-6: #e9edf2;
  36. $gray-7: #f7f8fa;
  37. $white: #ffffff;
  38. // Accent colors
  39. // -------------------------
  40. $blue: #0083b3;
  41. $red: $red-base;
  42. $yellow: #ff851b;
  43. $orange: #ff7941;
  44. $purple: #9954bb;
  45. $variable: #0083b3;
  46. $brand-primary: #ff7941;
  47. $brand-success: #3eb15b;
  48. $brand-warning: #ff7941;
  49. $brand-danger: #e02f44;
  50. $query-red: #e02f44;
  51. $query-green: #3eb15b;
  52. $query-purple: #9954bb;
  53. $query-orange: #ff7941;
  54. $query-keyword: #3274d9;
  55. // Status colors
  56. // -------------------------
  57. $online: #369b4f;
  58. $warn: #f79520;
  59. $critical: #c4162a;
  60. // Scaffolding
  61. // -------------------------
  62. $body-bg: #f7f8fa;
  63. $page-bg: #f7f8fa;
  64. $body-color: #52545c;
  65. $text-color: #52545c;
  66. $text-color-strong: #41444b;
  67. $text-color-weak: #767980;
  68. $text-color-faint: #35373f;
  69. $text-color-emphasis: #41444b;
  70. $text-shadow-faint: none;
  71. // gradients
  72. $brand-gradient-horizontal: linear-gradient(to right, #f05a28 30%, #fbca0a 99%);
  73. $brand-gradient-vertical: linear-gradient(#f05a28 30%, #fbca0a 99%);
  74. $page-gradient: linear-gradient(180deg, $white 10px, $gray-7 100px);
  75. $edit-gradient: linear-gradient(-60deg, $gray-7, #f5f6f9 70%, $gray-7 98%);
  76. // Links
  77. // -------------------------
  78. $link-color: #52545c;
  79. $link-color-disabled: #acb6bf;
  80. $link-hover-color: #1e2028;
  81. $external-link-color: #5794f2;
  82. // Typography
  83. // -------------------------
  84. $headings-color: #52545c;
  85. $abbr-border-color: $gray-2 !default;
  86. $text-muted: $text-color-weak;
  87. $hr-border-color: $gray-4 !default;
  88. // Panel
  89. // -------------------------
  90. $panel-bg: $white;
  91. $panel-border: solid 1px $gray-5;
  92. $panel-header-hover-bg: $gray-6;
  93. $panel-corner: $gray-4;
  94. // Page header
  95. $page-header-bg: linear-gradient(90deg, $white, $gray-7);
  96. $page-header-shadow: inset 0px -3px 10px $gray-6;
  97. $page-header-border-color: $gray-4;
  98. $divider-border-color: $gray-2;
  99. // Graphite Target Editor
  100. $tight-form-func-bg: $gray-5;
  101. $tight-form-func-highlight-bg: $gray-6;
  102. $modal-backdrop-bg: $body-bg;
  103. $code-tag-bg: $gray-6;
  104. $code-tag-border: $gray-4;
  105. // cards
  106. $card-background: linear-gradient(135deg, $gray-6, $gray-5);
  107. $card-background-hover: linear-gradient(135deg, $gray-5, $gray-6);
  108. $card-shadow: -1px -1px 0 0 hsla(0, 0%, 100%, 0.1), 1px 1px 0 0 rgba(0, 0, 0, 0.1);
  109. // Lists
  110. $list-item-bg: linear-gradient(135deg, $gray-5, $gray-6); //$card-background;
  111. $list-item-hover-bg: darken($gray-5, 5%);
  112. $list-item-link-color: $text-color;
  113. $list-item-shadow: $card-shadow;
  114. $empty-list-cta-bg: $gray-6;
  115. // Scrollbars
  116. $scrollbarBackground: $gray-4;
  117. $scrollbarBackground2: $gray-4;
  118. $scrollbarBorder: $gray-7;
  119. // Tables
  120. // -------------------------
  121. $table-bg-accent: $gray-5; // for striping
  122. $table-border: $gray-3; // table and cell border
  123. $table-bg-odd: $gray-6;
  124. $table-bg-hover: $gray-5;
  125. // Buttons
  126. // -------------------------
  127. $btn-primary-bg: $green-base;
  128. $btn-primary-bg-hl: $green-shade;
  129. $btn-secondary-bg: $blue-base;
  130. $btn-secondary-bg-hl: $blue-shade;
  131. $btn-success-bg: $green-base;
  132. $btn-success-bg-hl: $green-shade;
  133. $btn-danger-bg: $red-base;
  134. $btn-danger-bg-hl: $red-shade;
  135. $btn-inverse-bg: $gray-5;
  136. $btn-inverse-bg-hl: darken($gray-5, 5%);
  137. $btn-inverse-bg-hl: $gray-4;
  138. $btn-inverse-text-color: $gray-1;
  139. $btn-inverse-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  140. $btn-link-color: $gray-1;
  141. $iconContainerBackground: $white;
  142. $btn-divider-left: $gray-4;
  143. $btn-divider-right: $gray-7;
  144. $btn-drag-image: '../img/grab_light.svg';
  145. $navbar-btn-gicon-brightness: brightness(1.5);
  146. // Forms
  147. // -------------------------
  148. $input-bg: $white;
  149. $input-bg-disabled: $gray-5;
  150. $input-color: $dark-2;
  151. $input-border-color: $gray-5;
  152. $input-box-shadow: none;
  153. $input-border-focus: $gray-5 !default;
  154. $input-box-shadow-focus: $blue-light !default;
  155. $input-color-placeholder: $gray-4 !default;
  156. $input-label-bg: $gray-5;
  157. $input-label-border-color: $gray-5;
  158. $input-color-select-arrow: $gray-1;
  159. // Input placeholder text color
  160. $placeholderText: $gray-2;
  161. // search
  162. $search-shadow: 0 1px 5px 0 $gray-5;
  163. $search-filter-box-bg: $gray-7;
  164. // Typeahead
  165. $typeahead-shadow: 0 5px 10px 0 $gray-5;
  166. $typeahead-selected-bg: $gray-6;
  167. $typeahead-selected-color: $yellow;
  168. // Dropdowns
  169. // -------------------------
  170. $dropdownBackground: $white;
  171. $dropdownBorder: $gray-4;
  172. $dropdownDividerTop: $gray-6;
  173. $dropdownDividerBottom: $white;
  174. $dropdownLinkColor: $dark-2;
  175. $dropdownLinkColorHover: $link-color;
  176. $dropdownLinkColorActive: $link-color;
  177. $dropdownLinkBackgroundHover: $gray-6;
  178. // Horizontal forms & lists
  179. // -------------------------
  180. $horizontalComponentOffset: 180px;
  181. // Navbar
  182. // -------------------------
  183. $navbarHeight: 52px;
  184. $navbarBackground: $white;
  185. $navbarBorder: 1px solid $gray-5;
  186. $navbarButtonBackground: lighten($navbarBackground, 3%);
  187. $navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%);
  188. $navbar-button-border: $gray-4;
  189. // Sidemenu
  190. // -------------------------
  191. $side-menu-bg: $dark-1;
  192. $side-menu-bg-mobile: rgba(0, 0, 0, 0); //$gray-6;
  193. $side-menu-item-hover-bg: $gray-1;
  194. $side-menu-shadow: 5px 0px 10px -5px $gray-1;
  195. $side-menu-link-color: $gray-6;
  196. // Menu dropdowns
  197. // -------------------------
  198. $menu-dropdown-bg: $gray-7;
  199. $menu-dropdown-hover-bg: $gray-6;
  200. $menu-dropdown-shadow: 5px 5px 10px -5px $gray-1;
  201. // Tabs
  202. // -------------------------
  203. $tab-border-color: $gray-5;
  204. // Toolbar
  205. $toolbar-bg: white;
  206. // Form states and alerts
  207. // -------------------------
  208. $warning-text-color: lighten($orange, 10%);
  209. $error-text-color: $red-shade;
  210. $success-text-color: lighten($green-base, 10%);
  211. $alert-error-bg: linear-gradient(90deg, $red-base, $red-shade);
  212. $alert-success-bg: linear-gradient(90deg, $green-base, $green-shade);
  213. $alert-warning-bg: linear-gradient(90deg, $red-base, $red-shade);
  214. $alert-info-bg: linear-gradient(100deg, $blue-base, $blue-shade);
  215. // popover
  216. $popover-bg: $page-bg;
  217. $popover-color: $text-color;
  218. $popover-border-color: $gray-5;
  219. $popover-header-bg: $gray-5;
  220. $popover-shadow: 0 0 20px $white;
  221. $popover-help-bg: $btn-secondary-bg;
  222. $popover-help-color: $gray-6;
  223. $popover-error-bg: $btn-danger-bg;
  224. // Tooltips and popovers
  225. // -------------------------
  226. $tooltipColor: $popover-help-color;
  227. $tooltipArrowWidth: 5px;
  228. $tooltipLinkColor: lighten($popover-help-color, 5%);
  229. $graph-tooltip-bg: $gray-5;
  230. $tooltipBackground: $gray-1;
  231. $tooltipColor: $gray-7;
  232. $tooltipArrowColor: $tooltipBackground; // Used by Angular tooltip
  233. $tooltipBackgroundError: $brand-danger;
  234. // images
  235. $checkboxImageUrl: '../img/checkbox_white.png';
  236. // info box
  237. $info-box-border-color: $blue-base;
  238. // footer
  239. $footer-link-color: $gray-3;
  240. $footer-link-hover: $dark-2;
  241. // json explorer
  242. $json-explorer-default-color: black;
  243. $json-explorer-string-color: green;
  244. $json-explorer-number-color: $blue-base;
  245. $json-explorer-boolean-color: $red-base;
  246. $json-explorer-null-color: #855a00;
  247. $json-explorer-undefined-color: rgb(202, 11, 105);
  248. $json-explorer-function-color: #ff20ed;
  249. $json-explorer-rotate-time: 100ms;
  250. $json-explorer-toggler-opacity: 0.6;
  251. $json-explorer-bracket-color: $blue-base;
  252. $json-explorer-key-color: #00008b;
  253. $json-explorer-url-color: $blue-base;
  254. // Changelog and diff
  255. // -------------------------
  256. $diff-label-bg: $gray-7;
  257. $diff-label-fg: $gray-2;
  258. $diff-arrow-color: $dark-2;
  259. $diff-group-bg: $gray-6;
  260. $diff-json-bg: $gray-6;
  261. $diff-json-fg: $gray-1;
  262. $diff-json-added: $blue-shade;
  263. $diff-json-deleted: $red-shade;
  264. $diff-json-old: #5a372a;
  265. $diff-json-new: #664e33;
  266. $diff-json-changed-fg: $gray-7;
  267. $diff-json-changed-num: $gray-4;
  268. $diff-json-icon: $gray-4;
  269. //Submenu
  270. $variable-option-bg: $dropdownLinkBackgroundHover;
  271. //Switch Slider
  272. // -------------------------
  273. $switch-bg: $white;
  274. $switch-slider-color: $gray-7;
  275. $switch-slider-off-bg: $gray-5;
  276. $switch-slider-on-bg: linear-gradient(90deg, #ff9830, #e55400);
  277. $switch-slider-shadow: 0 0 3px $dark-2;
  278. //Checkbox
  279. // -------------------------
  280. $checkbox-bg: $gray-6;
  281. $checkbox-border: 1px solid $gray-3;
  282. $checkbox-checked-bg: linear-gradient(0deg, #ff9830, #e55400);
  283. $checkbox-color: $gray-7;
  284. //Panel Edit
  285. // -------------------------
  286. $panel-editor-shadow: 0px 0px 8px $gray-3;
  287. $panel-editor-side-menu-shadow: drop-shadow(0 0 2px $gray-3);
  288. $panel-editor-viz-item-shadow: 0 0 4px $gray-3;
  289. $panel-editor-viz-item-border: 1px solid $gray-3;
  290. $panel-editor-viz-item-shadow-hover: 0 0 4px $blue-light;
  291. $panel-editor-viz-item-border-hover: 1px solid $blue-light;
  292. $panel-editor-viz-item-bg: $white;
  293. $panel-editor-tabs-line-color: $dark-2;
  294. $panel-editor-viz-item-bg-hover: lighten($blue-base, 45%);
  295. $panel-options-group-border: none;
  296. $panel-options-group-header-bg: $gray-5;
  297. $panel-grid-placeholder-bg: $blue-faint;
  298. $panel-grid-placeholder-shadow: 0 0 4px $blue-light;
  299. // logs
  300. $logs-color-unkown: $gray-5;
  301. // toggle-group
  302. $button-toggle-group-btn-active-bg: $brand-primary;
  303. $button-toggle-group-btn-active-shadow: inset 0 0 4px $white;
  304. $button-toggle-group-btn-seperator-border: 1px solid $gray-6;
  305. $vertical-resize-handle-bg: $gray-4;
  306. $vertical-resize-handle-dots: $gray-3;
  307. $vertical-resize-handle-dots-hover: $gray-2;
  308. // Calendar
  309. $calendar-bg-days: $white;
  310. $calendar-bg-now: $gray-6;