@elastic/eui-theme-borealis 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 (76) hide show
  1. package/LICENSE.txt +6 -0
  2. package/README.md +19 -0
  3. package/lib/.tsbuildinfo +1 -0
  4. package/lib/index.d.ts +8 -0
  5. package/lib/index.js +32 -0
  6. package/lib/index.js.map +1 -0
  7. package/lib/variables/_animation.d.ts +4 -0
  8. package/lib/variables/_animation.js +23 -0
  9. package/lib/variables/_animation.js.map +1 -0
  10. package/lib/variables/_borders.d.ts +2 -0
  11. package/lib/variables/_borders.js +23 -0
  12. package/lib/variables/_borders.js.map +1 -0
  13. package/lib/variables/_breakpoint.d.ts +2 -0
  14. package/lib/variables/_breakpoint.js +15 -0
  15. package/lib/variables/_breakpoint.js.map +1 -0
  16. package/lib/variables/_buttons.d.ts +2 -0
  17. package/lib/variables/_buttons.js +98 -0
  18. package/lib/variables/_buttons.js.map +1 -0
  19. package/lib/variables/_colors.d.ts +2 -0
  20. package/lib/variables/_colors.js +16 -0
  21. package/lib/variables/_colors.js.map +1 -0
  22. package/lib/variables/_colors_dark.d.ts +7 -0
  23. package/lib/variables/_colors_dark.js +58 -0
  24. package/lib/variables/_colors_dark.js.map +1 -0
  25. package/lib/variables/_colors_light.d.ts +7 -0
  26. package/lib/variables/_colors_light.js +59 -0
  27. package/lib/variables/_colors_light.js.map +1 -0
  28. package/lib/variables/_components.d.ts +2 -0
  29. package/lib/variables/_components.js +125 -0
  30. package/lib/variables/_components.js.map +1 -0
  31. package/lib/variables/_forms.d.ts +38 -0
  32. package/lib/variables/_forms.js +51 -0
  33. package/lib/variables/_forms.js.map +1 -0
  34. package/lib/variables/_levels.d.ts +2 -0
  35. package/lib/variables/_levels.js +19 -0
  36. package/lib/variables/_levels.js.map +1 -0
  37. package/lib/variables/_size.d.ts +3 -0
  38. package/lib/variables/_size.js +22 -0
  39. package/lib/variables/_size.js.map +1 -0
  40. package/lib/variables/_states.d.ts +2 -0
  41. package/lib/variables/_states.js +17 -0
  42. package/lib/variables/_states.js.map +1 -0
  43. package/lib/variables/_typography.d.ts +5 -0
  44. package/lib/variables/_typography.js +50 -0
  45. package/lib/variables/_typography.js.map +1 -0
  46. package/lib/variables/colors/_colors_dark.d.ts +15 -0
  47. package/lib/variables/colors/_colors_dark.js +144 -0
  48. package/lib/variables/colors/_colors_dark.js.map +1 -0
  49. package/lib/variables/colors/_colors_light.d.ts +15 -0
  50. package/lib/variables/colors/_colors_light.js +144 -0
  51. package/lib/variables/colors/_colors_light.js.map +1 -0
  52. package/lib/variables/colors/_primitive_colors.d.ts +205 -0
  53. package/lib/variables/colors/_primitive_colors.js +213 -0
  54. package/lib/variables/colors/_primitive_colors.js.map +1 -0
  55. package/lib/variables/colors/_semantic_colors.d.ts +144 -0
  56. package/lib/variables/colors/_semantic_colors.js +153 -0
  57. package/lib/variables/colors/_semantic_colors.js.map +1 -0
  58. package/lib/variables/colors/index.d.ts +2 -0
  59. package/lib/variables/colors/index.js +17 -0
  60. package/lib/variables/colors/index.js.map +1 -0
  61. package/licenses/ELASTIC-LICENSE-2.0.md +93 -0
  62. package/licenses/SSPL-LICENSE.md +557 -0
  63. package/package.json +60 -0
  64. package/src/theme_dark.scss +8 -0
  65. package/src/theme_light.scss +7 -0
  66. package/src/variables/_borders.scss +3 -0
  67. package/src/variables/_buttons.scss +18 -0
  68. package/src/variables/_font_weight.scss +10 -0
  69. package/src/variables/_form.scss +12 -0
  70. package/src/variables/_index.scss +9 -0
  71. package/src/variables/_page.scss +1 -0
  72. package/src/variables/_states.scss +11 -0
  73. package/src/variables/_typography.scss +64 -0
  74. package/src/variables/colors/_colors_dark.scss +121 -0
  75. package/src/variables/colors/_colors_light.scss +123 -0
  76. package/src/variables/colors/_semantic_colors.scss +211 -0
