@elastic/eui-theme-borealis 0.1.0 → 1.0.0-snapshot.1746441787383

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 (88) hide show
  1. package/lib/cjs/eui_theme_borealis_dark.json.d.js.map +1 -1
  2. package/lib/cjs/eui_theme_borealis_light.json.d.js.map +1 -1
  3. package/lib/cjs/index.d.ts.map +1 -1
  4. package/lib/cjs/index.js +5 -2
  5. package/lib/cjs/index.js.map +1 -1
  6. package/lib/cjs/variables/_borders.js +1 -1
  7. package/lib/cjs/variables/_borders.js.map +1 -1
  8. package/lib/cjs/variables/_buttons.d.ts.map +1 -1
  9. package/lib/cjs/variables/_buttons.js +334 -84
  10. package/lib/cjs/variables/_buttons.js.map +1 -1
  11. package/lib/cjs/variables/_components.d.ts.map +1 -1
  12. package/lib/cjs/variables/_components.js +307 -126
  13. package/lib/cjs/variables/_components.js.map +1 -1
  14. package/lib/cjs/variables/_forms.d.ts +32 -32
  15. package/lib/cjs/variables/_forms.d.ts.map +1 -1
  16. package/lib/cjs/variables/_forms.js +91 -47
  17. package/lib/cjs/variables/_forms.js.map +1 -1
  18. package/lib/cjs/variables/_overrides.d.ts +3 -0
  19. package/lib/cjs/variables/_overrides.d.ts.map +1 -0
  20. package/lib/cjs/variables/_overrides.js +24 -0
  21. package/lib/cjs/variables/_overrides.js.map +1 -0
  22. package/lib/cjs/variables/colors/_colors_dark.d.ts.map +1 -1
  23. package/lib/cjs/variables/colors/_colors_dark.js +15 -1
  24. package/lib/cjs/variables/colors/_colors_dark.js.map +1 -1
  25. package/lib/cjs/variables/colors/_colors_light.d.ts.map +1 -1
  26. package/lib/cjs/variables/colors/_colors_light.js +14 -0
  27. package/lib/cjs/variables/colors/_colors_light.js.map +1 -1
  28. package/lib/cjs/variables/colors/_colors_severity.d.ts +9 -0
  29. package/lib/cjs/variables/colors/_colors_severity.d.ts.map +1 -0
  30. package/lib/cjs/variables/colors/_colors_severity.js +24 -0
  31. package/lib/cjs/variables/colors/_colors_severity.js.map +1 -0
  32. package/lib/cjs/variables/colors/_colors_vis.d.ts.map +1 -1
  33. package/lib/cjs/variables/colors/_colors_vis.js +0 -15
  34. package/lib/cjs/variables/colors/_colors_vis.js.map +1 -1
  35. package/lib/cjs/variables/colors/_primitive_colors.d.ts +28 -0
  36. package/lib/cjs/variables/colors/_primitive_colors.d.ts.map +1 -1
  37. package/lib/cjs/variables/colors/_primitive_colors.js +28 -0
  38. package/lib/cjs/variables/colors/_primitive_colors.js.map +1 -1
  39. package/lib/cjs/variables/colors/_semantic_colors.d.ts +45 -3
  40. package/lib/cjs/variables/colors/_semantic_colors.d.ts.map +1 -1
  41. package/lib/cjs/variables/colors/_semantic_colors.js +45 -3
  42. package/lib/cjs/variables/colors/_semantic_colors.js.map +1 -1
  43. package/lib/cjs/variables/colors/index.d.ts.map +1 -1
  44. package/lib/cjs/variables/colors/index.js +3 -1
  45. package/lib/cjs/variables/colors/index.js.map +1 -1
  46. package/lib/esm/index.js +3 -0
  47. package/lib/esm/index.js.map +1 -1
  48. package/lib/esm/variables/_borders.js +1 -1
  49. package/lib/esm/variables/_borders.js.map +1 -1
  50. package/lib/esm/variables/_buttons.js +167 -79
  51. package/lib/esm/variables/_buttons.js.map +1 -1
  52. package/lib/esm/variables/_components.js +68 -125
  53. package/lib/esm/variables/_components.js.map +1 -1
  54. package/lib/esm/variables/_forms.d.ts +32 -32
  55. package/lib/esm/variables/_forms.js +16 -35
  56. package/lib/esm/variables/_forms.js.map +1 -1
  57. package/lib/esm/variables/_overrides.d.ts +2 -0
  58. package/lib/esm/variables/_overrides.js +17 -0
  59. package/lib/esm/variables/_overrides.js.map +1 -0
  60. package/lib/esm/variables/colors/_colors_dark.js +15 -1
  61. package/lib/esm/variables/colors/_colors_dark.js.map +1 -1
  62. package/lib/esm/variables/colors/_colors_light.js +14 -0
  63. package/lib/esm/variables/colors/_colors_light.js.map +1 -1
  64. package/lib/esm/variables/colors/_colors_severity.d.ts +8 -0
  65. package/lib/esm/variables/colors/_colors_severity.js +17 -0
  66. package/lib/esm/variables/colors/_colors_severity.js.map +1 -0
  67. package/lib/esm/variables/colors/_colors_vis.js +0 -15
  68. package/lib/esm/variables/colors/_colors_vis.js.map +1 -1
  69. package/lib/esm/variables/colors/_primitive_colors.d.ts +28 -0
  70. package/lib/esm/variables/colors/_primitive_colors.js +28 -0
  71. package/lib/esm/variables/colors/_primitive_colors.js.map +1 -1
  72. package/lib/esm/variables/colors/_semantic_colors.d.ts +45 -3
  73. package/lib/esm/variables/colors/_semantic_colors.js +45 -3
  74. package/lib/esm/variables/colors/_semantic_colors.js.map +1 -1
  75. package/lib/esm/variables/colors/index.js +2 -0
  76. package/lib/esm/variables/colors/index.js.map +1 -1
  77. package/lib/eui_theme_borealis_dark.json +24 -19
  78. package/lib/eui_theme_borealis_dark.json.d.ts +20 -15
  79. package/lib/eui_theme_borealis_light.json +23 -18
  80. package/lib/eui_theme_borealis_light.json.d.ts +20 -15
  81. package/package.json +5 -6
  82. package/src/variables/_borders.scss +11 -0
  83. package/src/variables/_buttons.scss +2 -0
  84. package/src/variables/_index.scss +8 -0
  85. package/src/variables/colors/_colors_dark.scss +13 -1
  86. package/src/variables/colors/_colors_light.scss +12 -0
  87. package/src/variables/colors/_colors_severity.scss +7 -0
  88. package/src/variables/colors/_semantic_colors.scss +38 -2
@@ -5,91 +5,179 @@
5
5
  * in compliance with, at your election, the Elastic License 2.0 or the Server
6
6
  * Side Public License, v 1.
7
7
  */
8
+ import { computed, } from '@elastic/eui-theme-common';
8
9
  import { SEMANTIC_COLORS } from './colors/_semantic_colors';
