@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.
- package/lib/cjs/eui_theme_borealis_dark.json.d.js.map +1 -1
- package/lib/cjs/eui_theme_borealis_light.json.d.js.map +1 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +5 -2
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/variables/_borders.js +1 -1
- package/lib/cjs/variables/_borders.js.map +1 -1
- package/lib/cjs/variables/_buttons.d.ts.map +1 -1
- package/lib/cjs/variables/_buttons.js +334 -84
- package/lib/cjs/variables/_buttons.js.map +1 -1
- package/lib/cjs/variables/_components.d.ts.map +1 -1
- package/lib/cjs/variables/_components.js +307 -126
- package/lib/cjs/variables/_components.js.map +1 -1
- package/lib/cjs/variables/_forms.d.ts +32 -32
- package/lib/cjs/variables/_forms.d.ts.map +1 -1
- package/lib/cjs/variables/_forms.js +91 -47
- package/lib/cjs/variables/_forms.js.map +1 -1
- package/lib/cjs/variables/_overrides.d.ts +3 -0
- package/lib/cjs/variables/_overrides.d.ts.map +1 -0
- package/lib/cjs/variables/_overrides.js +24 -0
- package/lib/cjs/variables/_overrides.js.map +1 -0
- package/lib/cjs/variables/colors/_colors_dark.d.ts.map +1 -1
- package/lib/cjs/variables/colors/_colors_dark.js +15 -1
- package/lib/cjs/variables/colors/_colors_dark.js.map +1 -1
- package/lib/cjs/variables/colors/_colors_light.d.ts.map +1 -1
- package/lib/cjs/variables/colors/_colors_light.js +14 -0
- package/lib/cjs/variables/colors/_colors_light.js.map +1 -1
- package/lib/cjs/variables/colors/_colors_severity.d.ts +9 -0
- package/lib/cjs/variables/colors/_colors_severity.d.ts.map +1 -0
- package/lib/cjs/variables/colors/_colors_severity.js +24 -0
- package/lib/cjs/variables/colors/_colors_severity.js.map +1 -0
- package/lib/cjs/variables/colors/_colors_vis.d.ts.map +1 -1
- package/lib/cjs/variables/colors/_colors_vis.js +0 -15
- package/lib/cjs/variables/colors/_colors_vis.js.map +1 -1
- package/lib/cjs/variables/colors/_primitive_colors.d.ts +28 -0
- package/lib/cjs/variables/colors/_primitive_colors.d.ts.map +1 -1
- package/lib/cjs/variables/colors/_primitive_colors.js +28 -0
- package/lib/cjs/variables/colors/_primitive_colors.js.map +1 -1
- package/lib/cjs/variables/colors/_semantic_colors.d.ts +45 -3
- package/lib/cjs/variables/colors/_semantic_colors.d.ts.map +1 -1
- package/lib/cjs/variables/colors/_semantic_colors.js +45 -3
- package/lib/cjs/variables/colors/_semantic_colors.js.map +1 -1
- package/lib/cjs/variables/colors/index.d.ts.map +1 -1
- package/lib/cjs/variables/colors/index.js +3 -1
- package/lib/cjs/variables/colors/index.js.map +1 -1
- package/lib/esm/index.js +3 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/variables/_borders.js +1 -1
- package/lib/esm/variables/_borders.js.map +1 -1
- package/lib/esm/variables/_buttons.js +167 -79
- package/lib/esm/variables/_buttons.js.map +1 -1
- package/lib/esm/variables/_components.js +68 -125
- package/lib/esm/variables/_components.js.map +1 -1
- package/lib/esm/variables/_forms.d.ts +32 -32
- package/lib/esm/variables/_forms.js +16 -35
- package/lib/esm/variables/_forms.js.map +1 -1
- package/lib/esm/variables/_overrides.d.ts +2 -0
- package/lib/esm/variables/_overrides.js +17 -0
- package/lib/esm/variables/_overrides.js.map +1 -0
- package/lib/esm/variables/colors/_colors_dark.js +15 -1
- package/lib/esm/variables/colors/_colors_dark.js.map +1 -1
- package/lib/esm/variables/colors/_colors_light.js +14 -0
- package/lib/esm/variables/colors/_colors_light.js.map +1 -1
- package/lib/esm/variables/colors/_colors_severity.d.ts +8 -0
- package/lib/esm/variables/colors/_colors_severity.js +17 -0
- package/lib/esm/variables/colors/_colors_severity.js.map +1 -0
- package/lib/esm/variables/colors/_colors_vis.js +0 -15
- package/lib/esm/variables/colors/_colors_vis.js.map +1 -1
- package/lib/esm/variables/colors/_primitive_colors.d.ts +28 -0
- package/lib/esm/variables/colors/_primitive_colors.js +28 -0
- package/lib/esm/variables/colors/_primitive_colors.js.map +1 -1
- package/lib/esm/variables/colors/_semantic_colors.d.ts +45 -3
- package/lib/esm/variables/colors/_semantic_colors.js +45 -3
- package/lib/esm/variables/colors/_semantic_colors.js.map +1 -1
- package/lib/esm/variables/colors/index.js +2 -0
- package/lib/esm/variables/colors/index.js.map +1 -1
- package/lib/eui_theme_borealis_dark.json +24 -19
- package/lib/eui_theme_borealis_dark.json.d.ts +20 -15
- package/lib/eui_theme_borealis_light.json +23 -18
- package/lib/eui_theme_borealis_light.json.d.ts +20 -15
- package/package.json +5 -6
- package/src/variables/_borders.scss +11 -0
- package/src/variables/_buttons.scss +2 -0
- package/src/variables/_index.scss +8 -0
- package/src/variables/colors/_colors_dark.scss +13 -1
- package/src/variables/colors/_colors_light.scss +12 -0
- package/src/variables/colors/_colors_severity.scss +7 -0
- 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
|
-
|
|
10
|
-
|
|
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:
|
|
13
|
-
backgroundAccent:
|
|
14
|
-
backgroundAccentSecondary:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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;
|
|
1
|
+
{"version":3,"file":"_buttons.js","sourceRoot":"","sources":["../../../src/variables/_buttons.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,QAAQ,GACT,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,MAAM,iBAAiB,GAAG,CACxB,aAAoD,EACpD,MAGC,EACD,EAAE;IACF,QAAQ,aAAa,EAAE,CAAC;QACtB,KAAK,SAAS;YACZ,OAAO,MAAM,CAAC,OAAO,CAAC;QACxB,OAAO,CAAC,CAAC,CAAC;YACR,OAAO,MAAM,CAAC,OAAO,CAAC;QACxB,CAAC;IACH,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,QAAQ,GAAG;IACf,iBAAiB,EAAE,QAAQ,CACzB,CAAC,CAAC,sBAAsB,CAAC,EAAE,EAAE,CAAC,sBAAsB,EACpD,CAAC,+BAA+B,CAAC,CAClC;IACD,gBAAgB,EAAE,QAAQ,CACxB,CAAC,CAAC,qBAAqB,CAAC,EAAE,EAAE,CAAC,qBAAqB,EAClD,CAAC,8BAA8B,CAAC,CACjC;IACD,yBAAyB,EAAE,QAAQ,CACjC,CAAC,CAAC,8BAA8B,CAAC,EAAE,EAAE,CAAC,8BAA8B,EACpE,CAAC,uCAAuC,CAAC,CAC1C;IACD,iBAAiB,EAAE,QAAQ,CACzB,CAAC,CAAC,sBAAsB,CAAC,EAAE,EAAE,CAAC,sBAAsB,EACpD,CAAC,+BAA+B,CAAC,CAClC;IACD,iBAAiB,EAAE,QAAQ,CACzB,CAAC,CAAC,sBAAsB,CAAC,EAAE,EAAE,CAAC,sBAAsB,EACpD,CAAC,+BAA+B,CAAC,CAClC;IACD,iBAAiB,EAAE,Q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K,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,
|
|
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:
|
|
16
|
-
badgeBackgroundSubdued:
|
|
17
|
-
badgeBorderColorHollow:
|
|
18
|
-
badgeIconButtonBackgroundHover:
|
|
19
|
-
breadcrumbsApplicationBackground:
|
|
20
|
-
breadcrumbsApplicationColor:
|
|
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:
|
|
23
|
-
buttonGroupBorderColor:
|
|
24
|
-
buttonGroupBorderColorSelected:
|
|
25
|
-
buttonGroupFocusColor:
|
|
26
|
-
codeBackground:
|
|
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:
|
|
29
|
+
codeColor: computed(([textParagraph]) => textParagraph, ['colors.textParagraph']),
|
|
29
30
|
codeInlineColor: colorVis.euiColorVisAsTextLight6,
|
|
30
|
-
codeCommentColor:
|
|
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:
|
|
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:
|
|
51
|
+
collapsibleNavGroupBackground: computed(([backgroundBaseSubdued]) => backgroundBaseSubdued, ['colors.backgroundBaseSubdued']),
|
|
51
52
|
collapsibleNavGroupBackgroundDark: dark_background_colors.backgroundBaseSubdued,
|
|
52
|
-
dataGridBorderColor:
|
|
53
|
-
dataGridVerticalLineBorderColor:
|
|
54
|
-
dataGridRowBackgroundStriped:
|
|
55
|
-
dataGridRowBackgroundHover:
|
|
56
|
-
dataGridRowBackgroundSelect:
|
|
57
|
-
dragDropDraggingBackground:
|
|
58
|
-
dragDropDraggingOverBackground:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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:
|
|
67
|
-
listGroupItemBackgroundPrimaryActive:
|
|
68
|
-
listGroupItemBackgroundSubduedActive:
|
|
69
|
-
listGroupItemBackgroundHover:
|
|
70
|
-
listGroupItemBackgroundPrimaryHover:
|
|
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:
|
|
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:
|
|
78
|
-
markdownFormatTableBorderColor:
|
|
79
|
-
overlayMaskBackground:
|
|
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:
|
|
82
|
-
popoverFooterBorderColor:
|
|
84
|
+
popoverPanelBackground: computed(([backgroundBasePlain]) => backgroundBasePlain, ['colors.backgroundBasePlain']),
|
|
85
|
+
popoverFooterBorderColor: computed(([borderBaseSubdued]) => borderBaseSubdued, ['colors.borderBaseSubdued']),
|
|
83
86
|
scrollbarTrackColor: SEMANTIC_COLORS.shade15,
|
|
84
|
-
sideNavItemEmphasizedBackground:
|
|
85
|
-
selectableListItemBorderColor:
|
|
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:
|
|
88
|
-
switchBackgroundOn:
|
|
89
|
-
switchBackgroundOff:
|
|
90
|
-
switchUncompressedBackgroundDisabled:
|
|
91
|
-
switchCompressedBackgroundDisabled:
|
|
92
|
-
switchMiniBackgroundDisabled:
|
|
93
|
-
switchThumbBackgroundDisabled:
|
|
94
|
-
switchThumbBorderOn:
|
|
95
|
-
switchThumbBorderOff:
|
|
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:
|
|
98
|
-
tableRowBackgroundSelected:
|
|
99
|
-
tableRowBackgroundSelectedHover:
|
|
100
|
-
tableRowInteractiveBackgroundHover:
|
|
101
|
-
tableRowInteractiveBackgroundFocus:
|
|
102
|
-
tableCellSortableIconColor:
|
|
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:
|
|
106
|
-
tourFooterBackground:
|
|
107
|
-
treeViewItemBackgroundHover:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
192
|
-
|
|
193
|
-
|
|
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
|