@@ -0,0 +1,59 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+ import { computed, } from '@elastic/eui-theme-common';
9
+ /*
10
+ * LIGHT THEME
11
+ */
12
+ export const brand_colors = {
13
+ primary: '#00ff00', // test color for distinction
14
+ accent: '#F04E98',
15
+ success: '#00BFB3',
16
+ warning: '#FEC514',
17
+ danger: '#BD271E',
18
+ };
19
+ export const brand_text_colors = {
20
+ // temp. static values to remove dependency on makeHighContrastColor
21
+ primaryText: '#006bb8',
22
+ accentText: '#ba3d76',
23
+ successText: '#00BFB3',
24
+ warningText: '#83650a',
25
+ dangerText: '#bd271e',
26
+ };
27
+ export const shade_colors = {
28
+ emptyShade: '#FFF',
29
+ lightestShade: '#F1F4FA',
30
+ lightShade: '#D3DAE6',
31
+ mediumShade: '#98A2B3',
32
+ darkShade: '#69707D',
33
+ darkestShade: '#343741',
34
+ fullShade: '#000',
35
+ };
36
+ export const special_colors = {
37
+ // temp. static values to remove dependency on tint and makeDisabledContrastColor
38
+ body: '#f7f8fc',
39
+ highlight: '#fff9e8',
40
+ disabled: '#ABB4C4',
41
+ disabledText: '#a2abba',
42
+ shadow: computed(({ colors }) => colors.ink),
43
+ };
44
+ export const text_colors = {
45
+ text: computed(([darkestShade]) => darkestShade, ['colors.darkestShade']),
46
+ // temp. static values to remove dependency on tint and makeDisabledContrastColor
47
+ title: '#1a1c21',
48
+ subduedText: '#646a77',
49
+ link: computed(([primaryText]) => primaryText, ['colors.primaryText']),
50
+ };
51
+ export const light_colors = {
52
+ ...brand_colors,
53
+ ...shade_colors,
54
+ ...special_colors,
55
+ // Need to come after special colors so they can react to `body`
56
+ ...brand_text_colors,
57
+ ...text_colors,
58
+ };
59
+ //# sourceMappingURL=_colors_light.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_colors_light.js","sourceRoot":"","sources":["../../src/variables/_colors_light.ts"],"names":[],"mappings":"AAA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BAAoB,CAAC,CAAC;CACvE,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAwB;IAC/C,GAAG,YAAY;IACf,GAAG,YAAY;IACf,GAAG,cAAc;IACjB,gEAAgE;IAChE,GAAG,iBAAiB;IACpB,GAAG,WAAW;CACf,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { _EuiThemeComponents } from '@elastic/eui-theme-common';
2
+ export declare const components: _EuiThemeComponents;
@@ -0,0 +1,125 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+ import { SEMANTIC_COLORS } from './colors/_semantic_colors';
9
+ import { dark_background_colors, dark_border_colors, dark_text_colors, } from './colors/_colors_dark';
10
+ import { buttons } from './_buttons';
11
+ import { forms } from './_forms';
12
+ import { background_colors, border_colors, text_colors, } from './colors/_colors_light';
13
+ const component_colors = {
14
+ buttonGroupBorderColor: border_colors.borderBasePlain,
15
+ buttonGroupBorderColorSelected: border_colors.borderBasePlain,
16
+ badgeBackgroundSubdued: background_colors.backgroundBaseSubdued,
17
+ badgeBorderColorHollow: border_colors.borderBasePlain,
18
+ badgeIconButtonBackgroundHover: background_colors.backgroundBaseInteractiveHover,
19
+ breadcrumbsApplicationBackground: background_colors.backgroundLightText,
20
+ breadcrumbsApplicationColor: text_colors.textSubdued,
21
+ bottomBarBackground: SEMANTIC_COLORS.plainDark,
22
+ collapsibleNavGroupBackground: background_colors.backgroundBaseSubdued,
23
+ collapsibleNavGroupBackgroundDark: dark_background_colors.backgroundBaseSubdued,
24
+ dataGridVerticalLineBorderColor: border_colors.borderBasePlain,
25
+ dataGridRowBackgroundStriped: background_colors.backgroundBaseSubdued,
26
+ dataGridRowBackgroundHover: background_colors.backgroundBaseInteractiveHover,
27
+ dragDropDraggingBackground: background_colors.backgroundBaseSuccess,
28
+ dragDropDraggingOverBackground: background_colors.backgroundLightSuccess,
29
+ filterSelectItemBackgroundFocusDisabled: background_colors.backgroundBaseDisabled,
30
+ flyoutCloseButtonInsideBackground: background_colors.backgroundBasePlain,
31
+ headerBackground: background_colors.backgroundBasePlain,
32
+ headerDarkBackground: dark_background_colors.backgroundBasePlain,
33
+ headerDarkSearchBorderColor: dark_border_colors.borderBaseFormsControl,
34
+ headerDarkSectionItemBackgroundFocus: dark_background_colors.backgroundBasePrimary,
35
+ keyPadMenuItemBackgroundDisabledSelect: background_colors.backgroundBaseDisabled,
36
+ listGroupItemBackgroundPrimaryActive: background_colors.backgroundBaseInteractiveSelect,
37
+ listGroupItemBackgroundSubduedActive: background_colors.backgroundBaseInteractiveSelect,
38
+ listGroupItemBackgroundHover: background_colors.backgroundBaseInteractiveHover,
39
+ listGroupItemBackgroundPrimaryHover: background_colors.backgroundBaseInteractiveHover,
40
+ markBackground: background_colors.backgroundLightPrimary,
41
+ markdownFormatTableBorderColor: border_colors.borderBasePlain,
42
+ popoverPanelBackground: background_colors.backgroundBasePlain,
43
+ popoverFooterBorderColor: border_colors.borderBaseSubdued,
44
+ scrollbarTrackColor: SEMANTIC_COLORS.shade15,
45
+ sideNavItemEmphasizedBackground: background_colors.backgroundBaseInteractiveSelect,
46
+ selectableListItemBorderColor: border_colors.borderBaseSubdued,
47
+ superDatePickerBackgroundSuccees: background_colors.backgroundBaseSuccess,
48
+ switchBackgroundOn: background_colors.backgroundFilledPrimary,
49
+ switchBackgroundOff: background_colors.backgroundFilledText,
50
+ switchUncompressedBackgroundDisabled: background_colors.backgroundBaseFormsControlDisabled,
51
+ switchCompressedBackgroundDisabled: background_colors.backgroundBaseFormsControlDisabled,
52
+ switchMiniBackgroundDisabled: background_colors.backgroundBaseFormsControlDisabled,
53
+ switchThumbBackgroundDisabled: background_colors.backgroundBasePlain,
54
+ switchThumbBorderOn: background_colors.backgroundFilledPrimary,
55
+ switchThumbBorderOff: background_colors.backgroundFilledText,
56
+ switchIconDisabled: forms.LIGHT.iconDisabled,
57
+ tableRowBackgroundHover: background_colors.backgroundBaseInteractiveHover,
58
+ tableRowBackgroundSelected: background_colors.backgroundBaseInteractiveSelect,
59
+ tableRowBackgroundSelectedHover: background_colors.backgroundBaseInteractiveSelect,
60
+ tableRowInteractiveBackgroundHover: background_colors.backgroundBaseInteractiveSelect,
61
+ tableRowInteractiveBackgroundFocus: background_colors.backgroundBaseInteractiveSelect,
62
+ tableCellSortableIconColor: background_colors.backgroundFilledText,
63
+ tooltipBackground: dark_background_colors.backgroundBaseSubdued,
64
+ tooltipBorder: dark_border_colors.borderBaseSubdued,
65
+ tooltipBorderFloating: border_colors.borderBaseFloating,
66
+ tourFooterBackground: background_colors.backgroundBaseSubdued,
67
+ treeViewItemBackgroundHover: background_colors.backgroundBaseInteractiveHover,
68
+ };
69
+ export const components = {
70
+ buttons,
71
+ forms,
72
+ LIGHT: component_colors,
73
+ DARK: {
74
+ ...component_colors,
75
+ buttonGroupBorderColor: dark_border_colors.borderBasePlain,
76
+ buttonGroupBorderColorSelected: dark_border_colors.borderBasePlain,
77
+ badgeBackgroundSubdued: dark_background_colors.backgroundBaseSubdued,
78
+ badgeBorderColorHollow: dark_border_colors.borderBasePlain,
79
+ badgeIconButtonBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
80
+ breadcrumbsApplicationBackground: dark_background_colors.backgroundLightText,
81
+ breadcrumbsApplicationColor: dark_text_colors.textSubdued,
82
+ collapsibleNavGroupBackground: dark_background_colors.backgroundBaseSubdued,
83
+ collapsibleNavGroupBackgroundDark: dark_background_colors.backgroundBaseSubdued,
84
+ dataGridVerticalLineBorderColor: dark_border_colors.borderBasePlain,
85
+ dataGridRowBackgroundStriped: dark_background_colors.backgroundBaseSubdued,
86
+ dataGridRowBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
87
+ dragDropDraggingBackground: dark_background_colors.backgroundBaseSuccess,
88
+ dragDropDraggingOverBackground: dark_background_colors.backgroundLightSuccess,
89
+ filterSelectItemBackgroundFocusDisabled: dark_background_colors.backgroundBaseDisabled,
90
+ flyoutCloseButtonInsideBackground: dark_background_colors.backgroundBasePlain,
91
+ headerBackground: dark_background_colors.backgroundBasePlain,
92
+ keyPadMenuItemBackgroundDisabledSelect: dark_background_colors.backgroundBaseDisabled,
93
+ listGroupItemBackgroundPrimaryActive: dark_background_colors.backgroundBaseInteractiveSelect,
94
+ listGroupItemBackgroundSubduedActive: dark_background_colors.backgroundBaseInteractiveSelect,
95
+ listGroupItemBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
96
+ listGroupItemBackgroundPrimaryHover: dark_background_colors.backgroundBaseInteractiveHover,
97
+ markBackground: dark_background_colors.backgroundLightPrimary,
98
+ markdownFormatTableBorderColor: dark_border_colors.borderBasePlain,
99
+ popoverPanelBackground: dark_background_colors.backgroundBasePlain,
100
+ popoverFooterBorderColor: dark_border_colors.borderBaseSubdued,
101
+ scrollbarTrackColor: SEMANTIC_COLORS.shade145,
102
+ sideNavItemEmphasizedBackground: dark_background_colors.backgroundBaseInteractiveSelect,
103
+ selectableListItemBorderColor: dark_border_colors.borderBaseSubdued,
104
+ switchBackgroundOn: dark_background_colors.backgroundFilledPrimary,
105
+ switchBackgroundOff: dark_background_colors.backgroundFilledText,
106
+ switchUncompressedBackgroundDisabled: dark_background_colors.backgroundBaseFormsControlDisabled,
107
+ switchCompressedBackgroundDisabled: dark_background_colors.backgroundBaseFormsControlDisabled,
108
+ switchMiniBackgroundDisabled: dark_background_colors.backgroundBaseFormsControlDisabled,
109
+ switchThumbBackgroundDisabled: dark_background_colors.backgroundBasePlain,
110
+ switchThumbBorderOn: dark_background_colors.backgroundFilledPrimary,
111
+ switchThumbBorderOff: dark_background_colors.backgroundFilledText,
112
+ switchIconDisabled: forms.DARK.iconDisabled,
113
+ superDatePickerBackgroundSuccees: dark_background_colors.backgroundBaseSuccess,
114
+ tableRowBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
115
+ tableRowBackgroundSelected: dark_background_colors.backgroundBaseInteractiveSelect,
116
+ tableRowBackgroundSelectedHover: dark_background_colors.backgroundBaseInteractiveSelect,
117
+ tableRowInteractiveBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
118
+ tableRowInteractiveBackgroundFocus: dark_background_colors.backgroundBaseInteractiveHover,
119
+ tableCellSortableIconColor: dark_background_colors.backgroundFilledText,
120
+ tooltipBorderFloating: dark_border_colors.borderBaseFloating,
121
+ tourFooterBackground: dark_background_colors.backgroundBaseSubdued,
122
+ treeViewItemBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
123
+ },
124
+ };
125
+ //# sourceMappingURL=_components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_components.js","sourceRoot":"","sources":["../../src/variables/_components.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAEhC,MAAM,gBAAgB,GAA6B;IACjD,sBAAsB,EAAE,aAAa,CAAC,eAAe;IACrD,8BAA8B,EAAE,aAAa,CAAC,eAAe;IAE7D,sBAAsB,EAAE,iBAAiB,CAAC,qBAAqB;IAC/D,sBAAsB,EAAE,aAAa,CAAC,eAAe;IACrD,8BAA8B,EAC5B,iBAAiB,CAAC,8BAA8B;IAElD,gCAAgC,EAAE,iBAAiB,CAAC,mBAAmB;IACvE,2BAA2B,EAAE,WAAW,CAAC,WAAW;IAEpD,mBAAmB,EAAE,eAAe,CAAC,SAAS;IAE9C,6BAA6B,EAAE,iB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;QACnE,oBAAoB,EAAE,sBAAsB,CAAC,oBAAoB;QACjE,kBAAkB,EAAE,KAAK,CAAC,IAAI,CAAC,YAAY;QAE3C,gCAAgC,EAC9B,sBAAsB,CAAC,qBAAqB;QAE9C,uBAAuB,EACrB,sBAAsB,CAAC,8BAA8B;QACvD,0BAA0B,EACxB,sBAAsB,CAAC,+BAA+B;QACxD,+BAA+B,EAC7B,sBAAsB,CAAC,+BAA+B;QACxD,kCAAkC,EAChC,sBAAsB,CAAC,8BAA8B;QACvD,kCAAkC,EAChC,sBAAsB,CAAC,8BAA8B;QACvD,0BAA0B,EAAE,sBAAsB,CAAC,oBAAoB;QAEvE,qBAAqB,EAAE,kBAAkB,CAAC,kBAAkB;QAE5D,oBAAoB,EAAE,sBAAsB,CAAC,qBAAqB;QAElE,2BAA2B,EACzB,sBAAsB,CAAC,8BAA8B;KACxD;CACF,CAAC"}
@@ -0,0 +1,38 @@
1
+ export declare const forms: {
2
+ LIGHT: {
3
+ background: import("@elastic/eui-theme-common").ColorModeSwitch;
4
+ backgroundDisabled: import("@elastic/eui-theme-common").ColorModeSwitch;
5
+ backgroundReadOnly: import("@elastic/eui-theme-common").ColorModeSwitch;
6
+ backgroundFocused: import("@elastic/eui-theme-common").ColorModeSwitch;
7
+ backgroundAutofilled: import("@elastic/eui-theme-common").ColorModeSwitch;
8
+ prependBackground: import("@elastic/eui-theme-common").ColorModeSwitch;
9
+ border: import("@elastic/eui-theme-common").ColorModeSwitch;
10
+ borderAutofilled: import("@elastic/eui-theme-common").ColorModeSwitch;
11
+ controlBorder: import("@elastic/eui-theme-common").ColorModeSwitch;
12
+ controlBorderSelected: import("@elastic/eui-theme-common").ColorModeSwitch;
13
+ controlBorderDisabled: import("@elastic/eui-theme-common").ColorModeSwitch;
14
+ controlBackgroundUnselected: string;
15
+ controlBackgroundDisabled: import("@elastic/eui-theme-common").ColorModeSwitch;
16
+ colorHasPlaceholder: import("@elastic/eui-theme-common").ColorModeSwitch;
17
+ colorDisabled: import("@elastic/eui-theme-common").ColorModeSwitch;
18
+ iconDisabled: import("@elastic/eui-theme-common").ColorModeSwitch;
19
+ };
20
+ DARK: {
21
+ background: import("@elastic/eui-theme-common").ColorModeSwitch;
22
+ backgroundDisabled: import("@elastic/eui-theme-common").ColorModeSwitch;
23
+ backgroundReadOnly: import("@elastic/eui-theme-common").ColorModeSwitch;
24
+ backgroundFocused: import("@elastic/eui-theme-common").ColorModeSwitch;
25
+ backgroundAutofilled: import("@elastic/eui-theme-common").ColorModeSwitch;
26
+ prependBackground: import("@elastic/eui-theme-common").ColorModeSwitch;
27
+ border: import("@elastic/eui-theme-common").ColorModeSwitch;
28
+ borderAutofilled: import("@elastic/eui-theme-common").ColorModeSwitch;
29
+ controlBorder: import("@elastic/eui-theme-common").ColorModeSwitch;
30
+ controlBorderSelected: import("@elastic/eui-theme-common").ColorModeSwitch;
31
+ controlBorderDisabled: import("@elastic/eui-theme-common").ColorModeSwitch;
32
+ controlBackgroundUnselected: string;
33
+ controlBackgroundDisabled: import("@elastic/eui-theme-common").ColorModeSwitch;
34
+ colorHasPlaceholder: import("@elastic/eui-theme-common").ColorModeSwitch;
35
+ colorDisabled: import("@elastic/eui-theme-common").ColorModeSwitch;
36
+ iconDisabled: import("@elastic/eui-theme-common").ColorModeSwitch;
37
+ };
38
+ };
@@ -0,0 +1,51 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+ import { dark_background_colors, dark_border_colors, dark_text_colors, } from './colors/_colors_dark';
9
+ import { background_colors, border_colors, text_colors, } from './colors/_colors_light';
10
+ const _forms = {
11
+ background: background_colors.backgroundBasePlain,
12
+ backgroundDisabled: background_colors.backgroundBaseDisabled,
13
+ backgroundReadOnly: background_colors.backgroundBasePlain,
14
+ backgroundFocused: background_colors.backgroundBasePlain,
15
+ backgroundAutofilled: background_colors.backgroundBasePrimary,
16
+ prependBackground: background_colors.backgroundBaseFormsPrepend,
17
+ border: border_colors.borderBasePlain,
18
+ borderAutofilled: border_colors.borderBasePrimary,
19
+ controlBorder: border_colors.borderBaseFormsControl,
20
+ controlBorderSelected: border_colors.borderStrongPrimary,
21
+ controlBorderDisabled: border_colors.borderBaseDisabled,
22
+ controlBackgroundUnselected: 'transparent',
23
+ controlBackgroundDisabled: background_colors.backgroundBaseFormsControlDisabled,
24
+ colorHasPlaceholder: text_colors.textSubdued,
25
+ colorDisabled: text_colors.textDisabled,
26
+ iconDisabled: text_colors.textDisabled,
27
+ };
28
+ const _dark_forms = {
29
+ ..._forms,
30
+ background: dark_background_colors.backgroundBasePlain,
31
+ backgroundDisabled: dark_background_colors.backgroundBaseDisabled,
32
+ backgroundReadOnly: dark_background_colors.backgroundBasePlain,
33
+ backgroundFocused: dark_background_colors.backgroundBasePlain,
34
+ backgroundAutofilled: dark_background_colors.backgroundBasePrimary,
35
+ prependBackground: dark_background_colors.backgroundBaseFormsPrepend,
36
+ border: dark_border_colors.borderBasePlain,
37
+ borderAutofilled: dark_border_colors.borderBasePrimary,
38
+ controlBorder: dark_border_colors.borderBaseFormsControl,
39
+ controlBorderSelected: dark_border_colors.borderStrongPrimary,
40
+ controlBorderDisabled: dark_border_colors.borderBaseDisabled,
41
+ controlBackgroundUnselected: 'transparent',
42
+ controlBackgroundDisabled: dark_background_colors.backgroundBaseFormsControlDisabled,
43
+ colorHasPlaceholder: dark_text_colors.textSubdued,
44
+ colorDisabled: dark_text_colors.textDisabled,
45
+ iconDisabled: dark_text_colors.textDisabled,
46
+ };
47
+ export const forms = {
48
+ LIGHT: _forms,
49
+ DARK: _dark_forms,
50
+ };
51
+ //# sourceMappingURL=_forms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_forms.js","sourceRoot":"","sources":["../../src/variables/_forms.ts"],"names":[],"mapp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AAiB;IACtD,aAAa,EAAE,kBAAkB,CAAC,sBAAsB;IACxD,qBAAqB,EAAE,kBAAkB,CAAC,mBAAmB;IAC7D,qBAAqB,EAAE,kBAAkB,CAAC,kBAAkB;IAC5D,2BAA2B,EAAE,aAAa;IAC1C,yBAAyB,EACvB,sBAAsB,CAAC,kCAAkC;IAC3D,mBAAmB,EAAE,gBAAgB,CAAC,WAAW;IACjD,aAAa,EAAE,gBAAgB,CAAC,YAAY;IAC5C,YAAY,EAAE,gBAAgB,CAAC,YAAY;CAC5C,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,WAAW;CAClB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { _EuiThemeLevels } from '@elastic/eui-theme-common';
2
+ export declare const levels: _EuiThemeLevels;
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+ export const levels = {
9
+ toast: 9000,
10
+ modal: 8000,
11
+ mask: 6000,
12
+ navigation: 6000,
13
+ menu: 2000,
14
+ header: 1000,
15
+ flyout: 1000,
16
+ maskBelowHeader: 1000,
17
+ content: 0,
18
+ };
19
+ //# sourceMappingURL=_levels.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_levels.js","sourceRoot":"","sources":["../../src/variables/_levels.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,MAAM,GAAoB;IACrC,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,IAAI;IACX,IAAI,EAAE,IAAI;IACV,UAAU,EAAE,IAAI;IAChB,IAAI,EAAE,IAAI;IACV,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,OAAO,EAAE,CAAC;CACX,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type _EuiThemeBase, type _EuiThemeSizes } from '@elastic/eui-theme-common';
2
+ export declare const base: _EuiThemeBase;
3
+ export declare const size: _EuiThemeSizes;
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+ import { computed, sizeToPixel, } from '@elastic/eui-theme-common';
9
+ export const base = 16;
10
+ export const size = {
11
+ xxs: computed(sizeToPixel(0.125)),
12
+ xs: computed(sizeToPixel(0.25)),
13
+ s: computed(sizeToPixel(0.5)),
14
+ m: computed(sizeToPixel(0.75)),
15
+ base: computed(sizeToPixel()),
16
+ l: computed(sizeToPixel(1.5)),
17
+ xl: computed(sizeToPixel(2)),
18
+ xxl: computed(sizeToPixel(2.5)),
19
+ xxxl: computed(sizeToPixel(3)),
20
+ xxxxl: computed(sizeToPixel(4)),
21
+ };
22
+ //# sourceMappingURL=_size.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_size.js","sourceRoot":"","sources":["../../src/variables/_size.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,QAAQ,EACR,WAAW,GAGZ,MAAM,2BAA2B,CAAC;AAEnC,MAAM,CAAC,MAAM,IAAI,GAAkB,EAAE,CAAC;AAEtC,MAAM,CAAC,MAAM,IAAI,GAAmB;IAClC,GAAG,EAAE,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACjC,EAAE,EAAE,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC7B,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC9B,IAAI,EAAE,QAAQ,CAAC,WAAW,EAAE,CAAC;IAC7B,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC7B,EAAE,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5B,GAAG,EAAE,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC/B,IAAI,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC9B,KAAK,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { type _EuiThemeFocus } from '@elastic/eui-theme-common';
2
+ export declare const focus: _EuiThemeFocus;
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+ import { computed, sizeToPixel, } from '@elastic/eui-theme-common';
9
+ export const focus = {
10
+ // Focus ring
11
+ color: 'currentColor',
12
+ width: computed(sizeToPixel(0.125)),
13
+ // Focus background
14
+ transparency: { LIGHT: 0.1, DARK: 0.2 },
15
+ backgroundColor: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
16
+ };
17
+ //# sourceMappingURL=_states.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_states.js","sourceRoot":"","sources":["../../src/variables/_states.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,QAAQ,EACR,WAAW,GAEZ,MAAM,2BAA2B,CAAC;AAEnC,MAAM,CAAC,MAAM,KAAK,GAAmB;IACnC,aAAa;IACb,KAAK,EAAE,cAAc;IACrB,KAAK,EAAE,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACnC,mBAAmB;IACnB,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE;IACvC,eAAe,EAAE,QAAQ,CACvB,CAAC,CAAC,8BAA8B,CAAC,EAAE,EAAE,CAAC,8BAA8B,EACpE,CAAC,uCAAuC,CAAC,CAC1C;CACF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type _EuiThemeFont, type _EuiThemeFontBase, type _EuiThemeFontScales, type _EuiThemeFontWeights } from '@elastic/eui-theme-common';
2
+ export declare const fontScale: _EuiThemeFontScales;
3
+ export declare const fontBase: _EuiThemeFontBase;
4
+ export declare const fontWeight: _EuiThemeFontWeights;
5
+ export declare const font: _EuiThemeFont;
@@ -0,0 +1,50 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+ import { computed, } from '@elastic/eui-theme-common';
9
+ // Typographic scale -- loosely based on Major Third (1.200)
10
+ export const fontScale = {
11
+ xxxs: 0.5625, // 9px
12
+ xxs: 0.6875, // 11px
13
+ xs: 0.75, // 12px
14
+ s: 0.875, // 14px
15
+ m: 1, // 16px
16
+ l: 1.25, // 20px
17
+ xl: 1.5, // 24px
18
+ xxl: 1.875, // 30px
19
+ };
20
+ // Families & base font settings
21
+ export const fontBase = {
22
+ family: "'Inter', BlinkMacSystemFont, Helvetica, Arial, sans-serif",
23
+ familyCode: "'Roboto Mono', Menlo, Courier, monospace",
24
+ familySerif: 'Georgia, Times, Times New Roman, serif',
25
+ // Careful using ligatures. Code editors like ACE will often error because of width calculations
26
+ featureSettings: "'calt' 1, 'kern' 1, 'liga' 1",
27
+ defaultUnits: 'rem',
28
+ baseline: computed(([base]) => base / 4, ['base']),
29
+ lineHeightMultiplier: 1.5,
30
+ };
31
+ export const fontWeight = {
32
+ light: 300,
33
+ regular: 400,
34
+ medium: 450,
35
+ semiBold: 500,
36
+ bold: 600,
37
+ };
38
+ export const font = {
39
+ ...fontBase,
40
+ scale: fontScale,
41
+ weight: fontWeight,
42
+ body: {
43
+ scale: 's',
44
+ weight: 'regular',
45
+ },
46
+ title: {
47
+ weight: 'bold',
48
+ },
49
+ };
50
+ //# sourceMappingURL=_typography.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_typography.js","sourceRoot":"","sources":["../../src/variables/_typography.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,QAAQ,GAKT,MAAM,2BAA2B,CAAC;AAEnC,4DAA4D;AAC5D,MAAM,CAAC,MAAM,SAAS,GAAwB;IAC5C,IAAI,EAAE,MAAM,EAAE,MAAM;IACpB,GAAG,EAAE,MAAM,EAAE,OAAO;IACpB,EAAE,EAAE,IAAI,EAAE,OAAO;IACjB,CAAC,EAAE,KAAK,EAAE,OAAO;IACjB,CAAC,EAAE,CAAC,EAAE,OAAO;IACb,CAAC,EAAE,IAAI,EAAE,OAAO;IAChB,EAAE,EAAE,GAAG,EAAE,OAAO;IAChB,GAAG,EAAE,KAAK,EAAE,OAAO;CACpB,CAAC;AAEF,gCAAgC;AAChC,MAAM,CAAC,MAAM,QAAQ,GAAsB;IACzC,MAAM,EAAE,2DAA2D;IACnE,UAAU,EAAE,0CAA0C;IACtD,WAAW,EAAE,wCAAwC;IAErD,gGAAgG;IAChG,eAAe,EAAE,8BAA8B;IAC/C,YAAY,EAAE,KAAK;IAEnB,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClD,oBAAoB,EAAE,GAAG;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAyB;IAC9C,KAAK,EAAE,GAAG;IACV,OAAO,EAAE,GAAG;IACZ,MAAM,EAAE,GAAG;IACX,QAAQ,EAAE,GAAG;IACb,IAAI,EAAE,GAAG;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAkB;IACjC,GAAG,QAAQ;IACX,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,UAAU;IAClB,IAAI,EAAE;QACJ,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,SAAS;KAClB;IACD,KAAK,EAAE;QACL,MAAM,EAAE,MAAM;KACf;CACF,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type _EuiThemeBrandColors, type _EuiThemeBrandTextColors, type _EuiThemeShadeColors, type _EuiThemeSpecialColors, type _EuiThemeTextColors, type _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
2
+ export declare const dark_brand_colors: _EuiThemeBrandColors;
3
+ export declare const dark_brand_text_colors: _EuiThemeBrandTextColors;
4
+ export declare const dark_text_colors: _EuiThemeTextColors;
5
+ export declare const dark_shades: _EuiThemeShadeColors;
6
+ export declare const dark_background_colors: _EuiThemeBackgroundColors;
7
+ /**
8
+ * NOTE: temp values for migration - these should not be used,
9
+ * use backgroundBase tokens instead
10
+ * TODO: remove once obsolete
11
+ */
12
+ export declare const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
13
+ export declare const dark_border_colors: _EuiThemeBorderColors;
14
+ export declare const dark_special_colors: _EuiThemeSpecialColors;
15
+ export declare const dark_colors: _EuiThemeColorsMode;
@@ -0,0 +1,144 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+ import { PRIMITIVE_COLORS } from './_primitive_colors';
9
+ import { SEMANTIC_COLORS } from './_semantic_colors';
10
+ /*
11
+ * DARK THEME
12
+ */
13
+ export const dark_brand_colors = {
14
+ primary: SEMANTIC_COLORS.primary70,
15
+ accent: SEMANTIC_COLORS.accent70,
16
+ accentSecondary: SEMANTIC_COLORS.accentSecondary70,
17
+ success: SEMANTIC_COLORS.success60,
18
+ warning: SEMANTIC_COLORS.warning40,
19
+ danger: SEMANTIC_COLORS.danger70,
20
+ };
21
+ export const dark_brand_text_colors = {
22
+ /* Legacy colors */
23
+ primaryText: SEMANTIC_COLORS.primary60,
24
+ accentText: SEMANTIC_COLORS.accent60,
25
+ successText: SEMANTIC_COLORS.success60,
26
+ warningText: SEMANTIC_COLORS.warning30,
27
+ dangerText: SEMANTIC_COLORS.danger60,
28
+ /* New colors */
29
+ textPrimary: SEMANTIC_COLORS.primary60,
30
+ textAccent: SEMANTIC_COLORS.accent60,
31
+ textAccentSecondary: SEMANTIC_COLORS.accentSecondary60,
32
+ textSuccess: SEMANTIC_COLORS.success60,
33
+ textWarning: SEMANTIC_COLORS.warning30,
34
+ textDanger: SEMANTIC_COLORS.danger60,
35
+ };
36
+ export const dark_text_colors = {
37
+ /* Legacy colors */
38
+ text: SEMANTIC_COLORS.shade20,
39
+ title: SEMANTIC_COLORS.shade15,
40
+ subduedText: SEMANTIC_COLORS.shade40,
41
+ link: SEMANTIC_COLORS.primary60,
42
+ /* New colors */
43
+ textParagraph: SEMANTIC_COLORS.shade20,
44
+ textHeading: SEMANTIC_COLORS.shade15,
45
+ textSubdued: SEMANTIC_COLORS.shade40,
46
+ textDisabled: SEMANTIC_COLORS.shade60,
47
+ textInverse: SEMANTIC_COLORS.plainDark,
48
+ };
49
+ export const dark_shades = {
50
+ emptyShade: SEMANTIC_COLORS.shade145,
51
+ lightestShade: SEMANTIC_COLORS.shade135,
52
+ lightShade: SEMANTIC_COLORS.shade125,
53
+ mediumShade: SEMANTIC_COLORS.shade95,
54
+ darkShade: SEMANTIC_COLORS.shade75,
55
+ darkestShade: SEMANTIC_COLORS.shade30,
56
+ fullShade: SEMANTIC_COLORS.plainLight,
57
+ };
58
+ export const dark_background_colors = {
59
+ backgroundBasePrimary: SEMANTIC_COLORS.primary140,
60
+ backgroundBaseAccent: SEMANTIC_COLORS.accent140,
61
+ backgroundBaseAccentSecondary: SEMANTIC_COLORS.accentSecondary140,
62
+ backgroundBaseSuccess: SEMANTIC_COLORS.success140,
63
+ backgroundBaseWarning: SEMANTIC_COLORS.warning140,
64
+ backgroundBaseDanger: SEMANTIC_COLORS.danger140,
65
+ backgroundBaseSubdued: SEMANTIC_COLORS.plainDark,
66
+ backgroundBasePlain: SEMANTIC_COLORS.shade145,
67
+ backgroundBaseDisabled: SEMANTIC_COLORS.shade130,
68
+ backgroundBaseFormsPrepend: SEMANTIC_COLORS.shade125,
69
+ backgroundBaseFormsControlDisabled: SEMANTIC_COLORS.shade120,
70
+ backgroundBaseInteractiveHover: PRIMITIVE_COLORS.transparent.white10,
71
+ backgroundBaseInteractiveSelect: SEMANTIC_COLORS.shade130,
72
+ backgroundBaseInteractiveOverlay: SEMANTIC_COLORS.shadeTransparent80,
73
+ backgroundBaseSkeletonEdge: PRIMITIVE_COLORS.transparent.white10,
74
+ backgroundBaseSkeletonMiddle: PRIMITIVE_COLORS.transparent.white30,
75
+ backgroundLightPrimary: SEMANTIC_COLORS.primary130,
76
+ backgroundLightAccent: SEMANTIC_COLORS.accent130,
77
+ backgroundLightAccentSecondary: SEMANTIC_COLORS.accentSecondary130,
78
+ backgroundLightSuccess: SEMANTIC_COLORS.success130,
79
+ backgroundLightWarning: SEMANTIC_COLORS.warning130,
80
+ backgroundLightDanger: SEMANTIC_COLORS.danger130,
81
+ backgroundLightText: SEMANTIC_COLORS.shade130,
82
+ backgroundFilledPrimary: SEMANTIC_COLORS.primary60,
83
+ backgroundFilledAccent: SEMANTIC_COLORS.accent60,
84
+ backgroundFilledAccentSecondary: SEMANTIC_COLORS.accentSecondary60,
85
+ backgroundFilledSuccess: SEMANTIC_COLORS.success60,
86
+ backgroundFilledWarning: SEMANTIC_COLORS.warning40,
87
+ backgroundFilledDanger: SEMANTIC_COLORS.danger60,
88
+ backgroundFilledText: SEMANTIC_COLORS.shade60,
89
+ };
90
+ /**
91
+ * NOTE: temp values for migration - these should not be used,
92
+ * use backgroundBase tokens instead
93
+ * TODO: remove once obsolete
94
+ */
95
+ export const dark_transparent_background_colors = {
96
+ backgroundTransparent: PRIMITIVE_COLORS.transparent.white0,
97
+ backgroundTransparentPrimary: dark_background_colors.backgroundBasePrimary,
98
+ backgroundTransparentAccent: dark_background_colors.backgroundBaseAccent,
99
+ backgroundTransparentAccentSecondary: dark_background_colors.backgroundBaseAccent,
100
+ backgroundTransparentSuccess: dark_background_colors.backgroundBaseSuccess,
101
+ backgroundTransparentWarning: dark_background_colors.backgroundBaseWarning,
102
+ backgroundTransparentDanger: dark_background_colors.backgroundBaseDanger,
103
+ backgroundTransparentSubdued: dark_background_colors.backgroundBaseSubdued,
104
+ backgroundTransparentPlain: dark_background_colors.backgroundBasePlain,
105
+ };
106
+ export const dark_border_colors = {
107
+ borderBasePrimary: SEMANTIC_COLORS.primary120,
108
+ borderBaseAccent: SEMANTIC_COLORS.accent120,
109
+ borderBaseAccentSecondary: SEMANTIC_COLORS.accentSecondary120,
110
+ borderBaseSuccess: SEMANTIC_COLORS.success120,
111
+ borderBaseWarning: SEMANTIC_COLORS.warning120,
112
+ borderBaseDanger: SEMANTIC_COLORS.danger120,
113
+ borderBasePlain: SEMANTIC_COLORS.shade110,
114
+ borderBaseSubdued: SEMANTIC_COLORS.shade120,
115
+ borderBaseDisabled: SEMANTIC_COLORS.shade120,
116
+ borderBaseFloating: SEMANTIC_COLORS.shade120,
117
+ borderBaseFormsColorSwatch: PRIMITIVE_COLORS.transparent.white30,
118
+ borderBaseFormsControl: SEMANTIC_COLORS.shade80,
119
+ borderStrongPrimary: SEMANTIC_COLORS.primary60,
120
+ borderStrongAccent: SEMANTIC_COLORS.accent60,
121
+ borderStrongAccentSecondary: SEMANTIC_COLORS.accentSecondary60,
122
+ borderStrongSuccess: SEMANTIC_COLORS.success60,
123
+ borderStrongWarning: SEMANTIC_COLORS.warning40,
124
+ borderStrongDanger: SEMANTIC_COLORS.danger60,
125
+ };
126
+ export const dark_special_colors = {
127
+ body: SEMANTIC_COLORS.plainDark,
128
+ highlight: SEMANTIC_COLORS.primary100,
129
+ disabled: SEMANTIC_COLORS.shade70,
130
+ disabledText: SEMANTIC_COLORS.shade120,
131
+ shadow: PRIMITIVE_COLORS.black,
132
+ };
133
+ export const dark_colors = {
134
+ ...SEMANTIC_COLORS,
135
+ ...dark_brand_colors,
136
+ ...dark_shades,
137
+ ...dark_special_colors,
138
+ ...dark_brand_text_colors,
139
+ ...dark_text_colors,
140
+ ...dark_background_colors,
141
+ ...dark_transparent_background_colors,
142
+ ...dark_border_colors,
143
+ };
144
+ //# sourceMappingURL=_colors_dark.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_colors_dark.js","sourceRoot":"","sources":["../../../src/variables/colors/_colors_dark.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAcH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;GAEG;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAyB;IACrD,OAAO,EAAE,eAAe,CAAC,SAAS;IAClC,MAAM,EAAE,eAAe,CAAC,QAAQ;IAChC,eAAe,EAAE,eAAe,CAAC,iBAAiB;IAClD,OAAO,EAAE,eAAe,CAAC,SAAS;IAClC,OAAO,EAAE,eAAe,CAAC,SAAS;IAClC,MAAM,EAAE,eAAe,CAAC,QAAQ;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAA6B;IAC9D,mBAAmB;IACnB,WAAW,EAAE,eAAe,CAAC,SAAS;IACtC,UAAU,EAAE,eAAe,CAAC,QA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S;IAC/B,SAAS,EAAE,eAAe,CAAC,UAAU;IACrC,QAAQ,EAAE,eAAe,CAAC,OAAO;IACjC,YAAY,EAAE,eAAe,CAAC,QAAQ;IACtC,MAAM,EAAE,gBAAgB,CAAC,KAAK;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAwB;IAC9C,GAAG,eAAe;IAClB,GAAG,iBAAiB;IACpB,GAAG,WAAW;IACd,GAAG,mBAAmB;IACtB,GAAG,sBAAsB;IACzB,GAAG,gBAAgB;IACnB,GAAG,sBAAsB;IACzB,GAAG,kCAAkC;IACrC,GAAG,kBAAkB;CACtB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type _EuiThemeBrandColors, type _EuiThemeBrandTextColors, type _EuiThemeShadeColors, type _EuiThemeSpecialColors, type _EuiThemeTextColors, type _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
2
+ export declare const brand_colors: _EuiThemeBrandColors;
3
+ export declare const brand_text_colors: _EuiThemeBrandTextColors;
4
+ export declare const text_colors: _EuiThemeTextColors;
5
+ export declare const shade_colors: _EuiThemeShadeColors;
6
+ export declare const background_colors: _EuiThemeBackgroundColors;
7
+ /**
8
+ * NOTE: temp values for migration - these should not be used,
9
+ * use backgroundBase tokens instead
10
+ * TODO: remove once obsolete
11
+ */
12
+ export declare const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
13
+ export declare const border_colors: _EuiThemeBorderColors;
14
+ export declare const special_colors: _EuiThemeSpecialColors;
15
+ export declare const light_colors: _EuiThemeColorsMode;