9
- import { background_colors, brand_text_colors, text_colors, } from './colors/_colors_light';
10
- import { dark_background_colors, dark_brand_text_colors, dark_text_colors, } from './colors/_colors_dark';
10
+ const getTokenByVariant = (buttonVariant, tokens) => {
11
+ switch (buttonVariant) {
12
+ case 'refresh':
13
+ return tokens.refresh;
14
+ default: {
15
+ return tokens.classic;
16
+ }
17
+ }
18
+ };
11
19
  const _buttons = {
12
- backgroundPrimary: background_colors.backgroundLightPrimary,
13
- backgroundAccent: background_colors.backgroundLightAccent,
14
- backgroundAccentSecondary: background_colors.backgroundLightAccentSecondary,
15
- backgroundSuccess: background_colors.backgroundLightSuccess,
16
- backgroundWarning: background_colors.backgroundLightWarning,
17
- backgroundDanger: background_colors.backgroundLightDanger,
18
- backgroundText: background_colors.backgroundLightText,
19
- backgroundDisabled: background_colors.backgroundBaseDisabled,
20
- backgroundFilledPrimary: background_colors.backgroundFilledPrimary,
21
- backgroundFilledAccent: background_colors.backgroundFilledAccent,
22
- backgroundFilledAccentSecondary: background_colors.backgroundFilledAccentSecondary,
23
- backgroundFilledSuccess: background_colors.backgroundFilledSuccess,
24
- backgroundFilledWarning: background_colors.backgroundFilledWarning,
25
- backgroundFilledDanger: background_colors.backgroundFilledDanger,
26
- backgroundFilledText: background_colors.backgroundFilledText,
27
- backgroundFilledDisabled: background_colors.backgroundBaseDisabled,
28
- // Temp. mapping to support more variants in old theme
29
- backgroundEmptyPrimaryHover: background_colors.backgroundBaseInteractiveHover,
30
- backgroundEmptyAccentHover: background_colors.backgroundBaseInteractiveHover,
31
- backgroundEmptyAccentSecondaryHover: background_colors.backgroundBaseInteractiveHover,
32
- backgroundEmptySuccessHover: background_colors.backgroundBaseInteractiveHover,
33
- backgroundEmptyWarningHover: background_colors.backgroundBaseInteractiveHover,
34
- backgroundEmptyDangerHover: background_colors.backgroundBaseInteractiveHover,
35
- backgroundEmptyTextHover: background_colors.backgroundBaseInteractiveHover,
36
- textColorPrimary: brand_text_colors.textPrimary,
37
- textColorAccent: brand_text_colors.textAccent,
38
- textColorAccentSecondary: brand_text_colors.textAccentSecondary,
39
- textColorSuccess: brand_text_colors.textSuccess,
40
- textColorWarning: brand_text_colors.textWarning,
41
- textColorDanger: brand_text_colors.textDanger,
42
- textColorText: text_colors.textParagraph,
43
- textColorDisabled: text_colors.textDisabled,
44
- textColorFilledPrimary: text_colors.textInverse,
45
- textColorFilledAccent: text_colors.textInverse,
46
- textColorFilledAccentSecondary: text_colors.textInverse,
47
- textColorFilledSuccess: text_colors.textInverse,
20
+ backgroundPrimary: computed(([backgroundLightPrimary]) => backgroundLightPrimary, ['colors.backgroundLightPrimary']),
21
+ backgroundAccent: computed(([backgroundLightAccent]) => backgroundLightAccent, ['colors.backgroundLightAccent']),
22
+ backgroundAccentSecondary: computed(([backgroundLightAccentSecondary]) => backgroundLightAccentSecondary, ['colors.backgroundLightAccentSecondary']),
23
+ backgroundNeutral: computed(([backgroundLightNeutral]) => backgroundLightNeutral, ['colors.backgroundLightNeutral']),
24
+ backgroundSuccess: computed(([backgroundLightSuccess]) => backgroundLightSuccess, ['colors.backgroundLightSuccess']),
25
+ backgroundWarning: computed(([backgroundLightWarning]) => backgroundLightWarning, ['colors.backgroundLightWarning']),
26
+ backgroundRisk: computed(([backgroundLightRisk]) => backgroundLightRisk, ['colors.backgroundLightRisk']),
27
+ backgroundDanger: computed(([backgroundLightDanger]) => backgroundLightDanger, ['colors.backgroundLightDanger']),
28
+ backgroundText: computed(([buttonVariant, backgroundBasePlain, backgroundLightText]) => {
29
+ return getTokenByVariant(buttonVariant, {
30
+ refresh: backgroundBasePlain,
31
+ classic: backgroundLightText,
32
+ });
33
+ }, [
34
+ 'flags.buttonVariant',
35
+ 'colors.backgroundBasePlain',
36
+ 'colors.backgroundLightText',
37
+ ]),
38
+ backgroundDisabled: computed(([backgroundBaseDisabled]) => backgroundBaseDisabled, ['colors.backgroundBaseDisabled']),
39
+ backgroundPrimaryHover: SEMANTIC_COLORS.primary70Alpha12,
40
+ backgroundAccentHover: SEMANTIC_COLORS.accent70Alpha12,
41
+ backgroundAccentSecondaryHover: SEMANTIC_COLORS.accentSecondary70Alpha12,
42
+ backgroundNeutralHover: SEMANTIC_COLORS.neutral70Alpha12,
43
+ backgroundSuccessHover: SEMANTIC_COLORS.success70Alpha12,
44
+ backgroundWarningHover: SEMANTIC_COLORS.warning60Alpha16,
45
+ backgroundRiskHover: SEMANTIC_COLORS.risk60Alpha16,
46
+ backgroundDangerHover: SEMANTIC_COLORS.danger70Alpha12,
47
+ backgroundTextHover: SEMANTIC_COLORS.primary100Alpha8,
48
+ backgroundPrimaryActive: SEMANTIC_COLORS.primary70Alpha16,
49
+ backgroundAccentActive: SEMANTIC_COLORS.accent70Alpha16,
50
+ backgroundAccentSecondaryActive: SEMANTIC_COLORS.accentSecondary70Alpha16,
51
+ backgroundNeutralActive: SEMANTIC_COLORS.neutral70Alpha16,
52
+ backgroundSuccessActive: SEMANTIC_COLORS.success70Alpha16,
53
+ backgroundWarningActive: SEMANTIC_COLORS.warning60Alpha20,
54
+ backgroundRiskActive: SEMANTIC_COLORS.risk60Alpha20,
55
+ backgroundDangerActive: SEMANTIC_COLORS.danger70Alpha16,
56
+ backgroundTextActive: SEMANTIC_COLORS.primary100Alpha12,
57
+ backgroundFilledPrimary: computed(([backgroundFilledPrimary]) => backgroundFilledPrimary, ['colors.backgroundFilledPrimary']),
58
+ backgroundFilledAccent: computed(([backgroundFilledAccent]) => backgroundFilledAccent, ['colors.backgroundFilledAccent']),
59
+ backgroundFilledAccentSecondary: computed(([backgroundFilledAccentSecondary]) => backgroundFilledAccentSecondary, ['colors.backgroundFilledAccentSecondary']),
60
+ backgroundFilledNeutral: computed(([backgroundFilledNeutral]) => backgroundFilledNeutral, ['colors.backgroundFilledNeutral']),
61
+ backgroundFilledSuccess: computed(([backgroundFilledSuccess]) => backgroundFilledSuccess, ['colors.backgroundFilledSuccess']),
62
+ backgroundFilledWarning: computed(([backgroundFilledWarning]) => backgroundFilledWarning, ['colors.backgroundFilledWarning']),
63
+ backgroundFilledRisk: computed(([backgroundFilledRisk]) => backgroundFilledRisk, ['colors.backgroundFilledRisk']),
64
+ backgroundFilledDanger: computed(([backgroundFilledDanger]) => backgroundFilledDanger, ['colors.backgroundFilledDanger']),
65
+ backgroundFilledText: computed(([backgroundFilledText]) => backgroundFilledText, ['colors.backgroundFilledText']),
66
+ backgroundFilledDisabled: computed(([backgroundBaseDisabled]) => backgroundBaseDisabled, ['colors.backgroundBaseDisabled']),
67
+ backgroundFilledPrimaryHover: SEMANTIC_COLORS.primary100,
68
+ backgroundFilledAccentHover: SEMANTIC_COLORS.accent100,
69
+ backgroundFilledAccentSecondaryHover: SEMANTIC_COLORS.accentSecondary100,
70
+ backgroundFilledNeutralHover: SEMANTIC_COLORS.neutral100,
71
+ backgroundFilledSuccessHover: SEMANTIC_COLORS.success100,
72
+ backgroundFilledWarningHover: SEMANTIC_COLORS.warning50,
73
+ backgroundFilledRiskHover: SEMANTIC_COLORS.risk80,
74
+ backgroundFilledDangerHover: SEMANTIC_COLORS.danger100,
75
+ backgroundFilledTextHover: SEMANTIC_COLORS.shade100,
76
+ backgroundFilledPrimaryActive: SEMANTIC_COLORS.primary110,
77
+ backgroundFilledAccentActive: SEMANTIC_COLORS.accent110,
78
+ backgroundFilledAccentSecondaryActive: SEMANTIC_COLORS.accentSecondary110,
79
+ backgroundFilledNeutralActive: SEMANTIC_COLORS.neutral110,
80
+ backgroundFilledSuccessActive: SEMANTIC_COLORS.success110,
81
+ backgroundFilledWarningActive: SEMANTIC_COLORS.warning60,
82
+ backgroundFilledRiskActive: SEMANTIC_COLORS.risk90,
83
+ backgroundFilledDangerActive: SEMANTIC_COLORS.danger110,
84
+ backgroundFilledTextActive: SEMANTIC_COLORS.shade110,
85
+ backgroundEmptyPrimaryHover: SEMANTIC_COLORS.primary70Alpha12,
86
+ backgroundEmptyAccentHover: SEMANTIC_COLORS.accent70Alpha12,
87
+ backgroundEmptyAccentSecondaryHover: SEMANTIC_COLORS.accentSecondary70Alpha12,
88
+ backgroundEmptyNeutralHover: SEMANTIC_COLORS.neutral70Alpha12,
89
+ backgroundEmptySuccessHover: SEMANTIC_COLORS.success70Alpha12,
90
+ backgroundEmptyWarningHover: SEMANTIC_COLORS.warning60Alpha16,
91
+ backgroundEmptyRiskHover: SEMANTIC_COLORS.risk60Alpha16,
92
+ backgroundEmptyDangerHover: SEMANTIC_COLORS.danger70Alpha12,
93
+ backgroundEmptyTextHover: SEMANTIC_COLORS.primary100Alpha8,
94
+ backgroundEmptyPrimaryActive: SEMANTIC_COLORS.primary70Alpha16,
95
+ backgroundEmptyAccentActive: SEMANTIC_COLORS.accent70Alpha16,
96
+ backgroundEmptyAccentSecondaryActive: SEMANTIC_COLORS.accentSecondary70Alpha16,
97
+ backgroundEmptyNeutralActive: SEMANTIC_COLORS.neutral70Alpha16,
98
+ backgroundEmptySuccessActive: SEMANTIC_COLORS.success70Alpha16,
99
+ backgroundEmptyWarningActive: SEMANTIC_COLORS.warning60Alpha20,
100
+ backgroundEmptyRiskActive: SEMANTIC_COLORS.risk60Alpha20,
101
+ backgroundEmptyDangerActive: SEMANTIC_COLORS.danger70Alpha16,
102
+ backgroundEmptyTextActive: SEMANTIC_COLORS.primary100Alpha12,
103
+ textColorPrimary: computed(([textPrimary]) => textPrimary, ['colors.textPrimary']),
104
+ textColorAccent: computed(([textAccent]) => textAccent, ['colors.textAccent']),
105
+ textColorAccentSecondary: computed(([textAccentSecondary]) => textAccentSecondary, ['colors.textAccentSecondary']),
106
+ textColorNeutral: computed(([textNeutral]) => textNeutral, ['colors.textNeutral']),
107
+ textColorSuccess: computed(([textSuccess]) => textSuccess, ['colors.textSuccess']),
108
+ textColorWarning: computed(([textWarning]) => textWarning, ['colors.textWarning']),
109
+ textColorRisk: computed(([textRisk]) => textRisk, ['colors.textRisk']),
110
+ textColorDanger: computed(([textDanger]) => textDanger, ['colors.textDanger']),
111
+ textColorText: computed(([textParagraph]) => textParagraph, ['colors.textParagraph']),
112
+ textColorDisabled: computed(([textDisabled]) => textDisabled, ['colors.textDisabled']),
113
+ textColorFilledPrimary: computed(([textInverse]) => textInverse, ['colors.textInverse']),
114
+ textColorFilledAccent: computed(([textInverse]) => textInverse, ['colors.textInverse']),
115
+ textColorFilledAccentSecondary: computed(([textInverse]) => textInverse, ['colors.textInverse']),
116
+ textColorFilledNeutral: computed(([textInverse]) => textInverse, ['colors.textInverse']),
117
+ textColorFilledSuccess: computed(([textInverse]) => textInverse, ['colors.textInverse']),
48
118
  textColorFilledWarning: SEMANTIC_COLORS.warning110,
49
- textColorFilledDanger: text_colors.textInverse,
50
- textColorFilledText: text_colors.textInverse,
51
- textColorFilledDisabled: text_colors.textDisabled,
119
+ textColorFilledRisk: computed(([textInverse]) => textInverse, ['colors.textInverse']),
120
+ textColorFilledDanger: computed(([textInverse]) => textInverse, ['colors.textInverse']),
121
+ textColorFilledText: computed(([textInverse]) => textInverse, ['colors.textInverse']),
122
+ textColorFilledDisabled: computed(([textDisabled]) => textDisabled, ['colors.textDisabled']),
52
123
  };
