@elastic/eui-theme-common 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/LICENSE.txt +6 -0
  2. package/README.md +11 -0
  3. package/lib/cjs/.tsbuildinfo +1 -0
  4. package/lib/cjs/global_styling/functions/index.d.ts +2 -0
  5. package/lib/cjs/global_styling/functions/index.d.ts.map +1 -0
  6. package/lib/cjs/global_styling/functions/index.js +22 -0
  7. package/lib/cjs/global_styling/functions/index.js.map +1 -0
  8. package/lib/cjs/global_styling/functions/size.d.ts +13 -0
  9. package/lib/cjs/global_styling/functions/size.d.ts.map +1 -0
  10. package/lib/cjs/global_styling/functions/size.js +42 -0
  11. package/lib/cjs/global_styling/functions/size.js.map +1 -0
  12. package/lib/cjs/global_styling/index.d.ts +4 -0
  13. package/lib/cjs/global_styling/index.d.ts.map +1 -0
  14. package/lib/cjs/global_styling/index.js +44 -0
  15. package/lib/cjs/global_styling/index.js.map +1 -0
  16. package/lib/cjs/global_styling/types.d.ts +66 -0
  17. package/lib/cjs/global_styling/types.d.ts.map +1 -0
  18. package/lib/cjs/global_styling/types.js +21 -0
  19. package/lib/cjs/global_styling/types.js.map +1 -0
  20. package/lib/cjs/global_styling/variables/_colors_vis.d.ts +13 -0
  21. package/lib/cjs/global_styling/variables/_colors_vis.d.ts.map +1 -0
  22. package/lib/cjs/global_styling/variables/_colors_vis.js +69 -0
  23. package/lib/cjs/global_styling/variables/_colors_vis.js.map +1 -0
  24. package/lib/cjs/global_styling/variables/animations.d.ts +36 -0
  25. package/lib/cjs/global_styling/variables/animations.d.ts.map +1 -0
  26. package/lib/cjs/global_styling/variables/animations.js +38 -0
  27. package/lib/cjs/global_styling/variables/animations.js.map +1 -0
  28. package/lib/cjs/global_styling/variables/borders.d.ts +61 -0
  29. package/lib/cjs/global_styling/variables/borders.d.ts.map +1 -0
  30. package/lib/cjs/global_styling/variables/borders.js +7 -0
  31. package/lib/cjs/global_styling/variables/borders.js.map +1 -0
  32. package/lib/cjs/global_styling/variables/breakpoint.d.ts +15 -0
  33. package/lib/cjs/global_styling/variables/breakpoint.d.ts.map +1 -0
  34. package/lib/cjs/global_styling/variables/breakpoint.js +23 -0
  35. package/lib/cjs/global_styling/variables/breakpoint.js.map +1 -0
  36. package/lib/cjs/global_styling/variables/buttons.d.ts +44 -0
  37. package/lib/cjs/global_styling/variables/buttons.d.ts.map +1 -0
  38. package/lib/cjs/global_styling/variables/buttons.js +7 -0
  39. package/lib/cjs/global_styling/variables/buttons.js.map +1 -0
  40. package/lib/cjs/global_styling/variables/colors.d.ts +245 -0
  41. package/lib/cjs/global_styling/variables/colors.d.ts.map +1 -0
  42. package/lib/cjs/global_styling/variables/colors.js +7 -0
  43. package/lib/cjs/global_styling/variables/colors.js.map +1 -0
  44. package/lib/cjs/global_styling/variables/components.d.ts +69 -0
  45. package/lib/cjs/global_styling/variables/components.d.ts.map +1 -0
  46. package/lib/cjs/global_styling/variables/components.js +7 -0
  47. package/lib/cjs/global_styling/variables/components.js.map +1 -0
  48. package/lib/cjs/global_styling/variables/forms.d.ts +20 -0
  49. package/lib/cjs/global_styling/variables/forms.d.ts.map +1 -0
  50. package/lib/cjs/global_styling/variables/forms.js +7 -0
  51. package/lib/cjs/global_styling/variables/forms.js.map +1 -0
  52. package/lib/cjs/global_styling/variables/index.d.ts +14 -0
  53. package/lib/cjs/global_styling/variables/index.d.ts.map +1 -0
  54. package/lib/cjs/global_styling/variables/index.js +154 -0
  55. package/lib/cjs/global_styling/variables/index.js.map +1 -0
  56. package/lib/cjs/global_styling/variables/levels.d.ts +39 -0
  57. package/lib/cjs/global_styling/variables/levels.d.ts.map +1 -0
  58. package/lib/cjs/global_styling/variables/levels.js +33 -0
  59. package/lib/cjs/global_styling/variables/levels.js.map +1 -0
  60. package/lib/cjs/global_styling/variables/shadow.d.ts +11 -0
  61. package/lib/cjs/global_styling/variables/shadow.d.ts.map +1 -0
  62. package/lib/cjs/global_styling/variables/shadow.js +27 -0
  63. package/lib/cjs/global_styling/variables/shadow.js.map +1 -0
  64. package/lib/cjs/global_styling/variables/size.d.ts +26 -0
  65. package/lib/cjs/global_styling/variables/size.d.ts.map +1 -0
  66. package/lib/cjs/global_styling/variables/size.js +17 -0
  67. package/lib/cjs/global_styling/variables/size.js.map +1 -0
  68. package/lib/cjs/global_styling/variables/states.d.ts +25 -0
  69. package/lib/cjs/global_styling/variables/states.d.ts.map +1 -0
  70. package/lib/cjs/global_styling/variables/states.js +7 -0
  71. package/lib/cjs/global_styling/variables/states.js.map +1 -0
  72. package/lib/cjs/global_styling/variables/typography.d.ts +93 -0
  73. package/lib/cjs/global_styling/variables/typography.d.ts.map +1 -0
  74. package/lib/cjs/global_styling/variables/typography.js +48 -0
  75. package/lib/cjs/global_styling/variables/typography.js.map +1 -0
  76. package/lib/cjs/index.d.ts +4 -0
  77. package/lib/cjs/index.d.ts.map +1 -0
  78. package/lib/cjs/index.js +44 -0
  79. package/lib/cjs/index.js.map +1 -0
  80. package/lib/cjs/types.d.ts +33 -0
  81. package/lib/cjs/types.d.ts.map +1 -0
  82. package/lib/cjs/types.js +7 -0
  83. package/lib/cjs/types.js.map +1 -0
  84. package/lib/cjs/utils.d.ts +104 -0
  85. package/lib/cjs/utils.d.ts.map +1 -0
  86. package/lib/cjs/utils.js +382 -0
  87. package/lib/cjs/utils.js.map +1 -0
  88. package/lib/cjs/utils.test.js +411 -0
  89. package/lib/cjs/utils.test.js.map +1 -0
  90. package/lib/esm/.tsbuildinfo +1 -0
  91. package/lib/esm/global_styling/functions/index.d.ts +1 -0
  92. package/lib/esm/global_styling/functions/index.js +9 -0
  93. package/lib/esm/global_styling/functions/index.js.map +1 -0
  94. package/lib/esm/global_styling/functions/size.d.ts +12 -0
  95. package/lib/esm/global_styling/functions/size.js +21 -0
  96. package/lib/esm/global_styling/functions/size.js.map +1 -0
  97. package/lib/esm/global_styling/index.d.ts +3 -0
  98. package/lib/esm/global_styling/index.js +11 -0
  99. package/lib/esm/global_styling/index.js.map +1 -0
  100. package/lib/esm/global_styling/types.d.ts +65 -0
  101. package/lib/esm/global_styling/types.js +13 -0
  102. package/lib/esm/global_styling/types.js.map +1 -0
  103. package/lib/esm/global_styling/variables/_colors_vis.d.ts +12 -0
  104. package/lib/esm/global_styling/variables/_colors_vis.js +60 -0
  105. package/lib/esm/global_styling/variables/_colors_vis.js.map +1 -0
  106. package/lib/esm/global_styling/variables/animations.d.ts +35 -0
  107. package/lib/esm/global_styling/variables/animations.js +25 -0
  108. package/lib/esm/global_styling/variables/animations.js.map +1 -0
  109. package/lib/esm/global_styling/variables/borders.d.ts +60 -0
  110. package/lib/esm/global_styling/variables/borders.js +9 -0
  111. package/lib/esm/global_styling/variables/borders.js.map +1 -0
  112. package/lib/esm/global_styling/variables/breakpoint.d.ts +14 -0
  113. package/lib/esm/global_styling/variables/breakpoint.js +9 -0
  114. package/lib/esm/global_styling/variables/breakpoint.js.map +1 -0
  115. package/lib/esm/global_styling/variables/buttons.d.ts +43 -0
  116. package/lib/esm/global_styling/variables/buttons.js +9 -0
  117. package/lib/esm/global_styling/variables/buttons.js.map +1 -0
  118. package/lib/esm/global_styling/variables/colors.d.ts +244 -0
  119. package/lib/esm/global_styling/variables/colors.js +9 -0
  120. package/lib/esm/global_styling/variables/colors.js.map +1 -0
  121. package/lib/esm/global_styling/variables/components.d.ts +68 -0
  122. package/lib/esm/global_styling/variables/components.js +9 -0
  123. package/lib/esm/global_styling/variables/components.js.map +1 -0
  124. package/lib/esm/global_styling/variables/forms.d.ts +19 -0
  125. package/lib/esm/global_styling/variables/forms.js +9 -0
  126. package/lib/esm/global_styling/variables/forms.js.map +1 -0
  127. package/lib/esm/global_styling/variables/index.d.ts +13 -0
  128. package/lib/esm/global_styling/variables/index.js +21 -0
  129. package/lib/esm/global_styling/variables/index.js.map +1 -0
  130. package/lib/esm/global_styling/variables/levels.d.ts +38 -0
  131. package/lib/esm/global_styling/variables/levels.js +34 -0
  132. package/lib/esm/global_styling/variables/levels.js.map +1 -0
  133. package/lib/esm/global_styling/variables/shadow.d.ts +10 -0
  134. package/lib/esm/global_styling/variables/shadow.js +19 -0
  135. package/lib/esm/global_styling/variables/shadow.js.map +1 -0
  136. package/lib/esm/global_styling/variables/size.d.ts +25 -0
  137. package/lib/esm/global_styling/variables/size.js +20 -0
  138. package/lib/esm/global_styling/variables/size.js.map +1 -0
  139. package/lib/esm/global_styling/variables/states.d.ts +24 -0
  140. package/lib/esm/global_styling/variables/states.js +9 -0
  141. package/lib/esm/global_styling/variables/states.js.map +1 -0
  142. package/lib/esm/global_styling/variables/typography.d.ts +92 -0
  143. package/lib/esm/global_styling/variables/typography.js +35 -0
  144. package/lib/esm/global_styling/variables/typography.js.map +1 -0
  145. package/lib/esm/index.d.ts +3 -0
  146. package/lib/esm/index.js +11 -0
  147. package/lib/esm/index.js.map +1 -0
  148. package/lib/esm/types.d.ts +32 -0
  149. package/lib/esm/types.js +9 -0
  150. package/lib/esm/types.js.map +1 -0
  151. package/lib/esm/utils.d.ts +103 -0
  152. package/lib/esm/utils.js +300 -0
  153. package/lib/esm/utils.js.map +1 -0
  154. package/lib/esm/utils.test.d.ts +1 -0
  155. package/lib/esm/utils.test.js +233 -0
  156. package/lib/esm/utils.test.js.map +1 -0
  157. package/licenses/ELASTIC-LICENSE-2.0.md +93 -0
  158. package/licenses/SSPL-LICENSE.md +557 -0
  159. package/package.json +78 -0
  160. package/src/global_styling/functions/_colors.scss +138 -0
  161. package/src/global_styling/functions/_index.scss +5 -0
  162. package/src/global_styling/functions/_math.scss +1 -0
  163. package/src/global_styling/functions/_math_pow.scss +82 -0
  164. package/src/global_styling/index.scss +18 -0
  165. package/src/global_styling/mixins/_button.scss +149 -0
  166. package/src/global_styling/mixins/_form.scss +273 -0
  167. package/src/global_styling/mixins/_helpers.scss +126 -0
  168. package/src/global_styling/mixins/_index.scss +14 -0
  169. package/src/global_styling/mixins/_link.scss +11 -0
  170. package/src/global_styling/mixins/_loading.scss +6 -0
  171. package/src/global_styling/mixins/_panel.scss +55 -0
  172. package/src/global_styling/mixins/_range.scss +62 -0
  173. package/src/global_styling/mixins/_responsive.scss +44 -0
  174. package/src/global_styling/mixins/_shadow.scss +108 -0
  175. package/src/global_styling/mixins/_size.scss +4 -0
  176. package/src/global_styling/mixins/_states.scss +50 -0
  177. package/src/global_styling/mixins/_tool_tip.scss +25 -0
  178. package/src/global_styling/mixins/_typography.scss +167 -0
  179. package/src/global_styling/react_date_picker/_date_picker.scss +772 -0
  180. package/src/global_styling/react_date_picker/_index.scss +2 -0
  181. package/src/global_styling/react_date_picker/_variables.scss +1 -0
  182. package/src/global_styling/utility/_animations.scss +55 -0
  183. package/src/global_styling/utility/_index.scss +1 -0
  184. package/src/global_styling/variables/_animations.scss +13 -0
  185. package/src/global_styling/variables/_borders.scss +11 -0
  186. package/src/global_styling/variables/_buttons.scss +18 -0
  187. package/src/global_styling/variables/_colors_vis.scss +72 -0
  188. package/src/global_styling/variables/_font_weight.scss +10 -0
  189. package/src/global_styling/variables/_form.scss +8 -0
  190. package/src/global_styling/variables/_index.scss +23 -0
  191. package/src/global_styling/variables/_responsive.scss +9 -0
  192. package/src/global_styling/variables/_shadows.scss +2 -0
  193. package/src/global_styling/variables/_size.scss +15 -0
  194. package/src/global_styling/variables/_states.scss +14 -0
  195. package/src/global_styling/variables/_typography.scss +75 -0
  196. package/src/global_styling/variables/_z_index.scss +34 -0
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.euiCantAnimate = exports.euiCanAnimate = exports.EuiThemeAnimationSpeeds = exports.EuiThemeAnimationEasings = void 0;
8
+ /*
9
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
10
+ * or more contributor license agreements. Licensed under the Elastic License
11
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
12
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
13
+ * Side Public License, v 1.
14
+ */
15
+
16
+ /**
17
+ * A constant storing the `prefers-reduced-motion` media query
18
+ * so that when it is turned off, animations are not run.
19
+ */
20
+ var euiCanAnimate = exports.euiCanAnimate = '@media screen and (prefers-reduced-motion: no-preference)';
21
+
22
+ /**
23
+ * A constant storing the `prefers-reduced-motion` media query that will
24
+ * only apply the content if the setting is off (reduce).
25
+ */
26
+ var euiCantAnimate = exports.euiCantAnimate = '@media screen and (prefers-reduced-motion: reduce)';
27
+
28
+ /**
29
+ * Speeds / Durations / Delays
30
+ */
31
+
32
+ var EuiThemeAnimationSpeeds = exports.EuiThemeAnimationSpeeds = ['extraFast', 'fast', 'normal', 'slow', 'extraSlow'];
33
+ /**
34
+ * Easings / Timing functions
35
+ */
36
+
37
+ var EuiThemeAnimationEasings = exports.EuiThemeAnimationEasings = ['bounce', 'resistance'];
38
+ //# sourceMappingURL=animations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animations.js","names":["euiCanAnimate","exports","euiCantAnimate","EuiThemeAnimationSpeeds","EuiThemeAnimationEasings"],"sources":["../../../../src/global_styling/variables/animations.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\nimport { CSSProperties } from 'react';\n\n/**\n * A constant storing the `prefers-reduced-motion` media query\n * so that when it is turned off, animations are not run.\n */\nexport const euiCanAnimate =\n '@media screen and (prefers-reduced-motion: no-preference)';\n\n/**\n * A constant storing the `prefers-reduced-motion` media query that will\n * only apply the content if the setting is off (reduce).\n */\nexport const euiCantAnimate =\n '@media screen and (prefers-reduced-motion: reduce)';\n\n/**\n * Speeds / Durations / Delays\n */\n\nexport const EuiThemeAnimationSpeeds = [\n 'extraFast',\n 'fast',\n 'normal',\n 'slow',\n 'extraSlow',\n] as const;\n\nexport type _EuiThemeAnimationSpeed = (typeof EuiThemeAnimationSpeeds)[number];\n\nexport type _EuiThemeAnimationSpeeds = {\n /** - Default value: 90ms */\n extraFast: CSSProperties['animationDuration'];\n /** - Default value: 150ms */\n fast: CSSProperties['animationDuration'];\n /** - Default value: 250ms */\n normal: CSSProperties['animationDuration'];\n /** - Default value: 350ms */\n slow: CSSProperties['animationDuration'];\n /** - Default value: 500ms */\n extraSlow: CSSProperties['animationDuration'];\n};\n\n/**\n * Easings / Timing functions\n */\n\nexport const EuiThemeAnimationEasings = ['bounce', 'resistance'] as const;\n\nexport type _EuiThemeAnimationEasing =\n (typeof EuiThemeAnimationEasings)[number];\n\nexport type _EuiThemeAnimationEasings = Record<\n _EuiThemeAnimationEasing,\n CSSProperties['animationTimingFunction']\n>;\n\nexport type _EuiThemeAnimation = _EuiThemeAnimationEasings &\n _EuiThemeAnimationSpeeds;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACO,IAAMA,aAAa,GAAAC,OAAA,CAAAD,aAAA,GACxB,2DAA2D;;AAE7D;AACA;AACA;AACA;AACO,IAAME,cAAc,GAAAD,OAAA,CAAAC,cAAA,GACzB,oDAAoD;;AAEtD;AACA;AACA;;AAEO,IAAMC,uBAAuB,GAAAF,OAAA,CAAAE,uBAAA,GAAG,CACrC,WAAW,EACX,MAAM,EACN,QAAQ,EACR,MAAM,EACN,WAAW,CACH;AAiBV;AACA;AACA;;AAEO,IAAMC,wBAAwB,GAAAH,OAAA,CAAAG,wBAAA,GAAG,CAAC,QAAQ,EAAE,YAAY,CAAU","ignoreList":[]}
@@ -0,0 +1,61 @@
1
+ import { CSSProperties } from 'react';
2
+ import { ColorModeSwitch } from '../types';
3
+ export interface _EuiThemeBorderWidthValues {
4
+ /**
5
+ * Thinnest width for border
6
+ * - Default value: 1px
7
+ */
8
+ thin: CSSProperties['borderWidth'];
9
+ /**
10
+ * Thickest width for border
11
+ * - Default value: 2px
12
+ */
13
+ thick: CSSProperties['borderWidth'];
14
+ }
15
+ export interface _EuiThemeBorderRadiusValues {
16
+ /**
17
+ * Primary corner radius size
18
+ * - Default value: 6px
19
+ */
20
+ medium: CSSProperties['borderRadius'];
21
+ /**
22
+ * Small corner radius size
23
+ * - Default value: 4px
24
+ */
25
+ small: CSSProperties['borderRadius'];
26
+ }
27
+ export interface _EuiThemeBorderColorValues {
28
+ /**
29
+ * Color for all borders; Default is `colors.lightShade`
30
+ */
31
+ color: ColorModeSwitch;
32
+ }
33
+ export interface _EuiThemeBorderValues extends _EuiThemeBorderColorValues {
34
+ /**
35
+ * Varied thicknesses for borders
36
+ */
37
+ width: _EuiThemeBorderWidthValues;
38
+ /**
39
+ * Varied border radii
40
+ */
41
+ radius: _EuiThemeBorderRadiusValues;
42
+ }
43
+ export interface _EuiThemeBorderTypes {
44
+ /**
45
+ * Full `border` property string computed using `border.width.thin` and `border.color`
46
+ * - Default value: 1px solid [colors.lightShade]
47
+ */
48
+ thin: CSSProperties['border'];
49
+ /**
50
+ * Full `border` property string computed using `border.width.thick` and `border.color`
51
+ * - Default value: 2px solid [colors.lightShade]
52
+ */
53
+ thick: CSSProperties['border'];
54
+ /**
55
+ * Full editable style `border` property string computed using `border.width.thick` and `border.color`
56
+ * - Default value: 2px dotted [colors.lightShade]
57
+ */
58
+ editable: CSSProperties['border'];
59
+ }
60
+ export declare type _EuiThemeBorder = _EuiThemeBorderValues & _EuiThemeBorderTypes;
61
+ //# sourceMappingURL=borders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"borders.d.ts","sourceRoot":"","sources":["../../../../src/global_styling/variables/borders.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,IAAI,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IACnC;;;OAGG;IACH,KAAK,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,MAAM,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IACtC;;;OAGG;IACH,KAAK,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,KAAK,EAAE,eAAe,CAAC;CACxB;AAED,MAAM,WAAW,qBAAsB,SAAQ,0BAA0B;IACvE;;OAEG;IACH,KAAK,EAAE,0BAA0B,CAAC;IAClC;;OAEG;IACH,MAAM,EAAE,2BAA2B,CAAC;CACrC;AAED,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,IAAI,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9B;;;OAGG;IACH,KAAK,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC/B;;;OAGG;IACH,QAAQ,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;CACnC;AAED,oBAAY,eAAe,GAAG,qBAAqB,GAAG,oBAAoB,CAAC"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ //# sourceMappingURL=borders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"borders.js","names":[],"sources":["../../../../src/global_styling/variables/borders.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\n\nimport { CSSProperties } from 'react';\nimport { ColorModeSwitch } from '../types';\n\nexport interface _EuiThemeBorderWidthValues {\n /**\n * Thinnest width for border\n * - Default value: 1px\n */\n thin: CSSProperties['borderWidth'];\n /**\n * Thickest width for border\n * - Default value: 2px\n */\n thick: CSSProperties['borderWidth'];\n}\n\nexport interface _EuiThemeBorderRadiusValues {\n /**\n * Primary corner radius size\n * - Default value: 6px\n */\n medium: CSSProperties['borderRadius'];\n /**\n * Small corner radius size\n * - Default value: 4px\n */\n small: CSSProperties['borderRadius'];\n}\n\nexport interface _EuiThemeBorderColorValues {\n /**\n * Color for all borders; Default is `colors.lightShade`\n */\n color: ColorModeSwitch;\n}\n\nexport interface _EuiThemeBorderValues extends _EuiThemeBorderColorValues {\n /**\n * Varied thicknesses for borders\n */\n width: _EuiThemeBorderWidthValues;\n /**\n * Varied border radii\n */\n radius: _EuiThemeBorderRadiusValues;\n}\n\nexport interface _EuiThemeBorderTypes {\n /**\n * Full `border` property string computed using `border.width.thin` and `border.color`\n * - Default value: 1px solid [colors.lightShade]\n */\n thin: CSSProperties['border'];\n /**\n * Full `border` property string computed using `border.width.thick` and `border.color`\n * - Default value: 2px solid [colors.lightShade]\n */\n thick: CSSProperties['border'];\n /**\n * Full editable style `border` property string computed using `border.width.thick` and `border.color`\n * - Default value: 2px dotted [colors.lightShade]\n */\n editable: CSSProperties['border'];\n}\n\nexport type _EuiThemeBorder = _EuiThemeBorderValues & _EuiThemeBorderTypes;\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,15 @@
1
+ export declare const EuiThemeBreakpoints: readonly ["xs", "s", "m", "l", "xl"];
2
+ export declare type _EuiThemeBreakpoint = string;
3
+ export declare type _EuiThemeBreakpoints = Record<_EuiThemeBreakpoint, number> & {
4
+ /** - Default value: 0 */
5
+ xs: number;
6
+ /** - Default value: 575 */
7
+ s: number;
8
+ /** - Default value: 768 */
9
+ m: number;
10
+ /** - Default value: 992 */
11
+ l: number;
12
+ /** - Default value: 1200 */
13
+ xl: number;
14
+ };
15
+ //# sourceMappingURL=breakpoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../../../src/global_styling/variables/breakpoint.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,mBAAmB,sCAAuC,CAAC;AAIxE,oBAAY,mBAAmB,GAAG,MAAM,CAAC;AAIzC,oBAAY,oBAAoB,GAAG,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAAC,GAAG;IACvE,yBAAyB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,2BAA2B;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,2BAA2B;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,2BAA2B;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,4BAA4B;IAC5B,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.EuiThemeBreakpoints = void 0;
8
+ /*
9
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
10
+ * or more contributor license agreements. Licensed under the Elastic License
11
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
12
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
13
+ * Side Public License, v 1.
14
+ */
15
+
16
+ var EuiThemeBreakpoints = exports.EuiThemeBreakpoints = ['xs', 's', 'm', 'l', 'xl'];
17
+
18
+ // This type cannot be a string enum / must be a generic string
19
+ // in case consumers add custom breakpoint sizes, such as xxl or xxs
20
+
21
+ // Explicitly list out each key so we can document default values
22
+ // via JSDoc (which is available to devs in IDE via intellisense)
23
+ //# sourceMappingURL=breakpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoint.js","names":["EuiThemeBreakpoints","exports"],"sources":["../../../../src/global_styling/variables/breakpoint.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\n\nexport const EuiThemeBreakpoints = ['xs', 's', 'm', 'l', 'xl'] as const;\n\n// This type cannot be a string enum / must be a generic string\n// in case consumers add custom breakpoint sizes, such as xxl or xxs\nexport type _EuiThemeBreakpoint = string;\n\n// Explicitly list out each key so we can document default values\n// via JSDoc (which is available to devs in IDE via intellisense)\nexport type _EuiThemeBreakpoints = Record<_EuiThemeBreakpoint, number> & {\n /** - Default value: 0 */\n xs: number;\n /** - Default value: 575 */\n s: number;\n /** - Default value: 768 */\n m: number;\n /** - Default value: 992 */\n l: number;\n /** - Default value: 1200 */\n xl: number;\n};\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEO,IAAMA,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAU;;AAEvE;AACA;;AAGA;AACA","ignoreList":[]}
@@ -0,0 +1,44 @@
1
+ import { ColorModeSwitch, StrictColorModeSwitch } from '../types';
2
+ export declare type _EuiThemeButtonColors = {
3
+ backgroundPrimary: ColorModeSwitch;
4
+ backgroundAccent: ColorModeSwitch;
5
+ backgroundAccentSecondary: ColorModeSwitch;
6
+ backgroundSuccess: ColorModeSwitch;
7
+ backgroundWarning: ColorModeSwitch;
8
+ backgroundDanger: ColorModeSwitch;
9
+ backgroundText: ColorModeSwitch;
10
+ backgroundDisabled: ColorModeSwitch;
11
+ backgroundFilledPrimary: ColorModeSwitch;
12
+ backgroundFilledAccent: ColorModeSwitch;
13
+ backgroundFilledAccentSecondary: ColorModeSwitch;
14
+ backgroundFilledSuccess: ColorModeSwitch;
15
+ backgroundFilledWarning: ColorModeSwitch;
16
+ backgroundFilledDanger: ColorModeSwitch;
17
+ backgroundFilledText: ColorModeSwitch;
18
+ backgroundFilledDisabled: ColorModeSwitch;
19
+ backgroundEmptyPrimaryHover: ColorModeSwitch;
20
+ backgroundEmptyAccentHover: ColorModeSwitch;
21
+ backgroundEmptyAccentSecondaryHover: ColorModeSwitch;
22
+ backgroundEmptySuccessHover: ColorModeSwitch;
23
+ backgroundEmptyWarningHover: ColorModeSwitch;
24
+ backgroundEmptyDangerHover: ColorModeSwitch;
25
+ backgroundEmptyTextHover: ColorModeSwitch;
26
+ textColorPrimary: ColorModeSwitch;
27
+ textColorAccent: ColorModeSwitch;
28
+ textColorAccentSecondary: ColorModeSwitch;
29
+ textColorSuccess: ColorModeSwitch;
30
+ textColorWarning: ColorModeSwitch;
31
+ textColorDanger: ColorModeSwitch;
32
+ textColorText: ColorModeSwitch;
33
+ textColorDisabled: ColorModeSwitch;
34
+ textColorFilledPrimary: ColorModeSwitch;
35
+ textColorFilledAccent: ColorModeSwitch;
36
+ textColorFilledAccentSecondary: ColorModeSwitch;
37
+ textColorFilledSuccess: ColorModeSwitch;
38
+ textColorFilledWarning: ColorModeSwitch;
39
+ textColorFilledDanger: ColorModeSwitch;
40
+ textColorFilledText: ColorModeSwitch;
41
+ textColorFilledDisabled: ColorModeSwitch;
42
+ };
43
+ export declare type _EuiThemeButton = StrictColorModeSwitch<_EuiThemeButtonColors> & {};
44
+ //# sourceMappingURL=buttons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../src/global_styling/variables/buttons.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAElE,oBAAY,qBAAqB,GAAG;IAClC,iBAAiB,EAAE,eAAe,CAAC;IACnC,gBAAgB,EAAE,eAAe,CAAC;IAClC,yBAAyB,EAAE,eAAe,CAAC;IAC3C,iBAAiB,EAAE,eAAe,CAAC;IACnC,iBAAiB,EAAE,eAAe,CAAC;IACnC,gBAAgB,EAAE,eAAe,CAAC;IAClC,cAAc,EAAE,eAAe,CAAC;IAChC,kBAAkB,EAAE,eAAe,CAAC;IAEpC,uBAAuB,EAAE,eAAe,CAAC;IACzC,sBAAsB,EAAE,eAAe,CAAC;IACxC,+BAA+B,EAAE,eAAe,CAAC;IACjD,uBAAuB,EAAE,eAAe,CAAC;IACzC,uBAAuB,EAAE,eAAe,CAAC;IACzC,sBAAsB,EAAE,eAAe,CAAC;IACxC,oBAAoB,EAAE,eAAe,CAAC;IACtC,wBAAwB,EAAE,eAAe,CAAC;IAE1C,2BAA2B,EAAE,eAAe,CAAC;IAC7C,0BAA0B,EAAE,eAAe,CAAC;IAC5C,mCAAmC,EAAE,eAAe,CAAC;IACrD,2BAA2B,EAAE,eAAe,CAAC;IAC7C,2BAA2B,EAAE,eAAe,CAAC;IAC7C,0BAA0B,EAAE,eAAe,CAAC;IAC5C,wBAAwB,EAAE,eAAe,CAAC;IAE1C,gBAAgB,EAAE,eAAe,CAAC;IAClC,eAAe,EAAE,eAAe,CAAC;IACjC,wBAAwB,EAAE,eAAe,CAAC;IAC1C,gBAAgB,EAAE,eAAe,CAAC;IAClC,gBAAgB,EAAE,eAAe,CAAC;IAClC,eAAe,EAAE,eAAe,CAAC;IACjC,aAAa,EAAE,eAAe,CAAC;IAC/B,iBAAiB,EAAE,eAAe,CAAC;IAEnC,sBAAsB,EAAE,eAAe,CAAC;IACxC,qBAAqB,EAAE,eAAe,CAAC;IACvC,8BAA8B,EAAE,eAAe,CAAC;IAChD,sBAAsB,EAAE,eAAe,CAAC;IACxC,sBAAsB,EAAE,eAAe,CAAC;IACxC,qBAAqB,EAAE,eAAe,CAAC;IACvC,mBAAmB,EAAE,eAAe,CAAC;IACrC,uBAAuB,EAAE,eAAe,CAAC;CAC1C,CAAC;AAEF,oBAAY,eAAe,GAAG,qBAAqB,CAAC,qBAAqB,CAAC,GAAG,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ //# sourceMappingURL=buttons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buttons.js","names":[],"sources":["../../../../src/global_styling/variables/buttons.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\n\nimport { ColorModeSwitch, StrictColorModeSwitch } from '../types';\n\nexport type _EuiThemeButtonColors = {\n backgroundPrimary: ColorModeSwitch;\n backgroundAccent: ColorModeSwitch;\n backgroundAccentSecondary: ColorModeSwitch;\n backgroundSuccess: ColorModeSwitch;\n backgroundWarning: ColorModeSwitch;\n backgroundDanger: ColorModeSwitch;\n backgroundText: ColorModeSwitch;\n backgroundDisabled: ColorModeSwitch;\n\n backgroundFilledPrimary: ColorModeSwitch;\n backgroundFilledAccent: ColorModeSwitch;\n backgroundFilledAccentSecondary: ColorModeSwitch;\n backgroundFilledSuccess: ColorModeSwitch;\n backgroundFilledWarning: ColorModeSwitch;\n backgroundFilledDanger: ColorModeSwitch;\n backgroundFilledText: ColorModeSwitch;\n backgroundFilledDisabled: ColorModeSwitch;\n\n backgroundEmptyPrimaryHover: ColorModeSwitch;\n backgroundEmptyAccentHover: ColorModeSwitch;\n backgroundEmptyAccentSecondaryHover: ColorModeSwitch;\n backgroundEmptySuccessHover: ColorModeSwitch;\n backgroundEmptyWarningHover: ColorModeSwitch;\n backgroundEmptyDangerHover: ColorModeSwitch;\n backgroundEmptyTextHover: ColorModeSwitch;\n\n textColorPrimary: ColorModeSwitch;\n textColorAccent: ColorModeSwitch;\n textColorAccentSecondary: ColorModeSwitch;\n textColorSuccess: ColorModeSwitch;\n textColorWarning: ColorModeSwitch;\n textColorDanger: ColorModeSwitch;\n textColorText: ColorModeSwitch;\n textColorDisabled: ColorModeSwitch;\n\n textColorFilledPrimary: ColorModeSwitch;\n textColorFilledAccent: ColorModeSwitch;\n textColorFilledAccentSecondary: ColorModeSwitch;\n textColorFilledSuccess: ColorModeSwitch;\n textColorFilledWarning: ColorModeSwitch;\n textColorFilledDanger: ColorModeSwitch;\n textColorFilledText: ColorModeSwitch;\n textColorFilledDisabled: ColorModeSwitch;\n};\n\nexport type _EuiThemeButton = StrictColorModeSwitch<_EuiThemeButtonColors> & {};\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,245 @@
1
+ import { ColorModeSwitch, StrictColorModeSwitch } from '../types';
2
+ /**
3
+ * Top 5 colors
4
+ */
5
+ export declare type _EuiThemeBrandColors = {
6
+ /**
7
+ * Main brand color and used for most **call to actions** like buttons and links.
8
+ */
9
+ primary: ColorModeSwitch;
10
+ /**
11
+ * Pulls attention to key indicators like **notifications** or number of selections.
12
+ */
13
+ accent: ColorModeSwitch;
14
+ /**
15
+ * Secondary attention indicator with lower priority.
16
+ */
17
+ accentSecondary: ColorModeSwitch;
18
+ /**
19
+ * Used for **positive** messages/graphics and additive actions.
20
+ */
21
+ success: ColorModeSwitch;
22
+ /**
23
+ * Used for **warnings** and actions that have a potential to be destructive.
24
+ */
25
+ warning: ColorModeSwitch;
26
+ /**
27
+ * Used for **negative** messages/graphics like errors and destructive actions.
28
+ */
29
+ danger: ColorModeSwitch;
30
+ };
31
+ /**
32
+ * Every brand color must have a contrast computed text equivelant
33
+ */
34
+ export declare type _EuiThemeBrandTextColors = {
35
+ /**
36
+ * Typically computed against `colors.primary`
37
+ * @deprecated - use `textPrimary` instead
38
+ */
39
+ primaryText: ColorModeSwitch;
40
+ /**
41
+ * Typically computed against `colors.accent`
42
+ * @deprecated - use `textAccent` instead
43
+ */
44
+ accentText: ColorModeSwitch;
45
+ /**
46
+ * Typically computed against `colors.success`
47
+ * @deprecated - use `textSuccess` instead
48
+ */
49
+ successText: ColorModeSwitch;
50
+ /**
51
+ * Typically computed against `colors.warning`
52
+ * @deprecated - use `textWarning` instead
53
+ */
54
+ warningText: ColorModeSwitch;
55
+ /**
56
+ * Typically computed against `colors.danger`
57
+ * @deprecated - use `textDanger` instead
58
+ */
59
+ dangerText: ColorModeSwitch;
60
+ textPrimary: ColorModeSwitch;
61
+ textAccent: ColorModeSwitch;
62
+ textAccentSecondary: ColorModeSwitch;
63
+ textSuccess: ColorModeSwitch;
64
+ textWarning: ColorModeSwitch;
65
+ textDanger: ColorModeSwitch;
66
+ };
67
+ export declare type _EuiThemeShadeColors = {
68
+ /**
69
+ * Used as the background color of primary **page content and panels** including modals and flyouts.
70
+ * @deprecated - use `white`
71
+ */
72
+ emptyShade: ColorModeSwitch;
73
+ /**
74
+ * Used to lightly shade areas that contain **secondary content** or contain panel-like components.
75
+ * @deprecated - use specific semantic color tokens instead
76
+ */
77
+ lightestShade: ColorModeSwitch;
78
+ /**
79
+ * Used for most **borders** and dividers (horizontal rules).
80
+ * @deprecated - use specific semantic color tokens instead
81
+ */
82
+ lightShade: ColorModeSwitch;
83
+ /**
84
+ * The middle gray for all themes; this is the base for `colors.subdued`.
85
+ * @deprecated - use specific semantic color tokens instead
86
+ */
87
+ mediumShade: ColorModeSwitch;
88
+ /**
89
+ * Slightly subtle graphic color
90
+ * @deprecated - use specific semantic color tokens instead
91
+ */
92
+ darkShade: ColorModeSwitch;
93
+ /**
94
+ * Used as the **text** color and the background color for **inverted components** like tooltips and the control bar.
95
+ * @deprecated - use specific semantic color tokens instead
96
+ */
97
+ darkestShade: ColorModeSwitch;
98
+ /**
99
+ * The opposite of `emptyShade`
100
+ * @deprecated - use`black`
101
+ */
102
+ fullShade: ColorModeSwitch;
103
+ };
104
+ export declare type _EuiThemeTextColors = {
105
+ /**
106
+ * Computed against `colors.darkestShade`
107
+ * @deprecated - use `textParagraph` instead
108
+ */
109
+ text: ColorModeSwitch;
110
+ /**
111
+ * Computed against `colors.text`
112
+ * @deprecated - use `textHeading` instead
113
+ */
114
+ title: ColorModeSwitch;
115
+ /**
116
+ * Computed against `colors.mediumShade`
117
+ * @deprecated - use `textSubdued` instead
118
+ */
119
+ subduedText: ColorModeSwitch;
120
+ /**
121
+ * Computed against `colors.primaryText`
122
+ */
123
+ link: ColorModeSwitch;
124
+ textParagraph: ColorModeSwitch;
125
+ textHeading: ColorModeSwitch;
126
+ textSubdued: ColorModeSwitch;
127
+ textDisabled: ColorModeSwitch;
128
+ textInverse: ColorModeSwitch;
129
+ };
130
+ export declare type _EuiThemeSpecialColors = {
131
+ /**
132
+ * The background color for the **whole window (body)** and is a computed value of `colors.lightestShade`.
133
+ * Provides denominator (background) value for **contrast calculations**.
134
+ * @deprecated - use backgroundPage instead
135
+ */
136
+ body: ColorModeSwitch;
137
+ /**
138
+ * Used to **highlight text** when matching against search strings
139
+ */
140
+ highlight: ColorModeSwitch;
141
+ /**
142
+ * Computed against `colors.darkestShade`
143
+ * @deprecated - use specific semantic tokens instead (e.g. backgroundDisabled, borderDisabled etc)
144
+ */
145
+ disabled: ColorModeSwitch;
146
+ /**
147
+ * Computed against `colors.disabled`
148
+ * @deprecated - use textDisabled instead
149
+ */
150
+ disabledText: ColorModeSwitch;
151
+ /**
152
+ * The base color for shadows that gets `transparentized`
153
+ * at a value based on the `colorMode` and then layered.
154
+ * @deprecated - use specific shadow tokens instead
155
+ */
156
+ shadow: ColorModeSwitch;
157
+ };
158
+ export declare type _EuiThemeBackgroundColors = {
159
+ backgroundBasePrimary: ColorModeSwitch;
160
+ backgroundBaseAccent: ColorModeSwitch;
161
+ backgroundBaseAccentSecondary: ColorModeSwitch;
162
+ backgroundBaseSuccess: ColorModeSwitch;
163
+ backgroundBaseWarning: ColorModeSwitch;
164
+ backgroundBaseDanger: ColorModeSwitch;
165
+ backgroundBaseSubdued: ColorModeSwitch;
166
+ backgroundBasePlain: ColorModeSwitch;
167
+ backgroundBaseDisabled: ColorModeSwitch;
168
+ backgroundBaseFormsPrepend: ColorModeSwitch;
169
+ backgroundBaseFormsControlDisabled: ColorModeSwitch;
170
+ backgroundBaseInteractiveHover: ColorModeSwitch;
171
+ backgroundBaseInteractiveSelect: ColorModeSwitch;
172
+ backgroundBaseInteractiveOverlay: ColorModeSwitch;
173
+ backgroundBaseSkeletonEdge: ColorModeSwitch;
174
+ backgroundBaseSkeletonMiddle: ColorModeSwitch;
175
+ backgroundLightPrimary: ColorModeSwitch;
176
+ backgroundLightAccent: ColorModeSwitch;
177
+ backgroundLightAccentSecondary: ColorModeSwitch;
178
+ backgroundLightSuccess: ColorModeSwitch;
179
+ backgroundLightWarning: ColorModeSwitch;
180
+ backgroundLightDanger: ColorModeSwitch;
181
+ backgroundLightText: ColorModeSwitch;
182
+ backgroundFilledPrimary: ColorModeSwitch;
183
+ backgroundFilledAccent: ColorModeSwitch;
184
+ backgroundFilledAccentSecondary: ColorModeSwitch;
185
+ backgroundFilledSuccess: ColorModeSwitch;
186
+ backgroundFilledWarning: ColorModeSwitch;
187
+ backgroundFilledDanger: ColorModeSwitch;
188
+ backgroundFilledText: ColorModeSwitch;
189
+ };
190
+ /** TODO: remove once usages are re-mapped */
191
+ export declare type _EuiThemeTransparentBackgroundColors = {
192
+ /** @deprecated */
193
+ backgroundTransparent: string;
194
+ /** @deprecated */
195
+ backgroundTransparentPrimary: ColorModeSwitch;
196
+ /** @deprecated */
197
+ backgroundTransparentAccent: ColorModeSwitch;
198
+ /** @deprecated */
199
+ backgroundTransparentAccentSecondary: ColorModeSwitch;
200
+ /** @deprecated */
201
+ backgroundTransparentSuccess: ColorModeSwitch;
202
+ /** @deprecated */
203
+ backgroundTransparentWarning: ColorModeSwitch;
204
+ /** @deprecated */
205
+ backgroundTransparentDanger: ColorModeSwitch;
206
+ /** @deprecated */
207
+ backgroundTransparentSubdued: ColorModeSwitch;
208
+ /** @deprecated */
209
+ backgroundTransparentPlain: ColorModeSwitch;
210
+ };
211
+ export declare type _EuiThemeBorderColors = {
212
+ borderBasePrimary: ColorModeSwitch;
213
+ borderBaseAccent: ColorModeSwitch;
214
+ borderBaseAccentSecondary: ColorModeSwitch;
215
+ borderBaseSuccess: ColorModeSwitch;
216
+ borderBaseWarning: ColorModeSwitch;
217
+ borderBaseDanger: ColorModeSwitch;
218
+ borderBasePlain: ColorModeSwitch;
219
+ borderBaseSubdued: ColorModeSwitch;
220
+ borderBaseDisabled: ColorModeSwitch;
221
+ borderBaseFloating: ColorModeSwitch;
222
+ borderBaseFormsColorSwatch: ColorModeSwitch;
223
+ borderBaseFormsControl: ColorModeSwitch;
224
+ borderStrongPrimary: ColorModeSwitch;
225
+ borderStrongAccent: ColorModeSwitch;
226
+ borderStrongAccentSecondary: ColorModeSwitch;
227
+ borderStrongSuccess: ColorModeSwitch;
228
+ borderStrongWarning: ColorModeSwitch;
229
+ borderStrongDanger: ColorModeSwitch;
230
+ };
231
+ export declare type _EuiThemeConstantColors = {
232
+ /**
233
+ * Purest **white**
234
+ * @deprecated
235
+ */
236
+ ghost: string;
237
+ /**
238
+ * Purest **black**
239
+ * @deprecated
240
+ */
241
+ ink: string;
242
+ };
243
+ export declare type _EuiThemeColorsMode = _EuiThemeBrandColors & _EuiThemeBrandTextColors & _EuiThemeShadeColors & _EuiThemeSpecialColors & _EuiThemeTextColors & _EuiThemeBackgroundColors & _EuiThemeTransparentBackgroundColors & _EuiThemeBorderColors;
244
+ export declare type _EuiThemeColors = StrictColorModeSwitch<_EuiThemeColorsMode> & _EuiThemeConstantColors;
245
+ //# sourceMappingURL=colors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/global_styling/variables/colors.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAElE;;GAEG;AACH,oBAAY,oBAAoB,GAAG;IACjC;;OAEG;IACH,OAAO,EAAE,eAAe,CAAC;IACzB;;OAEG;IACH,MAAM,EAAE,eAAe,CAAC;IACxB;;OAEG;IACH,eAAe,EAAE,eAAe,CAAC;IACjC;;OAEG;IACH,OAAO,EAAE,eAAe,CAAC;IACzB;;OAEG;IACH,OAAO,EAAE,eAAe,CAAC;IACzB;;OAEG;IACH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OAGG;IACH,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,oBAAY,mBAAmB,GAAG,oBAAoB,GACpD,wBAAwB,GACxB,oBAAoB,GACpB,sBAAsB,GACtB,mBAAmB,GACnB,yBAAyB,GACzB,oCAAoC,GACpC,qBAAqB,CAAC;AAExB,oBAAY,eAAe,GAAG,qBAAqB,CAAC,mBAAmB,CAAC,GACtE,uBAAuB,CAAC"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ //# sourceMappingURL=colors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.js","names":[],"sources":["../../../../src/global_styling/variables/colors.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\n\nimport { ColorModeSwitch, StrictColorModeSwitch } from '../types';\n\n/**\n * Top 5 colors\n */\nexport type _EuiThemeBrandColors = {\n /**\n * Main brand color and used for most **call to actions** like buttons and links.\n */\n primary: ColorModeSwitch;\n /**\n * Pulls attention to key indicators like **notifications** or number of selections.\n */\n accent: ColorModeSwitch;\n /**\n * Secondary attention indicator with lower priority.\n */\n accentSecondary: ColorModeSwitch;\n /**\n * Used for **positive** messages/graphics and additive actions.\n */\n success: ColorModeSwitch;\n /**\n * Used for **warnings** and actions that have a potential to be destructive.\n */\n warning: ColorModeSwitch;\n /**\n * Used for **negative** messages/graphics like errors and destructive actions.\n */\n danger: ColorModeSwitch;\n};\n\n/**\n * Every brand color must have a contrast computed text equivelant\n */\nexport type _EuiThemeBrandTextColors = {\n /**\n * Typically computed against `colors.primary`\n * @deprecated - use `textPrimary` instead\n */\n primaryText: ColorModeSwitch;\n /**\n * Typically computed against `colors.accent`\n * @deprecated - use `textAccent` instead\n */\n accentText: ColorModeSwitch;\n /**\n * Typically computed against `colors.success`\n * @deprecated - use `textSuccess` instead\n */\n successText: ColorModeSwitch;\n /**\n * Typically computed against `colors.warning`\n * @deprecated - use `textWarning` instead\n */\n warningText: ColorModeSwitch;\n /**\n * Typically computed against `colors.danger`\n * @deprecated - use `textDanger` instead\n */\n dangerText: ColorModeSwitch;\n\n textPrimary: ColorModeSwitch;\n textAccent: ColorModeSwitch;\n textAccentSecondary: ColorModeSwitch;\n textSuccess: ColorModeSwitch;\n textWarning: ColorModeSwitch;\n textDanger: ColorModeSwitch;\n};\n\nexport type _EuiThemeShadeColors = {\n /**\n * Used as the background color of primary **page content and panels** including modals and flyouts.\n * @deprecated - use `white`\n */\n emptyShade: ColorModeSwitch;\n /**\n * Used to lightly shade areas that contain **secondary content** or contain panel-like components.\n * @deprecated - use specific semantic color tokens instead\n */\n lightestShade: ColorModeSwitch;\n /**\n * Used for most **borders** and dividers (horizontal rules).\n * @deprecated - use specific semantic color tokens instead\n */\n lightShade: ColorModeSwitch;\n /**\n * The middle gray for all themes; this is the base for `colors.subdued`.\n * @deprecated - use specific semantic color tokens instead\n */\n mediumShade: ColorModeSwitch;\n /**\n * Slightly subtle graphic color\n * @deprecated - use specific semantic color tokens instead\n */\n darkShade: ColorModeSwitch;\n /**\n * Used as the **text** color and the background color for **inverted components** like tooltips and the control bar.\n * @deprecated - use specific semantic color tokens instead\n */\n darkestShade: ColorModeSwitch;\n /**\n * The opposite of `emptyShade`\n * @deprecated - use`black`\n */\n fullShade: ColorModeSwitch;\n};\n\nexport type _EuiThemeTextColors = {\n /**\n * Computed against `colors.darkestShade`\n * @deprecated - use `textParagraph` instead\n */\n text: ColorModeSwitch;\n /**\n * Computed against `colors.text`\n * @deprecated - use `textHeading` instead\n */\n title: ColorModeSwitch;\n /**\n * Computed against `colors.mediumShade`\n * @deprecated - use `textSubdued` instead\n */\n subduedText: ColorModeSwitch;\n /**\n * Computed against `colors.primaryText`\n */\n link: ColorModeSwitch;\n\n textParagraph: ColorModeSwitch;\n textHeading: ColorModeSwitch;\n textSubdued: ColorModeSwitch;\n textDisabled: ColorModeSwitch;\n textInverse: ColorModeSwitch;\n};\n\nexport type _EuiThemeSpecialColors = {\n /**\n * The background color for the **whole window (body)** and is a computed value of `colors.lightestShade`.\n * Provides denominator (background) value for **contrast calculations**.\n * @deprecated - use backgroundPage instead\n */\n body: ColorModeSwitch;\n /**\n * Used to **highlight text** when matching against search strings\n */\n highlight: ColorModeSwitch;\n /**\n * Computed against `colors.darkestShade`\n * @deprecated - use specific semantic tokens instead (e.g. backgroundDisabled, borderDisabled etc)\n */\n disabled: ColorModeSwitch;\n /**\n * Computed against `colors.disabled`\n * @deprecated - use textDisabled instead\n */\n disabledText: ColorModeSwitch;\n /**\n * The base color for shadows that gets `transparentized`\n * at a value based on the `colorMode` and then layered.\n * @deprecated - use specific shadow tokens instead\n */\n shadow: ColorModeSwitch;\n};\n\nexport type _EuiThemeBackgroundColors = {\n backgroundBasePrimary: ColorModeSwitch;\n backgroundBaseAccent: ColorModeSwitch;\n backgroundBaseAccentSecondary: ColorModeSwitch;\n backgroundBaseSuccess: ColorModeSwitch;\n backgroundBaseWarning: ColorModeSwitch;\n backgroundBaseDanger: ColorModeSwitch;\n backgroundBaseSubdued: ColorModeSwitch;\n backgroundBasePlain: ColorModeSwitch;\n backgroundBaseDisabled: ColorModeSwitch;\n backgroundBaseFormsPrepend: ColorModeSwitch;\n backgroundBaseFormsControlDisabled: ColorModeSwitch;\n backgroundBaseInteractiveHover: ColorModeSwitch;\n backgroundBaseInteractiveSelect: ColorModeSwitch;\n backgroundBaseInteractiveOverlay: ColorModeSwitch;\n backgroundBaseSkeletonEdge: ColorModeSwitch;\n backgroundBaseSkeletonMiddle: ColorModeSwitch;\n\n backgroundLightPrimary: ColorModeSwitch;\n backgroundLightAccent: ColorModeSwitch;\n backgroundLightAccentSecondary: ColorModeSwitch;\n backgroundLightSuccess: ColorModeSwitch;\n backgroundLightWarning: ColorModeSwitch;\n backgroundLightDanger: ColorModeSwitch;\n backgroundLightText: ColorModeSwitch;\n\n backgroundFilledPrimary: ColorModeSwitch;\n backgroundFilledAccent: ColorModeSwitch;\n backgroundFilledAccentSecondary: ColorModeSwitch;\n backgroundFilledSuccess: ColorModeSwitch;\n backgroundFilledWarning: ColorModeSwitch;\n backgroundFilledDanger: ColorModeSwitch;\n backgroundFilledText: ColorModeSwitch;\n};\n\n/** TODO: remove once usages are re-mapped */\nexport type _EuiThemeTransparentBackgroundColors = {\n /** @deprecated */\n backgroundTransparent: string;\n /** @deprecated */\n backgroundTransparentPrimary: ColorModeSwitch;\n /** @deprecated */\n backgroundTransparentAccent: ColorModeSwitch;\n /** @deprecated */\n backgroundTransparentAccentSecondary: ColorModeSwitch;\n /** @deprecated */\n backgroundTransparentSuccess: ColorModeSwitch;\n /** @deprecated */\n backgroundTransparentWarning: ColorModeSwitch;\n /** @deprecated */\n backgroundTransparentDanger: ColorModeSwitch;\n /** @deprecated */\n backgroundTransparentSubdued: ColorModeSwitch;\n /** @deprecated */\n backgroundTransparentPlain: ColorModeSwitch;\n};\n\nexport type _EuiThemeBorderColors = {\n borderBasePrimary: ColorModeSwitch;\n borderBaseAccent: ColorModeSwitch;\n borderBaseAccentSecondary: ColorModeSwitch;\n borderBaseSuccess: ColorModeSwitch;\n borderBaseWarning: ColorModeSwitch;\n borderBaseDanger: ColorModeSwitch;\n\n borderBasePlain: ColorModeSwitch;\n borderBaseSubdued: ColorModeSwitch;\n borderBaseDisabled: ColorModeSwitch;\n borderBaseFloating: ColorModeSwitch;\n\n borderBaseFormsColorSwatch: ColorModeSwitch;\n borderBaseFormsControl: ColorModeSwitch;\n\n borderStrongPrimary: ColorModeSwitch;\n borderStrongAccent: ColorModeSwitch;\n borderStrongAccentSecondary: ColorModeSwitch;\n borderStrongSuccess: ColorModeSwitch;\n borderStrongWarning: ColorModeSwitch;\n borderStrongDanger: ColorModeSwitch;\n};\n\nexport type _EuiThemeConstantColors = {\n /**\n * Purest **white**\n * @deprecated\n */\n ghost: string;\n /**\n * Purest **black**\n * @deprecated\n */\n ink: string;\n};\n\nexport type _EuiThemeColorsMode = _EuiThemeBrandColors &\n _EuiThemeBrandTextColors &\n _EuiThemeShadeColors &\n _EuiThemeSpecialColors &\n _EuiThemeTextColors &\n _EuiThemeBackgroundColors &\n _EuiThemeTransparentBackgroundColors &\n _EuiThemeBorderColors;\n\nexport type _EuiThemeColors = StrictColorModeSwitch<_EuiThemeColorsMode> &\n _EuiThemeConstantColors;\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,69 @@
1
+ import { ColorModeSwitch, StrictColorModeSwitch } from '../types';
2
+ import { _EuiThemeButtonColors } from './buttons';
3
+ import { _EuiThemeFormColors } from './forms';
4
+ export declare type _EuiThemeComponentColors = {
5
+ buttonGroupBorderColor: ColorModeSwitch;
6
+ buttonGroupBorderColorSelected: ColorModeSwitch;
7
+ badgeBackgroundSubdued: ColorModeSwitch;
8
+ badgeBorderColorHollow: ColorModeSwitch;
9
+ badgeIconButtonBackgroundHover: ColorModeSwitch;
10
+ bottomBarBackground: ColorModeSwitch;
11
+ breadcrumbsApplicationBackground: ColorModeSwitch;
12
+ breadcrumbsApplicationColor: ColorModeSwitch;
13
+ collapsibleNavGroupBackground: ColorModeSwitch;
14
+ collapsibleNavGroupBackgroundDark: ColorModeSwitch;
15
+ dataGridVerticalLineBorderColor: ColorModeSwitch;
16
+ dataGridRowBackgroundStriped: ColorModeSwitch;
17
+ dataGridRowBackgroundHover: ColorModeSwitch;
18
+ dragDropDraggingBackground: ColorModeSwitch;
19
+ dragDropDraggingOverBackground: ColorModeSwitch;
20
+ headerBackground: ColorModeSwitch;
21
+ headerDarkBackground: ColorModeSwitch;
22
+ headerDarkSearchBorderColor: ColorModeSwitch;
23
+ headerDarkSectionItemBackgroundFocus: ColorModeSwitch;
24
+ filterSelectItemBackgroundFocusDisabled: ColorModeSwitch;
25
+ flyoutCloseButtonInsideBackground: ColorModeSwitch;
26
+ keyPadMenuItemBackgroundDisabledSelect: ColorModeSwitch;
27
+ listGroupItemBackgroundPrimaryActive: ColorModeSwitch;
28
+ listGroupItemBackgroundSubduedActive: ColorModeSwitch;
29
+ listGroupItemBackgroundHover: ColorModeSwitch;
30
+ listGroupItemBackgroundPrimaryHover: ColorModeSwitch;
31
+ markBackground: ColorModeSwitch;
32
+ markdownFormatTableBorderColor: ColorModeSwitch;
33
+ popoverPanelBackground: ColorModeSwitch;
34
+ popoverFooterBorderColor: ColorModeSwitch;
35
+ scrollbarTrackColor: ColorModeSwitch;
36
+ sideNavItemEmphasizedBackground: ColorModeSwitch;
37
+ selectableListItemBorderColor: ColorModeSwitch;
38
+ superDatePickerBackgroundSuccees: ColorModeSwitch;
39
+ switchBackgroundOn: ColorModeSwitch;
40
+ switchBackgroundOff: ColorModeSwitch;
41
+ switchUncompressedBackgroundDisabled: ColorModeSwitch;
42
+ switchCompressedBackgroundDisabled: ColorModeSwitch;
43
+ switchMiniBackgroundDisabled: ColorModeSwitch;
44
+ switchThumbBackgroundDisabled: ColorModeSwitch;
45
+ switchThumbBorderOn: ColorModeSwitch;
46
+ switchThumbBorderOff: ColorModeSwitch;
47
+ switchIconDisabled: ColorModeSwitch;
48
+ tableRowBackgroundHover: ColorModeSwitch;
49
+ tableRowBackgroundSelected: ColorModeSwitch;
50
+ tableRowBackgroundSelectedHover: ColorModeSwitch;
51
+ tableRowInteractiveBackgroundHover: ColorModeSwitch;
52
+ tableRowInteractiveBackgroundFocus: ColorModeSwitch;
53
+ tableCellSortableIconColor: ColorModeSwitch;
54
+ tooltipBackground: ColorModeSwitch;
55
+ tooltipBorder: ColorModeSwitch;
56
+ tooltipBorderFloating: ColorModeSwitch;
57
+ tourFooterBackground: ColorModeSwitch;
58
+ treeViewItemBackgroundHover: ColorModeSwitch;
59
+ };
60
+ export declare type _EuiThemeComponents = {
61
+ buttons: StrictColorModeSwitch<_EuiThemeButtonColors>;
62
+ forms: StrictColorModeSwitch<_EuiThemeFormColors>;
63
+ /**
64
+ * internal-only key that holds temporary tokens used while migrating themes
65
+ */
66
+ LIGHT: _EuiThemeComponentColors;
67
+ DARK: _EuiThemeComponentColors;
68
+ };
69
+ //# sourceMappingURL=components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/global_styling/variables/components.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,oBAAY,wBAAwB,GAAG;IACrC,sBAAsB,EAAE,eAAe,CAAC;IACxC,8BAA8B,EAAE,eAAe,CAAC;IAEhD,sBAAsB,EAAE,eAAe,CAAC;IACxC,sBAAsB,EAAE,eAAe,CAAC;IACxC,8BAA8B,EAAE,eAAe,CAAC;IAEhD,mBAAmB,EAAE,eAAe,CAAC;IAErC,gCAAgC,EAAE,eAAe,CAAC;IAClD,2BAA2B,EAAE,eAAe,CAAC;IAE7C,6BAA6B,EAAE,eAAe,CAAC;IAC/C,iCAAiC,EAAE,eAAe,CAAC;IAEnD,+BAA+B,EAAE,eAAe,CAAC;IACjD,4BAA4B,EAAE,eAAe,CAAC;IAC9C,0BAA0B,EAAE,eAAe,CAAC;IAE5C,0BAA0B,EAAE,eAAe,CAAC;IAC5C,8BAA8B,EAAE,eAAe,CAAC;IAEhD,gBAAgB,EAAE,eAAe,CAAC;IAClC,oBAAoB,EAAE,eAAe,CAAC;IACtC,2BAA2B,EAAE,eAAe,CAAC;IAC7C,oCAAoC,EAAE,eAAe,CAAC;IAEtD,uCAAuC,EAAE,eAAe,CAAC;IAEzD,iCAAiC,EAAE,eAAe,CAAC;IAEnD,sCAAsC,EAAE,eAAe,CAAC;IAExD,oCAAoC,EAAE,eAAe,CAAC;IACtD,oCAAoC,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C,CAAC"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ //# sourceMappingURL=components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.js","names":[],"sources":["../../../../src/global_styling/variables/components.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\n\nimport { ColorModeSwitch, StrictColorModeSwitch } from '../types';\nimport { _EuiThemeButtonColors } from './buttons';\nimport { _EuiThemeFormColors } from './forms';\n\nexport type _EuiThemeComponentColors = {\n buttonGroupBorderColor: ColorModeSwitch;\n buttonGroupBorderColorSelected: ColorModeSwitch;\n\n badgeBackgroundSubdued: ColorModeSwitch;\n badgeBorderColorHollow: ColorModeSwitch;\n badgeIconButtonBackgroundHover: ColorModeSwitch;\n\n bottomBarBackground: ColorModeSwitch;\n\n breadcrumbsApplicationBackground: ColorModeSwitch;\n breadcrumbsApplicationColor: ColorModeSwitch;\n\n collapsibleNavGroupBackground: ColorModeSwitch;\n collapsibleNavGroupBackgroundDark: ColorModeSwitch;\n\n dataGridVerticalLineBorderColor: ColorModeSwitch;\n dataGridRowBackgroundStriped: ColorModeSwitch;\n dataGridRowBackgroundHover: ColorModeSwitch;\n\n dragDropDraggingBackground: ColorModeSwitch;\n dragDropDraggingOverBackground: ColorModeSwitch;\n\n headerBackground: ColorModeSwitch;\n headerDarkBackground: ColorModeSwitch;\n headerDarkSearchBorderColor: ColorModeSwitch;\n headerDarkSectionItemBackgroundFocus: ColorModeSwitch;\n\n filterSelectItemBackgroundFocusDisabled: ColorModeSwitch;\n\n flyoutCloseButtonInsideBackground: ColorModeSwitch;\n\n keyPadMenuItemBackgroundDisabledSelect: ColorModeSwitch;\n\n listGroupItemBackgroundPrimaryActive: ColorModeSwitch;\n listGroupItemBackgroundSubduedActive: ColorModeSwitch;\n listGroupItemBackgroundHover: ColorModeSwitch;\n listGroupItemBackgroundPrimaryHover: ColorModeSwitch;\n\n markBackground: ColorModeSwitch;\n\n markdownFormatTableBorderColor: ColorModeSwitch;\n\n popoverPanelBackground: ColorModeSwitch;\n popoverFooterBorderColor: ColorModeSwitch;\n\n scrollbarTrackColor: ColorModeSwitch;\n\n sideNavItemEmphasizedBackground: ColorModeSwitch;\n\n selectableListItemBorderColor: ColorModeSwitch;\n\n superDatePickerBackgroundSuccees: ColorModeSwitch;\n\n switchBackgroundOn: ColorModeSwitch;\n switchBackgroundOff: ColorModeSwitch;\n switchUncompressedBackgroundDisabled: ColorModeSwitch;\n switchCompressedBackgroundDisabled: ColorModeSwitch;\n switchMiniBackgroundDisabled: ColorModeSwitch;\n switchThumbBackgroundDisabled: ColorModeSwitch;\n switchThumbBorderOn: ColorModeSwitch;\n switchThumbBorderOff: ColorModeSwitch;\n switchIconDisabled: ColorModeSwitch;\n\n tableRowBackgroundHover: ColorModeSwitch;\n tableRowBackgroundSelected: ColorModeSwitch;\n tableRowBackgroundSelectedHover: ColorModeSwitch;\n tableRowInteractiveBackgroundHover: ColorModeSwitch;\n tableRowInteractiveBackgroundFocus: ColorModeSwitch;\n tableCellSortableIconColor: ColorModeSwitch;\n\n tooltipBackground: ColorModeSwitch;\n tooltipBorder: ColorModeSwitch;\n tooltipBorderFloating: ColorModeSwitch;\n\n tourFooterBackground: ColorModeSwitch;\n\n treeViewItemBackgroundHover: ColorModeSwitch;\n};\n\nexport type _EuiThemeComponents = {\n buttons: StrictColorModeSwitch<_EuiThemeButtonColors>;\n forms: StrictColorModeSwitch<_EuiThemeFormColors>;\n /**\n * internal-only key that holds temporary tokens used while migrating themes\n */\n LIGHT: _EuiThemeComponentColors;\n DARK: _EuiThemeComponentColors;\n};\n"],"mappings":"","ignoreList":[]}