53
124
  const _dark_buttons = {
54
- backgroundPrimary: dark_background_colors.backgroundLightPrimary,
55
- backgroundAccent: dark_background_colors.backgroundLightAccent,
56
- backgroundAccentSecondary: dark_background_colors.backgroundLightAccentSecondary,
57
- backgroundSuccess: dark_background_colors.backgroundLightSuccess,
58
- backgroundWarning: dark_background_colors.backgroundLightWarning,
59
- backgroundDanger: dark_background_colors.backgroundLightDanger,
60
- backgroundText: dark_background_colors.backgroundLightText,
61
- backgroundDisabled: dark_background_colors.backgroundBaseDisabled,
62
- backgroundFilledPrimary: dark_background_colors.backgroundFilledPrimary,
63
- backgroundFilledAccent: dark_background_colors.backgroundFilledAccent,
64
- backgroundFilledAccentSecondary: dark_background_colors.backgroundFilledAccentSecondary,
65
- backgroundFilledSuccess: dark_background_colors.backgroundFilledSuccess,
66
- backgroundFilledWarning: dark_background_colors.backgroundFilledWarning,
67
- backgroundFilledDanger: dark_background_colors.backgroundFilledDanger,
68
- backgroundFilledText: dark_background_colors.backgroundFilledText,
69
- backgroundFilledDisabled: dark_background_colors.backgroundBaseDisabled,
70
- backgroundEmptyPrimaryHover: dark_background_colors.backgroundBaseInteractiveHover,
71
- backgroundEmptyAccentHover: dark_background_colors.backgroundBaseInteractiveHover,
72
- backgroundEmptyAccentSecondaryHover: dark_background_colors.backgroundBaseInteractiveHover,
73
- backgroundEmptySuccessHover: dark_background_colors.backgroundBaseInteractiveHover,
74
- backgroundEmptyWarningHover: dark_background_colors.backgroundBaseInteractiveHover,
75
- backgroundEmptyDangerHover: dark_background_colors.backgroundBaseInteractiveHover,
76
- backgroundEmptyTextHover: dark_background_colors.backgroundBaseInteractiveHover,
77
- textColorPrimary: dark_brand_text_colors.textPrimary,
78
- textColorAccent: dark_brand_text_colors.textAccent,
79
- textColorAccentSecondary: dark_brand_text_colors.textAccentSecondary,
80
- textColorSuccess: dark_brand_text_colors.textSuccess,
81
- textColorWarning: dark_brand_text_colors.textWarning,
82
- textColorDanger: dark_brand_text_colors.textDanger,
83
- textColorText: dark_text_colors.textParagraph,
84
- textColorDisabled: dark_text_colors.textDisabled,
85
- textColorFilledPrimary: dark_text_colors.textInverse,
86
- textColorFilledAccent: dark_text_colors.textInverse,
87
- textColorFilledAccentSecondary: dark_text_colors.textInverse,
88
- textColorFilledSuccess: dark_text_colors.textInverse,
125
+ ..._buttons,
126
+ backgroundPrimaryHover: SEMANTIC_COLORS.primary70Alpha16,
127
+ backgroundAccentHover: SEMANTIC_COLORS.accent70Alpha16,
128
+ backgroundAccentSecondaryHover: SEMANTIC_COLORS.accentSecondary70Alpha16,
129
+ backgroundNeutralHover: SEMANTIC_COLORS.neutral70Alpha16,
130
+ backgroundSuccessHover: SEMANTIC_COLORS.success70Alpha16,
131
+ backgroundWarningHover: SEMANTIC_COLORS.warning60Alpha12,
132
+ backgroundRiskHover: SEMANTIC_COLORS.risk60Alpha12,
133
+ backgroundDangerHover: SEMANTIC_COLORS.danger70Alpha16,
134
+ backgroundTextHover: SEMANTIC_COLORS.plainLightAlpha12,
135
+ backgroundPrimaryActive: SEMANTIC_COLORS.primary70Alpha20,
136
+ backgroundAccentActive: SEMANTIC_COLORS.accent70Alpha20,
137
+ backgroundAccentSecondaryActive: SEMANTIC_COLORS.accentSecondary70Alpha20,
138
+ backgroundNeutralActive: SEMANTIC_COLORS.neutral70Alpha20,
139
+ backgroundSuccessActive: SEMANTIC_COLORS.success70Alpha20,
140
+ backgroundWarningActive: SEMANTIC_COLORS.warning60Alpha16,
141
+ backgroundRiskActive: SEMANTIC_COLORS.risk60Alpha16,
142
+ backgroundDangerActive: SEMANTIC_COLORS.danger70Alpha20,
143
+ backgroundTextActive: SEMANTIC_COLORS.plainLightAlpha16,
144
+ backgroundFilledPrimaryHover: SEMANTIC_COLORS.primary70,
145
+ backgroundFilledAccentHover: SEMANTIC_COLORS.accent70,
146
+ backgroundFilledAccentSecondaryHover: SEMANTIC_COLORS.accentSecondary70,
147
+ backgroundFilledNeutralHover: SEMANTIC_COLORS.neutral70,
148
+ backgroundFilledSuccessHover: SEMANTIC_COLORS.success70,
149
+ backgroundFilledWarningHover: SEMANTIC_COLORS.warning50,
150
+ backgroundFilledRiskHover: SEMANTIC_COLORS.risk60,
151
+ backgroundFilledDangerHover: SEMANTIC_COLORS.danger70,
152
+ backgroundFilledTextHover: SEMANTIC_COLORS.shade70,
153
+ backgroundFilledPrimaryActive: SEMANTIC_COLORS.primary80,
154
+ backgroundFilledAccentActive: SEMANTIC_COLORS.accent80,
155
+ backgroundFilledAccentSecondaryActive: SEMANTIC_COLORS.accentSecondary80,
156
+ backgroundFilledNeutralActive: SEMANTIC_COLORS.neutral80,
157
+ backgroundFilledSuccessActive: SEMANTIC_COLORS.success80,
158
+ backgroundFilledWarningActive: SEMANTIC_COLORS.warning60,
159
+ backgroundFilledRiskActive: SEMANTIC_COLORS.risk70,
160
+ backgroundFilledDangerActive: SEMANTIC_COLORS.danger80,
161
+ backgroundFilledTextActive: SEMANTIC_COLORS.shade80,
162
+ backgroundEmptyPrimaryHover: SEMANTIC_COLORS.primary70Alpha16,
163
+ backgroundEmptyAccentHover: SEMANTIC_COLORS.accent70Alpha16,
164
+ backgroundEmptyAccentSecondaryHover: SEMANTIC_COLORS.accentSecondary70Alpha16,
165
+ backgroundEmptyNeutralHover: SEMANTIC_COLORS.neutral70Alpha16,
166
+ backgroundEmptySuccessHover: SEMANTIC_COLORS.success70Alpha16,
167
+ backgroundEmptyWarningHover: SEMANTIC_COLORS.warning60Alpha12,
168
+ backgroundEmptyRiskHover: SEMANTIC_COLORS.risk60Alpha12,
169
+ backgroundEmptyDangerHover: SEMANTIC_COLORS.danger70Alpha16,
170
+ backgroundEmptyTextHover: SEMANTIC_COLORS.plainLightAlpha12,
171
+ backgroundEmptyPrimaryActive: SEMANTIC_COLORS.primary70Alpha20,
172
+ backgroundEmptyAccentActive: SEMANTIC_COLORS.accent70Alpha20,
173
+ backgroundEmptyAccentSecondaryActive: SEMANTIC_COLORS.accentSecondary70Alpha20,
174
+ backgroundEmptySuccessActive: SEMANTIC_COLORS.success70Alpha20,
175
+ backgroundEmptyNeutralActive: SEMANTIC_COLORS.neutral70Alpha20,
176
+ backgroundEmptyWarningActive: SEMANTIC_COLORS.warning60Alpha16,
177
+ backgroundEmptyRiskActive: SEMANTIC_COLORS.risk60Alpha16,
178
+ backgroundEmptyDangerActive: SEMANTIC_COLORS.danger70Alpha20,
179
+ backgroundEmptyTextActive: SEMANTIC_COLORS.plainLightAlpha16,
89
180
  textColorFilledWarning: SEMANTIC_COLORS.warning110,
90
- textColorFilledDanger: dark_text_colors.textInverse,
91
- textColorFilledText: dark_text_colors.textInverse,
92
- textColorFilledDisabled: dark_text_colors.textDisabled,
93
181
  };
94
182
  export const buttons = {
95
183
  LIGHT: _buttons,
@@ -1 +1 @@
1
- {"version":3,"file":"_buttons.js","sourceRoot":"","sources":["../../../src/variables/_buttons.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,QAAQ,GAAG;IACf,iBAAiB,EAAE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2BAA2B,EAAE,eAAe,CAAC,gBAAgB;IAC7D,0BAA0B,EAAE,eAAe,CAAC,eAAe;IAC3D,mCAAmC,EAAE,eAAe,CAAC,wBAAwB;IAC7E,2BAA2B,EAAE,eAAe,CAAC,gBAAgB;IAC7D,2BAA2B,EAAE,eAAe,CAAC,gBAAgB;IAC7D,2BAA2B,EAAE,eAAe,CAAC,gBAAgB;IAC7D,wBAAwB,EAAE,eAAe,CAAC,aAAa;IACvD,0BAA0B,EAAE,eAAe,CAAC,eAAe;IAC3D,wBAAwB,EAAE,eAAe,CAAC,iBAAiB;IAE3D,4BAA4B,EAAE,eAAe,CAAC,gBAAgB;IAC9D,2BAA2B,EAAE,eAAe,CAAC,eAAe;IAC5D,oCAAoC,EAClC,eAAe,CAAC,wBAAwB;IAC1C,4BAA4B,EAAE,eAAe,CAAC,gBAAgB;IAC9D,4BAA4B,EAAE,eAAe,CAAC,gBAAgB;IAC9D,4BAA4B,EAAE,eAAe,CAAC,gBAAgB;IAC9D,yBAAyB,EAAE,eAAe,CAAC,aAAa;IACxD,2BAA2B,EAAE,eAAe,CAAC,eAAe;IAC5D,yBAAyB,EAAE,eAAe,CAAC,iBAAiB;IAE5D,sBAAsB,EAAE,eAAe,CAAC,UAAU;CACnD,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAoB;IACtC,KAAK,EAAE,QAAQ;IACf,IAAI,EAAE,aAAa;CACpB,CAAC"}
@@ -5,29 +5,30 @@
5
5
  * in compliance with, at your election, the Elastic License 2.0 or the Server
6
6
  * Side Public License, v 1.
7
7
  */
8
+ import { computed, } from '@elastic/eui-theme-common';
8
9
  import { SEMANTIC_COLORS } from './colors/_semantic_colors';
9
- import { dark_background_colors, dark_border_colors, dark_brand_text_colors, dark_text_colors, } from './colors/_colors_dark';
10
+ import { dark_background_colors, dark_border_colors, } from './colors/_colors_dark';
11
+ import { border_colors } from './colors/_colors_light';
12
+ import { colorVis } from './colors/_colors_vis';
10
13
  import { buttons } from './_buttons';
11
14
  import { forms } from './_forms';
12
- import { background_colors, border_colors, brand_text_colors, text_colors, } from './colors/_colors_light';
13
- import { colorVis } from './colors/_colors_vis';
14
15
  const component_colors = {
15
- badgeBackground: background_colors.backgroundLightText,
16
- badgeBackgroundSubdued: background_colors.backgroundLightText,
17
- badgeBorderColorHollow: border_colors.borderBasePlain,
18
- badgeIconButtonBackgroundHover: background_colors.backgroundBaseInteractiveHover,
19
- breadcrumbsApplicationBackground: background_colors.backgroundLightText,
20
- breadcrumbsApplicationColor: text_colors.textSubdued,
16
+ badgeBackground: computed(([backgroundLightText]) => backgroundLightText, ['colors.backgroundLightText']),
17
+ badgeBackgroundSubdued: computed(([backgroundLightText]) => backgroundLightText, ['colors.backgroundLightText']),
18
+ badgeBorderColorHollow: computed(([borderBasePlain]) => borderBasePlain, ['colors.borderBasePlain']),
19
+ badgeIconButtonBackgroundHover: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
20
+ breadcrumbsApplicationBackground: computed(([backgroundLightText]) => backgroundLightText, ['colors.backgroundLightText']),
21
+ breadcrumbsApplicationColor: computed(([textSubdued]) => textSubdued, ['colors.textSubdued']),
21
22
  bottomBarBackground: SEMANTIC_COLORS.plainDark,
22
- buttonGroupBackgroundDisabledSelected: background_colors.backgroundBaseFormsControlDisabled,
23
- buttonGroupBorderColor: border_colors.borderBasePlain,
24
- buttonGroupBorderColorSelected: border_colors.borderBasePlain,
25
- buttonGroupFocusColor: brand_text_colors.textPrimary,
26
- codeBackground: background_colors.backgroundBaseHighlighted,
23
+ buttonGroupBackgroundDisabledSelected: computed(([backgroundBaseDisabled]) => backgroundBaseDisabled, ['colors.backgroundBaseDisabled']),
24
+ buttonGroupBorderColor: computed(([borderBasePlain]) => borderBasePlain, ['colors.borderBasePlain']),
25
+ buttonGroupBorderColorSelected: computed(([borderBasePlain]) => borderBasePlain, ['colors.borderBasePlain']),
26
+ buttonGroupFocusColor: SEMANTIC_COLORS.plainDark,
27
+ codeBackground: computed(([backgroundBaseHighlighted]) => backgroundBaseHighlighted, ['colors.backgroundBaseHighlighted']),
27
28
  codeBackgroundSelected: 'inherit',
28
- codeColor: text_colors.textParagraph,
29
+ codeColor: computed(([textParagraph]) => textParagraph, ['colors.textParagraph']),
29
30
  codeInlineColor: colorVis.euiColorVisAsTextLight6,
30
- codeCommentColor: text_colors.textSubdued,
31
+ codeCommentColor: computed(([textSubdued]) => textSubdued, ['colors.textSubdued']),
31
32
  codeSelectorColor: 'inherit',
32
33
  codeStringColor: colorVis.euiColorVisAsTextLight2,
33
34
  codeTagColor: colorVis.euiColorVisAsTextLight1,
@@ -40,71 +41,73 @@ const component_colors = {
40
41
  codeAttributeColor: 'inherit',
41
42
  codeSymbolColor: colorVis.euiColorVisAsTextLight3,
42
43
  codeParamsColor: 'inherit',
43
- codeMetaColor: text_colors.textSubdued,
44
+ codeMetaColor: computed(([textSubdued]) => textSubdued, ['colors.textSubdued']),
44
45
  codeTitleColor: colorVis.euiColorVisAsTextLight4,
45
46
  codeSectionColor: colorVis.euiColorVisAsTextLight3,
46
47
  codeAdditionColor: colorVis.euiColorVisAsTextLight0,
47
48
  codeDeletionColor: colorVis.euiColorVisAsTextLight3,
48
49
  codeSelectorClassColor: 'inherit',
49
50
  codeSelectorIdColor: 'inherit',
50
- collapsibleNavGroupBackground: background_colors.backgroundBaseSubdued,
51
+ collapsibleNavGroupBackground: computed(([backgroundBaseSubdued]) => backgroundBaseSubdued, ['colors.backgroundBaseSubdued']),
51
52
  collapsibleNavGroupBackgroundDark: dark_background_colors.backgroundBaseSubdued,
52
- dataGridBorderColor: border_colors.borderBaseSubdued,
53
- dataGridVerticalLineBorderColor: border_colors.borderBaseSubdued,
54
- dataGridRowBackgroundStriped: background_colors.backgroundBaseSubdued,
55
- dataGridRowBackgroundHover: background_colors.backgroundBaseInteractiveHover,
56
- dataGridRowBackgroundSelect: background_colors.backgroundBaseInteractiveSelect,
57
- dragDropDraggingBackground: background_colors.backgroundBaseSuccess,
58
- dragDropDraggingOverBackground: background_colors.backgroundLightSuccess,
59
- filterSelectItemBackgroundFocusDisabled: background_colors.backgroundBaseDisabled,
60
- flyoutFooterBackground: background_colors.backgroundBaseHighlighted,
61
- flyoutCloseButtonInsideBackground: background_colors.backgroundBasePlain,
62
- headerBackground: background_colors.backgroundBasePlain,
53
+ dataGridBorderColor: computed(([borderBaseSubdued]) => borderBaseSubdued, ['colors.borderBaseSubdued']),
54
+ dataGridVerticalLineBorderColor: computed(([borderBaseSubdued]) => borderBaseSubdued, ['colors.borderBaseSubdued']),
55
+ dataGridRowBackgroundStriped: computed(([backgroundBaseSubdued]) => backgroundBaseSubdued, ['colors.backgroundBaseSubdued']),
56
+ dataGridRowBackgroundHover: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
57
+ dataGridRowBackgroundSelect: computed(([backgroundBaseInteractiveSelect]) => backgroundBaseInteractiveSelect, ['colors.backgroundBaseInteractiveSelect']),
58
+ dragDropDraggingBackground: computed(([backgroundBaseSuccess]) => backgroundBaseSuccess, ['colors.backgroundBaseSuccess']),
59
+ dragDropDraggingOverBackground: computed(([backgroundLightSuccess]) => backgroundLightSuccess, ['colors.backgroundLightSuccess']),
60
+ filterButtonBadgeBackgroundHover: SEMANTIC_COLORS.shade25,
61
+ filterSelectItemBackgroundFocusDisabled: computed(([backgroundBaseDisabled]) => backgroundBaseDisabled, ['colors.backgroundBaseDisabled']),
62
+ flyoutFooterBackground: computed(([backgroundBaseHighlighted]) => backgroundBaseHighlighted, ['colors.backgroundBaseHighlighted']),
63
+ flyoutCloseButtonInsideBackground: computed(([backgroundBasePlain]) => backgroundBasePlain, ['colors.backgroundBasePlain']),
64
+ headerBackground: computed(([backgroundBasePlain]) => backgroundBasePlain, ['colors.backgroundBasePlain']),
63
65
  headerDarkBackground: dark_background_colors.backgroundBasePlain,
64
66
  headerDarkSearchBorderColor: dark_border_colors.borderBasePlain,
65
67
  headerDarkSectionItemBackgroundFocus: dark_background_colors.backgroundBasePrimary,
66
- keyPadMenuItemBackgroundDisabledSelect: background_colors.backgroundBaseDisabled,
67
- listGroupItemBackgroundPrimaryActive: background_colors.backgroundBaseInteractiveSelect,
68
- listGroupItemBackgroundSubduedActive: background_colors.backgroundBaseInteractiveSelect,
69
- listGroupItemBackgroundHover: background_colors.backgroundBaseInteractiveHover,
70
- listGroupItemBackgroundPrimaryHover: background_colors.backgroundBaseInteractiveHover,
68
+ keyPadMenuItemBackgroundDisabledSelect: computed(([backgroundBaseDisabled]) => backgroundBaseDisabled, ['colors.backgroundBaseDisabled']),
69
+ listGroupItemBackgroundPrimaryActive: computed(([backgroundBaseInteractiveSelect]) => backgroundBaseInteractiveSelect, ['colors.backgroundBaseInteractiveSelect']),
70
+ listGroupItemBackgroundSubduedActive: computed(([backgroundBaseInteractiveSelect]) => backgroundBaseInteractiveSelect, ['colors.backgroundBaseInteractiveSelect']),
71
+ listGroupItemBackgroundHover: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
72
+ listGroupItemBackgroundPrimaryHover: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
73
+ // we don't want to inherit overrides (e.g. HCM)
71
74
  loadingSpinnerBorder: border_colors.borderBasePlain,
72
- loadingSpinnerHighlight: border_colors.borderStrongPrimary,
75
+ loadingSpinnerHighlight: computed(([borderStrongPrimary]) => borderStrongPrimary, ['colors.borderStrongPrimary']),
73
76
  loadingChartMonoBackground0: SEMANTIC_COLORS.shade20,
74
77
  loadingChartMonoBackground1: SEMANTIC_COLORS.shade30,
75
78
  loadingChartMonoBackground2: SEMANTIC_COLORS.shade40,
76
79
  loadingChartMonoBackground3: SEMANTIC_COLORS.shade50,
77
- markBackground: background_colors.backgroundLightPrimary,
78
- markdownFormatTableBorderColor: border_colors.borderBasePlain,
79
- overlayMaskBackground: background_colors.backgroundBaseInteractiveOverlay,
80
+ markBackground: computed(([backgroundLightPrimary]) => backgroundLightPrimary, ['colors.backgroundLightPrimary']),
81
+ markdownFormatTableBorderColor: computed(([borderBasePlain]) => borderBasePlain, ['colors.borderBasePlain']),
82
+ overlayMaskBackground: computed(([backgroundBaseInteractiveOverlay]) => backgroundBaseInteractiveOverlay, ['colors.backgroundBaseInteractiveOverlay']),
80
83
  overlayMaskBackgroundHighContrast: `rgba(${SEMANTIC_COLORS.shade140RGB}, 0.9)`,
81
- popoverPanelBackground: background_colors.backgroundBasePlain,
82
- popoverFooterBorderColor: border_colors.borderBaseSubdued,
84
+ popoverPanelBackground: computed(([backgroundBasePlain]) => backgroundBasePlain, ['colors.backgroundBasePlain']),
85
+ popoverFooterBorderColor: computed(([borderBaseSubdued]) => borderBaseSubdued, ['colors.borderBaseSubdued']),
83
86
  scrollbarTrackColor: SEMANTIC_COLORS.shade15,
84
- sideNavItemEmphasizedBackground: background_colors.backgroundBaseInteractiveSelect,
85
- selectableListItemBorderColor: border_colors.borderBaseSubdued,
87
+ sideNavItemEmphasizedBackground: computed(([backgroundBaseInteractiveSelect]) => backgroundBaseInteractiveSelect, ['colors.backgroundBaseInteractiveSelect']),
88
+ selectableListItemBorderColor: computed(([borderBaseSubdued]) => borderBaseSubdued, ['colors.borderBaseSubdued']),
86
89
  skeletonBackgroundSkeletonMiddleHighContrast: `rgba(${SEMANTIC_COLORS.shade100RGB}, 0.04)`,
87
- superDatePickerBackgroundSuccees: background_colors.backgroundBaseSuccess,
88
- switchBackgroundOn: background_colors.backgroundFilledPrimary,
89
- switchBackgroundOff: background_colors.backgroundFilledText,
90
- switchUncompressedBackgroundDisabled: background_colors.backgroundBaseFormsControlDisabled,
91
- switchCompressedBackgroundDisabled: background_colors.backgroundBaseFormsControlDisabled,
92
- switchMiniBackgroundDisabled: background_colors.backgroundBaseFormsControlDisabled,
93
- switchThumbBackgroundDisabled: background_colors.backgroundBasePlain,
94
- switchThumbBorderOn: background_colors.backgroundFilledPrimary,
95
- switchThumbBorderOff: background_colors.backgroundFilledText,
90
+ superDatePickerBackgroundSuccees: computed(([backgroundBaseSuccess]) => backgroundBaseSuccess, ['colors.backgroundBaseSuccess']),
91
+ switchBackgroundOn: computed(([backgroundFilledPrimary]) => backgroundFilledPrimary, ['colors.backgroundFilledPrimary']),
92
+ switchBackgroundOff: computed(([backgroundFilledText]) => backgroundFilledText, ['colors.backgroundFilledText']),
93
+ switchUncompressedBackgroundDisabled: computed(([backgroundBaseFormsControlDisabled]) => backgroundBaseFormsControlDisabled, ['colors.backgroundBaseFormsControlDisabled']),
94
+ switchCompressedBackgroundDisabled: computed(([backgroundBaseFormsControlDisabled]) => backgroundBaseFormsControlDisabled, ['colors.backgroundBaseFormsControlDisabled']),
95
+ switchMiniBackgroundDisabled: computed(([backgroundBaseFormsControlDisabled]) => backgroundBaseFormsControlDisabled, ['colors.backgroundBaseFormsControlDisabled']),
96
+ switchThumbBackgroundDisabled: computed(([backgroundBasePlain]) => backgroundBasePlain, ['colors.backgroundBasePlain']),
97
+ switchThumbBorderOn: computed(([backgroundFilledPrimary]) => backgroundFilledPrimary, ['colors.backgroundFilledPrimary']),
98
+ switchThumbBorderOff: computed(([backgroundFilledText]) => backgroundFilledText, ['colors.backgroundFilledText']),
96
99
  switchIconDisabled: forms.LIGHT.iconDisabled,
97
- tableRowBackgroundHover: background_colors.backgroundBaseInteractiveHover,
98
- tableRowBackgroundSelected: background_colors.backgroundBaseInteractiveSelect,
99
- tableRowBackgroundSelectedHover: background_colors.backgroundBaseInteractiveSelect,
100
- tableRowInteractiveBackgroundHover: background_colors.backgroundBaseInteractiveSelect,
101
- tableRowInteractiveBackgroundFocus: background_colors.backgroundBaseInteractiveSelect,
102
- tableCellSortableIconColor: background_colors.backgroundFilledText,
100
+ tableRowBackgroundHover: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
101
+ tableRowBackgroundSelected: computed(([backgroundBaseInteractiveSelect]) => backgroundBaseInteractiveSelect, ['colors.backgroundBaseInteractiveSelect']),
102
+ tableRowBackgroundSelectedHover: computed(([backgroundBaseInteractiveSelect]) => backgroundBaseInteractiveSelect, ['colors.backgroundBaseInteractiveSelect']),
103
+ tableRowInteractiveBackgroundHover: computed(([backgroundBaseInteractiveSelect]) => backgroundBaseInteractiveSelect, ['colors.backgroundBaseInteractiveSelect']),
104
+ tableRowInteractiveBackgroundFocus: computed(([backgroundBaseInteractiveSelect]) => backgroundBaseInteractiveSelect, ['colors.backgroundBaseInteractiveSelect']),
105
+ tableCellSortableIconColor: computed(([backgroundFilledText]) => backgroundFilledText, ['colors.backgroundFilledText']),
103
106
  tooltipBackground: dark_background_colors.backgroundBaseSubdued,
104
107
  tooltipBorder: dark_border_colors.borderBaseSubdued,
105
- tooltipBorderFloating: border_colors.borderBaseFloating,
106
- tourFooterBackground: background_colors.backgroundBaseHighlighted,
107
- treeViewItemBackgroundHover: background_colors.backgroundBaseInteractiveHover,
108
+ tooltipBorderFloating: computed(([borderBaseFloating]) => borderBaseFloating, ['colors.borderBaseFloating']),
109
+ tourFooterBackground: computed(([backgroundBaseHighlighted]) => backgroundBaseHighlighted, ['colors.backgroundBaseHighlighted']),
110
+ treeViewItemBackgroundHover: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
108
111
  };
109
112
  export const components = {
110
113
  buttons,
@@ -112,92 +115,32 @@ export const components = {
112
115
  LIGHT: component_colors,
113
116
  DARK: {
114
117
  ...component_colors,
115
- badgeBackground: dark_background_colors.backgroundLightText,
116
- badgeBackgroundSubdued: dark_background_colors.backgroundLightText,
117
- badgeBorderColorHollow: dark_border_colors.borderBasePlain,
118
- badgeIconButtonBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
119
- breadcrumbsApplicationBackground: dark_background_colors.backgroundLightText,
120
- breadcrumbsApplicationColor: dark_text_colors.textSubdued,
121
- buttonGroupBackgroundDisabledSelected: dark_background_colors.backgroundBaseFormsControlDisabled,
122
- buttonGroupBorderColor: dark_border_colors.borderBasePlain,
123
- buttonGroupBorderColorSelected: dark_border_colors.borderBasePlain,
124
- buttonGroupFocusColor: dark_brand_text_colors.textPrimary,
125
- codeBackground: dark_background_colors.backgroundBaseHighlighted,
126
- codeBackgroundSelected: 'inherit',
127
- codeColor: dark_text_colors.textParagraph,
118
+ buttonGroupFocusColor: SEMANTIC_COLORS.plainLight,
128
119
  codeInlineColor: colorVis.euiColorVisAsTextDark6,
129
- codeCommentColor: dark_text_colors.textSubdued,
130
- codeSelectorColor: 'inherit',
131
120
  codeStringColor: colorVis.euiColorVisAsTextDark2,
132
121
  codeTagColor: colorVis.euiColorVisAsTextDark1,
133
122
  codeNameColor: colorVis.euiColorVisAsTextDark1,
134
123
  codeNumberColor: colorVis.euiColorVisAsTextDark0,
135
124
  codeKeywordColor: colorVis.euiColorVisAsTextDark6,
136
- codeFunctionTitleColor: 'inherit',
137
125
  codeTypeColor: colorVis.euiColorVisAsTextDark1,
138
- codeAttributeColor: 'inherit',
139
126
  codeSymbolColor: colorVis.euiColorVisAsTextDark3,
140
- codeParamsColor: 'inherit',
141
- codeMetaColor: dark_text_colors.textSubdued,
142
127
  codeTitleColor: colorVis.euiColorVisAsTextDark4,
143
128
  codeSectionColor: colorVis.euiColorVisAsTextDark3,
144
129
  codeAdditionColor: colorVis.euiColorVisAsTextDark0,
145
130
  codeDeletionColor: colorVis.euiColorVisAsTextDark3,
146
- codeSelectorClassColor: 'inherit',
147
- codeSelectorIdColor: 'inherit',
148
- collapsibleNavGroupBackground: dark_background_colors.backgroundBaseSubdued,
149
- collapsibleNavGroupBackgroundDark: dark_background_colors.backgroundBaseSubdued,
150
- dataGridBorderColor: dark_border_colors.borderBaseSubdued,
151
- dataGridVerticalLineBorderColor: dark_border_colors.borderBaseSubdued,
152
- dataGridRowBackgroundStriped: dark_background_colors.backgroundBaseSubdued,
153
- dataGridRowBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
154
- dataGridRowBackgroundSelect: dark_background_colors.backgroundBaseInteractiveSelect,
155
- dragDropDraggingBackground: dark_background_colors.backgroundBaseSuccess,
156
- dragDropDraggingOverBackground: dark_background_colors.backgroundLightSuccess,
157
- filterSelectItemBackgroundFocusDisabled: dark_background_colors.backgroundBaseDisabled,
158
- flyoutFooterBackground: dark_background_colors.backgroundBaseHighlighted,
159
- flyoutCloseButtonInsideBackground: dark_background_colors.backgroundBasePlain,
160
- headerBackground: dark_background_colors.backgroundBasePlain,
161
- keyPadMenuItemBackgroundDisabledSelect: dark_background_colors.backgroundBaseDisabled,
162
- listGroupItemBackgroundPrimaryActive: dark_background_colors.backgroundBaseInteractiveSelect,
163
- listGroupItemBackgroundSubduedActive: dark_background_colors.backgroundBaseInteractiveSelect,
164
- listGroupItemBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
165
- listGroupItemBackgroundPrimaryHover: dark_background_colors.backgroundBaseInteractiveHover,
131
+ filterButtonBadgeBackgroundHover: SEMANTIC_COLORS.shade105,
166
132
  loadingSpinnerBorder: dark_border_colors.borderBasePlain,
167
- loadingSpinnerHighlight: dark_border_colors.borderStrongPrimary,
168
133
  loadingChartMonoBackground0: SEMANTIC_COLORS.shade110,
169
134
  loadingChartMonoBackground1: SEMANTIC_COLORS.shade100,
170
135
  loadingChartMonoBackground2: SEMANTIC_COLORS.shade90,
171
136
  loadingChartMonoBackground3: SEMANTIC_COLORS.shade80,
172
- markBackground: dark_background_colors.backgroundLightPrimary,
173
- markdownFormatTableBorderColor: dark_border_colors.borderBasePlain,
174
- overlayMaskBackground: dark_background_colors.backgroundBaseInteractiveOverlay,
175
137
  overlayMaskBackgroundHighContrast: `rgba(${SEMANTIC_COLORS.shade140RGB}, 0.9)`,
176
- popoverPanelBackground: dark_background_colors.backgroundBasePlain,
177
- popoverFooterBorderColor: dark_border_colors.borderBaseSubdued,
178
138
  scrollbarTrackColor: SEMANTIC_COLORS.shade145,
179
- sideNavItemEmphasizedBackground: dark_background_colors.backgroundBaseInteractiveSelect,
180
- selectableListItemBorderColor: dark_border_colors.borderBaseSubdued,
181
139
  skeletonBackgroundSkeletonMiddleHighContrast: `rgba(${SEMANTIC_COLORS.plainLightRGB}, 0.3)`,
182
- switchBackgroundOn: dark_background_colors.backgroundFilledPrimary,
183
- switchBackgroundOff: dark_background_colors.backgroundFilledText,
184
- switchUncompressedBackgroundDisabled: dark_background_colors.backgroundBaseFormsControlDisabled,
185
- switchCompressedBackgroundDisabled: dark_background_colors.backgroundBaseFormsControlDisabled,
186
- switchMiniBackgroundDisabled: dark_background_colors.backgroundBaseFormsControlDisabled,
187
- switchThumbBackgroundDisabled: dark_background_colors.backgroundBasePlain,
188
- switchThumbBorderOn: dark_background_colors.backgroundFilledPrimary,
189
- switchThumbBorderOff: dark_background_colors.backgroundFilledText,
190
140
  switchIconDisabled: forms.DARK.iconDisabled,
191
- superDatePickerBackgroundSuccees: dark_background_colors.backgroundBaseSuccess,
192
- tableRowBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
193
- tableRowBackgroundSelected: dark_background_colors.backgroundBaseInteractiveSelect,
194
- tableRowBackgroundSelectedHover: dark_background_colors.backgroundBaseInteractiveSelect,
195
- tableRowInteractiveBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
196
- tableRowInteractiveBackgroundFocus: dark_background_colors.backgroundBaseInteractiveHover,
197
- tableCellSortableIconColor: dark_background_colors.backgroundFilledText,
198
- tooltipBorderFloating: dark_border_colors.borderBaseFloating,
199
- tourFooterBackground: dark_background_colors.backgroundBaseHighlighted,
200
- treeViewItemBackgroundHover: dark_background_colors.backgroundBaseInteractiveHover,
141
+ // TODO: align table hover states
142
+ tableRowInteractiveBackgroundHover: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
143
+ tableRowInteractiveBackgroundFocus: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
201
144
  },
202
145
  };
203
146
  //# sourceMappingURL=_components.js.map