@elastic/eui-theme-borealis 1.0.0 → 2.0.0
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 +1 -2
- package/lib/cjs/eui_theme_borealis_light.json.d.js +1 -2
- package/lib/cjs/index.d.ts +0 -1
- package/lib/cjs/index.js +3 -3
- package/lib/cjs/variables/_animation.d.ts +0 -1
- package/lib/cjs/variables/_animation.js +1 -2
- package/lib/cjs/variables/_borders.d.ts +0 -1
- package/lib/cjs/variables/_borders.js +1 -2
- package/lib/cjs/variables/_breakpoint.d.ts +0 -1
- package/lib/cjs/variables/_breakpoint.js +1 -2
- package/lib/cjs/variables/_buttons.d.ts +0 -1
- package/lib/cjs/variables/_buttons.js +184 -108
- package/lib/cjs/variables/_components.d.ts +0 -1
- package/lib/cjs/variables/_components.js +146 -148
- package/lib/cjs/variables/_forms.d.ts +0 -1
- package/lib/cjs/variables/_forms.js +1 -2
- package/lib/cjs/variables/_levels.d.ts +0 -1
- package/lib/cjs/variables/_levels.js +1 -2
- package/lib/cjs/variables/_overrides.d.ts +0 -1
- package/lib/cjs/variables/_overrides.js +1 -2
- package/lib/cjs/variables/_size.d.ts +0 -1
- package/lib/cjs/variables/_size.js +1 -2
- package/lib/cjs/variables/_states.d.ts +0 -1
- package/lib/cjs/variables/_states.js +1 -2
- package/lib/cjs/variables/_typography.d.ts +0 -1
- package/lib/cjs/variables/_typography.js +1 -2
- package/lib/cjs/variables/colors/_colors_dark.d.ts +0 -1
- package/lib/cjs/variables/colors/_colors_dark.js +2 -3
- package/lib/cjs/variables/colors/_colors_light.d.ts +0 -1
- package/lib/cjs/variables/colors/_colors_light.js +1 -2
- package/lib/cjs/variables/colors/_colors_severity.d.ts +0 -1
- package/lib/cjs/variables/colors/_colors_severity.js +1 -2
- package/lib/cjs/variables/colors/_colors_vis.d.ts +0 -1
- package/lib/cjs/variables/colors/_colors_vis.js +8 -4
- package/lib/cjs/variables/colors/_primitive_colors.d.ts +0 -1
- package/lib/cjs/variables/colors/_primitive_colors.js +1 -2
- package/lib/cjs/variables/colors/_semantic_colors.d.ts +17 -4
- package/lib/cjs/variables/colors/_semantic_colors.js +18 -5
- package/lib/cjs/variables/colors/index.d.ts +0 -1
- package/lib/cjs/variables/colors/index.js +1 -2
- package/lib/esm/index.js +1 -1
- package/lib/esm/variables/_animation.js +0 -1
- package/lib/esm/variables/_borders.js +0 -1
- package/lib/esm/variables/_breakpoint.js +0 -1
- package/lib/esm/variables/_buttons.js +128 -13
- package/lib/esm/variables/_components.js +7 -5
- package/lib/esm/variables/_forms.js +0 -1
- package/lib/esm/variables/_levels.js +0 -1
- package/lib/esm/variables/_overrides.js +0 -1
- package/lib/esm/variables/_size.js +0 -1
- package/lib/esm/variables/_states.js +0 -1
- package/lib/esm/variables/_typography.js +0 -1
- package/lib/esm/variables/colors/_colors_dark.js +1 -2
- package/lib/esm/variables/colors/_colors_light.js +0 -1
- package/lib/esm/variables/colors/_colors_severity.js +0 -1
- package/lib/esm/variables/colors/_colors_vis.js +7 -3
- package/lib/esm/variables/colors/_primitive_colors.js +0 -1
- package/lib/esm/variables/colors/_semantic_colors.d.ts +17 -3
- package/lib/esm/variables/colors/_semantic_colors.js +17 -4
- package/lib/esm/variables/colors/index.js +0 -1
- package/lib/eui_theme_borealis_dark.json +1 -1
- package/package.json +3 -3
- package/src/variables/colors/_colors_dark.scss +1 -1
- package/src/variables/colors/_semantic_colors.scss +8 -2
- package/lib/cjs/eui_theme_borealis_dark.json.d.js.map +0 -1
- package/lib/cjs/eui_theme_borealis_light.json.d.js.map +0 -1
- package/lib/cjs/index.d.ts.map +0 -1
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/variables/_animation.d.ts.map +0 -1
- package/lib/cjs/variables/_animation.js.map +0 -1
- package/lib/cjs/variables/_borders.d.ts.map +0 -1
- package/lib/cjs/variables/_borders.js.map +0 -1
- package/lib/cjs/variables/_breakpoint.d.ts.map +0 -1
- package/lib/cjs/variables/_breakpoint.js.map +0 -1
- package/lib/cjs/variables/_buttons.d.ts.map +0 -1
- package/lib/cjs/variables/_buttons.js.map +0 -1
- package/lib/cjs/variables/_components.d.ts.map +0 -1
- package/lib/cjs/variables/_components.js.map +0 -1
- package/lib/cjs/variables/_forms.d.ts.map +0 -1
- package/lib/cjs/variables/_forms.js.map +0 -1
- package/lib/cjs/variables/_levels.d.ts.map +0 -1
- package/lib/cjs/variables/_levels.js.map +0 -1
- package/lib/cjs/variables/_overrides.d.ts.map +0 -1
- package/lib/cjs/variables/_overrides.js.map +0 -1
- package/lib/cjs/variables/_size.d.ts.map +0 -1
- package/lib/cjs/variables/_size.js.map +0 -1
- package/lib/cjs/variables/_states.d.ts.map +0 -1
- package/lib/cjs/variables/_states.js.map +0 -1
- package/lib/cjs/variables/_typography.d.ts.map +0 -1
- package/lib/cjs/variables/_typography.js.map +0 -1
- package/lib/cjs/variables/colors/_colors_dark.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_colors_dark.js.map +0 -1
- package/lib/cjs/variables/colors/_colors_light.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_colors_light.js.map +0 -1
- package/lib/cjs/variables/colors/_colors_severity.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_colors_severity.js.map +0 -1
- package/lib/cjs/variables/colors/_colors_vis.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_colors_vis.js.map +0 -1
- package/lib/cjs/variables/colors/_primitive_colors.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_primitive_colors.js.map +0 -1
- package/lib/cjs/variables/colors/_semantic_colors.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_semantic_colors.js.map +0 -1
- package/lib/cjs/variables/colors/index.d.ts.map +0 -1
- package/lib/cjs/variables/colors/index.js.map +0 -1
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/variables/_animation.js.map +0 -1
- package/lib/esm/variables/_borders.js.map +0 -1
- package/lib/esm/variables/_breakpoint.js.map +0 -1
- package/lib/esm/variables/_buttons.js.map +0 -1
- package/lib/esm/variables/_components.js.map +0 -1
- package/lib/esm/variables/_forms.js.map +0 -1
- package/lib/esm/variables/_levels.js.map +0 -1
- package/lib/esm/variables/_overrides.js.map +0 -1
- package/lib/esm/variables/_size.js.map +0 -1
- package/lib/esm/variables/_states.js.map +0 -1
- package/lib/esm/variables/_typography.js.map +0 -1
- package/lib/esm/variables/colors/_colors_dark.js.map +0 -1
- package/lib/esm/variables/colors/_colors_light.js.map +0 -1
- package/lib/esm/variables/colors/_colors_severity.js.map +0 -1
- package/lib/esm/variables/colors/_colors_vis.js.map +0 -1
- package/lib/esm/variables/colors/_primitive_colors.js.map +0 -1
- package/lib/esm/variables/colors/_semantic_colors.js.map +0 -1
- package/lib/esm/variables/colors/index.js.map +0 -1
|
@@ -84,12 +84,17 @@ var colorVis = exports.colorVis = {
|
|
|
84
84
|
euiColorVisAsTextDark4: _semantic_colors.SEMANTIC_COLORS.warning60,
|
|
85
85
|
euiColorVisAsTextDark5: _semantic_colors.SEMANTIC_COLORS.success60,
|
|
86
86
|
euiColorVisAsTextDark6: _semantic_colors.SEMANTIC_COLORS.assistance60,
|
|
87
|
+
euiColorVisNeutral0: _semantic_colors.SEMANTIC_COLORS.neutral60,
|
|
88
|
+
euiColorVisNeutral1: _semantic_colors.SEMANTIC_COLORS.neutral30,
|
|
87
89
|
euiColorVisSuccess0: _semantic_colors.SEMANTIC_COLORS.success60,
|
|
88
90
|
euiColorVisSuccess1: _semantic_colors.SEMANTIC_COLORS.success30,
|
|
89
|
-
euiColorVisWarning0: _semantic_colors.SEMANTIC_COLORS.
|
|
91
|
+
euiColorVisWarning0: _semantic_colors.SEMANTIC_COLORS.warning60,
|
|
92
|
+
euiColorVisWarning1: _semantic_colors.SEMANTIC_COLORS.warning30,
|
|
93
|
+
euiColorVisRisk0: _semantic_colors.SEMANTIC_COLORS.risk60,
|
|
94
|
+
euiColorVisRisk1: _semantic_colors.SEMANTIC_COLORS.risk30,
|
|
90
95
|
euiColorVisDanger0: _semantic_colors.SEMANTIC_COLORS.danger60,
|
|
91
96
|
euiColorVisDanger1: _semantic_colors.SEMANTIC_COLORS.danger30,
|
|
92
|
-
|
|
97
|
+
euiColorVisBase0: _primitive_colors.PRIMITIVE_COLORS.mutedGrey10,
|
|
93
98
|
euiColorVisGrey0: _primitive_colors.PRIMITIVE_COLORS.blueGrey30,
|
|
94
99
|
euiColorVisGrey1: _primitive_colors.PRIMITIVE_COLORS.blueGrey60,
|
|
95
100
|
euiColorVisGrey2: _primitive_colors.PRIMITIVE_COLORS.blueGrey90,
|
|
@@ -102,5 +107,4 @@ var colorVis = exports.colorVis = {
|
|
|
102
107
|
euiColorVisCool2: _semantic_colors.SEMANTIC_COLORS.primary60,
|
|
103
108
|
euiColorVisComplementary0: _semantic_colors.SEMANTIC_COLORS.primary60,
|
|
104
109
|
euiColorVisComplementary1: _semantic_colors.SEMANTIC_COLORS.warning60
|
|
105
|
-
};
|
|
106
|
-
//# sourceMappingURL=_colors_vis.js.map
|
|
110
|
+
};
|
|
@@ -4,8 +4,10 @@ export declare const SEMANTIC_COLORS: {
|
|
|
4
4
|
primary100RGB: string;
|
|
5
5
|
accent70RGB: string;
|
|
6
6
|
accentSecondary70RGB: string;
|
|
7
|
+
neutral70RGB: string;
|
|
7
8
|
success70RGB: string;
|
|
8
|
-
|
|
9
|
+
warning60RGB: string;
|
|
10
|
+
risk60RGB: string;
|
|
9
11
|
danger70RGB: string;
|
|
10
12
|
shade100RGB: string;
|
|
11
13
|
shade120RGB: string;
|
|
@@ -16,19 +18,31 @@ export declare const SEMANTIC_COLORS: {
|
|
|
16
18
|
plainLightAlpha32: string;
|
|
17
19
|
primary70Alpha12: string;
|
|
18
20
|
primary70Alpha16: string;
|
|
21
|
+
primary70Alpha20: string;
|
|
19
22
|
primary100Alpha4: string;
|
|
20
23
|
primary100Alpha8: string;
|
|
21
24
|
primary100Alpha12: string;
|
|
22
25
|
accent70Alpha12: string;
|
|
23
26
|
accent70Alpha16: string;
|
|
27
|
+
accent70Alpha20: string;
|
|
24
28
|
accentSecondary70Alpha12: string;
|
|
25
29
|
accentSecondary70Alpha16: string;
|
|
30
|
+
accentSecondary70Alpha20: string;
|
|
31
|
+
neutral70Alpha12: string;
|
|
32
|
+
neutral70Alpha16: string;
|
|
33
|
+
neutral70Alpha20: string;
|
|
26
34
|
success70Alpha12: string;
|
|
27
35
|
success70Alpha16: string;
|
|
28
|
-
|
|
29
|
-
|
|
36
|
+
success70Alpha20: string;
|
|
37
|
+
warning60Alpha12: string;
|
|
38
|
+
warning60Alpha16: string;
|
|
39
|
+
warning60Alpha20: string;
|
|
40
|
+
risk60Alpha12: string;
|
|
41
|
+
risk60Alpha16: string;
|
|
42
|
+
risk60Alpha20: string;
|
|
30
43
|
danger70Alpha12: string;
|
|
31
44
|
danger70Alpha16: string;
|
|
45
|
+
danger70Alpha20: string;
|
|
32
46
|
shade100Alpha4: string;
|
|
33
47
|
shade100Alpha16: string;
|
|
34
48
|
shade100Alpha24: string;
|
|
@@ -191,4 +205,3 @@ export declare const SEMANTIC_COLORS: {
|
|
|
191
205
|
shade140: string;
|
|
192
206
|
shade145: string;
|
|
193
207
|
};
|
|
194
|
-
//# sourceMappingURL=_semantic_colors.d.ts.map
|
|
@@ -183,8 +183,10 @@ var _semantic_rgb_colors = {
|
|
|
183
183
|
primary100RGB: (0, _chromaJs["default"])(_semantic_colors.primary100).rgb().join(),
|
|
184
184
|
accent70RGB: (0, _chromaJs["default"])(_semantic_colors.accent70).rgb().join(),
|
|
185
185
|
accentSecondary70RGB: (0, _chromaJs["default"])(_semantic_colors.accentSecondary70).rgb().join(),
|
|
186
|
+
neutral70RGB: (0, _chromaJs["default"])(_semantic_colors.neutral70).rgb().join(),
|
|
186
187
|
success70RGB: (0, _chromaJs["default"])(_semantic_colors.success70).rgb().join(),
|
|
187
|
-
|
|
188
|
+
warning60RGB: (0, _chromaJs["default"])(_semantic_colors.warning60).rgb().join(),
|
|
189
|
+
risk60RGB: (0, _chromaJs["default"])(_semantic_colors.risk60).rgb().join(),
|
|
188
190
|
danger70RGB: (0, _chromaJs["default"])(_semantic_colors.danger70).rgb().join(),
|
|
189
191
|
shade100RGB: (0, _chromaJs["default"])(_semantic_colors.shade100).rgb().join(),
|
|
190
192
|
shade120RGB: (0, _chromaJs["default"])(_semantic_colors.shade120).rgb().join(),
|
|
@@ -197,24 +199,35 @@ var _semantic_alpha_colors = {
|
|
|
197
199
|
plainLightAlpha32: "rgba(".concat(_semantic_rgb_colors.plainLightRGB, ", 0.32)"),
|
|
198
200
|
primary70Alpha12: "rgba(".concat(_semantic_rgb_colors.primary70RGB, ", 0.12)"),
|
|
199
201
|
primary70Alpha16: "rgba(".concat(_semantic_rgb_colors.primary70RGB, ", 0.16)"),
|
|
202
|
+
primary70Alpha20: "rgba(".concat(_semantic_rgb_colors.primary70RGB, ", 0.2)"),
|
|
200
203
|
primary100Alpha4: "rgba(".concat(_semantic_rgb_colors.primary100RGB, ", 0.04)"),
|
|
201
204
|
primary100Alpha8: "rgba(".concat(_semantic_rgb_colors.primary100RGB, ", 0.08)"),
|
|
202
205
|
primary100Alpha12: "rgba(".concat(_semantic_rgb_colors.primary100RGB, ", 0.12)"),
|
|
203
206
|
accent70Alpha12: "rgba(".concat(_semantic_rgb_colors.accent70RGB, ", 0.12)"),
|
|
204
207
|
accent70Alpha16: "rgba(".concat(_semantic_rgb_colors.accent70RGB, ", 0.16)"),
|
|
208
|
+
accent70Alpha20: "rgba(".concat(_semantic_rgb_colors.accent70RGB, ", 0.2)"),
|
|
205
209
|
accentSecondary70Alpha12: "rgba(".concat(_semantic_rgb_colors.accentSecondary70RGB, ", 0.12)"),
|
|
206
210
|
accentSecondary70Alpha16: "rgba(".concat(_semantic_rgb_colors.accentSecondary70RGB, ", 0.16)"),
|
|
211
|
+
accentSecondary70Alpha20: "rgba(".concat(_semantic_rgb_colors.accentSecondary70RGB, ", 0.2)"),
|
|
212
|
+
neutral70Alpha12: "rgba(".concat(_semantic_rgb_colors.neutral70RGB, ", 0.12)"),
|
|
213
|
+
neutral70Alpha16: "rgba(".concat(_semantic_rgb_colors.neutral70RGB, ", 0.16)"),
|
|
214
|
+
neutral70Alpha20: "rgba(".concat(_semantic_rgb_colors.neutral70RGB, ", 0.2)"),
|
|
207
215
|
success70Alpha12: "rgba(".concat(_semantic_rgb_colors.success70RGB, ", 0.12)"),
|
|
208
216
|
success70Alpha16: "rgba(".concat(_semantic_rgb_colors.success70RGB, ", 0.16)"),
|
|
209
|
-
|
|
210
|
-
|
|
217
|
+
success70Alpha20: "rgba(".concat(_semantic_rgb_colors.success70RGB, ", 0.2)"),
|
|
218
|
+
warning60Alpha12: "rgba(".concat(_semantic_rgb_colors.warning60RGB, ", 0.12)"),
|
|
219
|
+
warning60Alpha16: "rgba(".concat(_semantic_rgb_colors.warning60RGB, ", 0.16)"),
|
|
220
|
+
warning60Alpha20: "rgba(".concat(_semantic_rgb_colors.warning60RGB, ", 0.2)"),
|
|
221
|
+
risk60Alpha12: "rgba(".concat(_semantic_rgb_colors.risk60RGB, ", 0.12)"),
|
|
222
|
+
risk60Alpha16: "rgba(".concat(_semantic_rgb_colors.risk60RGB, ", 0.16)"),
|
|
223
|
+
risk60Alpha20: "rgba(".concat(_semantic_rgb_colors.risk60RGB, ", 0.2)"),
|
|
211
224
|
danger70Alpha12: "rgba(".concat(_semantic_rgb_colors.danger70RGB, ", 0.12)"),
|
|
212
225
|
danger70Alpha16: "rgba(".concat(_semantic_rgb_colors.danger70RGB, ", 0.16)"),
|
|
226
|
+
danger70Alpha20: "rgba(".concat(_semantic_rgb_colors.danger70RGB, ", 0.2)"),
|
|
213
227
|
shade100Alpha4: "rgba(".concat(_semantic_rgb_colors.shade100RGB, ", 0.04)"),
|
|
214
228
|
shade100Alpha16: "rgba(".concat(_semantic_rgb_colors.shade100RGB, ", 0.16)"),
|
|
215
229
|
shade100Alpha24: "rgba(".concat(_semantic_rgb_colors.shade100RGB, ", 0.24)"),
|
|
216
230
|
shade100Alpha70: "rgba(".concat(_semantic_rgb_colors.shade100RGB, ", 0.7)"),
|
|
217
231
|
shade120Alpha70: "rgba(".concat(_semantic_rgb_colors.shade120RGB, ", 0.7)")
|
|
218
232
|
};
|
|
219
|
-
var SEMANTIC_COLORS = exports.SEMANTIC_COLORS = _objectSpread(_objectSpread(_objectSpread({}, _semantic_colors), _semantic_alpha_colors), _semantic_rgb_colors);
|
|
220
|
-
//# sourceMappingURL=_semantic_colors.js.map
|
|
233
|
+
var SEMANTIC_COLORS = exports.SEMANTIC_COLORS = _objectSpread(_objectSpread(_objectSpread({}, _semantic_colors), _semantic_alpha_colors), _semantic_rgb_colors);
|
package/lib/esm/index.js
CHANGED
|
@@ -32,8 +32,8 @@ export const euiThemeBorealis = {
|
|
|
32
32
|
flags: {
|
|
33
33
|
hasGlobalFocusColor: true,
|
|
34
34
|
hasVisColorAdjustment: false,
|
|
35
|
+
buttonVariant: 'refresh',
|
|
35
36
|
},
|
|
36
37
|
overrides,
|
|
37
38
|
};
|
|
38
39
|
export const EuiThemeBorealis = buildTheme(euiThemeBorealis, EUI_THEME_BOREALIS_KEY);
|
|
39
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -20,4 +20,3 @@ export const border = {
|
|
|
20
20
|
thick: computed(([width, color]) => `${width.thick} solid ${color}`, ['border.width', 'border.color']),
|
|
21
21
|
editable: computed(([width, color]) => `${width.thick} dotted ${color}`, ['border.width', 'border.color']),
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=_borders.js.map
|
|
@@ -5,8 +5,17 @@
|
|
|
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
|
+
import { computed, } from '@elastic/eui-theme-common';
|
|
9
9
|
import { SEMANTIC_COLORS } from './colors/_semantic_colors';
|
|
10
|
+
const getTokenByVariant = (buttonVariant, tokens) => {
|
|
11
|
+
switch (buttonVariant) {
|
|
12
|
+
case 'refresh':
|
|
13
|
+
return tokens.refresh;
|
|
14
|
+
default: {
|
|
15
|
+
return tokens.classic;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
};
|
|
10
19
|
const _buttons = {
|
|
11
20
|
backgroundPrimary: computed(([backgroundLightPrimary]) => backgroundLightPrimary, ['colors.backgroundLightPrimary']),
|
|
12
21
|
backgroundAccent: computed(([backgroundLightAccent]) => backgroundLightAccent, ['colors.backgroundLightAccent']),
|
|
@@ -16,8 +25,35 @@ const _buttons = {
|
|
|
16
25
|
backgroundWarning: computed(([backgroundLightWarning]) => backgroundLightWarning, ['colors.backgroundLightWarning']),
|
|
17
26
|
backgroundRisk: computed(([backgroundLightRisk]) => backgroundLightRisk, ['colors.backgroundLightRisk']),
|
|
18
27
|
backgroundDanger: computed(([backgroundLightDanger]) => backgroundLightDanger, ['colors.backgroundLightDanger']),
|
|
19
|
-
backgroundText: computed(([backgroundLightText]) =>
|
|
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
|
+
]),
|
|
20
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,
|
|
21
57
|
backgroundFilledPrimary: computed(([backgroundFilledPrimary]) => backgroundFilledPrimary, ['colors.backgroundFilledPrimary']),
|
|
22
58
|
backgroundFilledAccent: computed(([backgroundFilledAccent]) => backgroundFilledAccent, ['colors.backgroundFilledAccent']),
|
|
23
59
|
backgroundFilledAccentSecondary: computed(([backgroundFilledAccentSecondary]) => backgroundFilledAccentSecondary, ['colors.backgroundFilledAccentSecondary']),
|
|
@@ -28,16 +64,42 @@ const _buttons = {
|
|
|
28
64
|
backgroundFilledDanger: computed(([backgroundFilledDanger]) => backgroundFilledDanger, ['colors.backgroundFilledDanger']),
|
|
29
65
|
backgroundFilledText: computed(([backgroundFilledText]) => backgroundFilledText, ['colors.backgroundFilledText']),
|
|
30
66
|
backgroundFilledDisabled: computed(([backgroundBaseDisabled]) => backgroundBaseDisabled, ['colors.backgroundBaseDisabled']),
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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,
|
|
41
103
|
textColorPrimary: computed(([textPrimary]) => textPrimary, ['colors.textPrimary']),
|
|
42
104
|
textColorAccent: computed(([textAccent]) => textAccent, ['colors.textAccent']),
|
|
43
105
|
textColorAccentSecondary: computed(([textAccentSecondary]) => textAccentSecondary, ['colors.textAccentSecondary']),
|
|
@@ -61,10 +123,63 @@ const _buttons = {
|
|
|
61
123
|
};
|
|
62
124
|
const _dark_buttons = {
|
|
63
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,
|
|
64
180
|
textColorFilledWarning: SEMANTIC_COLORS.warning110,
|
|
65
181
|
};
|
|
66
182
|
export const buttons = {
|
|
67
183
|
LIGHT: _buttons,
|
|
68
184
|
DARK: _dark_buttons,
|
|
69
185
|
};
|
|
70
|
-
//# sourceMappingURL=_buttons.js.map
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
import { computed, } from '@elastic/eui-theme-common';
|
|
9
9
|
import { SEMANTIC_COLORS } from './colors/_semantic_colors';
|
|
10
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';
|
|
11
13
|
import { buttons } from './_buttons';
|
|
12
14
|
import { forms } from './_forms';
|
|
13
|
-
import { colorVis } from './colors/_colors_vis';
|
|
14
|
-
import { border_colors } from './colors/_colors_light';
|
|
15
15
|
const component_colors = {
|
|
16
16
|
badgeBackground: computed(([backgroundLightText]) => backgroundLightText, ['colors.backgroundLightText']),
|
|
17
17
|
badgeBackgroundSubdued: computed(([backgroundLightText]) => backgroundLightText, ['colors.backgroundLightText']),
|
|
@@ -20,10 +20,10 @@ const component_colors = {
|
|
|
20
20
|
breadcrumbsApplicationBackground: computed(([backgroundLightText]) => backgroundLightText, ['colors.backgroundLightText']),
|
|
21
21
|
breadcrumbsApplicationColor: computed(([textSubdued]) => textSubdued, ['colors.textSubdued']),
|
|
22
22
|
bottomBarBackground: SEMANTIC_COLORS.plainDark,
|
|
23
|
-
buttonGroupBackgroundDisabledSelected: computed(([
|
|
23
|
+
buttonGroupBackgroundDisabledSelected: computed(([backgroundBaseDisabled]) => backgroundBaseDisabled, ['colors.backgroundBaseDisabled']),
|
|
24
24
|
buttonGroupBorderColor: computed(([borderBasePlain]) => borderBasePlain, ['colors.borderBasePlain']),
|
|
25
25
|
buttonGroupBorderColorSelected: computed(([borderBasePlain]) => borderBasePlain, ['colors.borderBasePlain']),
|
|
26
|
-
buttonGroupFocusColor:
|
|
26
|
+
buttonGroupFocusColor: SEMANTIC_COLORS.plainDark,
|
|
27
27
|
codeBackground: computed(([backgroundBaseHighlighted]) => backgroundBaseHighlighted, ['colors.backgroundBaseHighlighted']),
|
|
28
28
|
codeBackgroundSelected: 'inherit',
|
|
29
29
|
codeColor: computed(([textParagraph]) => textParagraph, ['colors.textParagraph']),
|
|
@@ -57,6 +57,7 @@ const component_colors = {
|
|
|
57
57
|
dataGridRowBackgroundSelect: computed(([backgroundBaseInteractiveSelect]) => backgroundBaseInteractiveSelect, ['colors.backgroundBaseInteractiveSelect']),
|
|
58
58
|
dragDropDraggingBackground: computed(([backgroundBaseSuccess]) => backgroundBaseSuccess, ['colors.backgroundBaseSuccess']),
|
|
59
59
|
dragDropDraggingOverBackground: computed(([backgroundLightSuccess]) => backgroundLightSuccess, ['colors.backgroundLightSuccess']),
|
|
60
|
+
filterButtonBadgeBackgroundHover: SEMANTIC_COLORS.shade25,
|
|
60
61
|
filterSelectItemBackgroundFocusDisabled: computed(([backgroundBaseDisabled]) => backgroundBaseDisabled, ['colors.backgroundBaseDisabled']),
|
|
61
62
|
flyoutFooterBackground: computed(([backgroundBaseHighlighted]) => backgroundBaseHighlighted, ['colors.backgroundBaseHighlighted']),
|
|
62
63
|
flyoutCloseButtonInsideBackground: computed(([backgroundBasePlain]) => backgroundBasePlain, ['colors.backgroundBasePlain']),
|
|
@@ -114,6 +115,7 @@ export const components = {
|
|
|
114
115
|
LIGHT: component_colors,
|
|
115
116
|
DARK: {
|
|
116
117
|
...component_colors,
|
|
118
|
+
buttonGroupFocusColor: SEMANTIC_COLORS.plainLight,
|
|
117
119
|
codeInlineColor: colorVis.euiColorVisAsTextDark6,
|
|
118
120
|
codeStringColor: colorVis.euiColorVisAsTextDark2,
|
|
119
121
|
codeTagColor: colorVis.euiColorVisAsTextDark1,
|
|
@@ -126,6 +128,7 @@ export const components = {
|
|
|
126
128
|
codeSectionColor: colorVis.euiColorVisAsTextDark3,
|
|
127
129
|
codeAdditionColor: colorVis.euiColorVisAsTextDark0,
|
|
128
130
|
codeDeletionColor: colorVis.euiColorVisAsTextDark3,
|
|
131
|
+
filterButtonBadgeBackgroundHover: SEMANTIC_COLORS.shade105,
|
|
129
132
|
loadingSpinnerBorder: dark_border_colors.borderBasePlain,
|
|
130
133
|
loadingChartMonoBackground0: SEMANTIC_COLORS.shade110,
|
|
131
134
|
loadingChartMonoBackground1: SEMANTIC_COLORS.shade100,
|
|
@@ -140,4 +143,3 @@ export const components = {
|
|
|
140
143
|
tableRowInteractiveBackgroundFocus: computed(([backgroundBaseInteractiveHover]) => backgroundBaseInteractiveHover, ['colors.backgroundBaseInteractiveHover']),
|
|
141
144
|
},
|
|
142
145
|
};
|
|
143
|
-
//# sourceMappingURL=_components.js.map
|
|
@@ -85,7 +85,7 @@ export const dark_background_colors = {
|
|
|
85
85
|
backgroundLightWarning: SEMANTIC_COLORS.warning130,
|
|
86
86
|
backgroundLightRisk: SEMANTIC_COLORS.risk130,
|
|
87
87
|
backgroundLightDanger: SEMANTIC_COLORS.danger130,
|
|
88
|
-
backgroundLightText: SEMANTIC_COLORS.
|
|
88
|
+
backgroundLightText: SEMANTIC_COLORS.shade120,
|
|
89
89
|
backgroundFilledPrimary: SEMANTIC_COLORS.primary60,
|
|
90
90
|
backgroundFilledAccent: SEMANTIC_COLORS.accent60,
|
|
91
91
|
backgroundFilledAccentSecondary: SEMANTIC_COLORS.accentSecondary60,
|
|
@@ -156,4 +156,3 @@ export const dark_colors = {
|
|
|
156
156
|
...dark_transparent_background_colors,
|
|
157
157
|
...dark_border_colors,
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=_colors_dark.js.map
|
|
@@ -77,12 +77,17 @@ export const colorVis = {
|
|
|
77
77
|
euiColorVisAsTextDark4: SEMANTIC_COLORS.warning60,
|
|
78
78
|
euiColorVisAsTextDark5: SEMANTIC_COLORS.success60,
|
|
79
79
|
euiColorVisAsTextDark6: SEMANTIC_COLORS.assistance60,
|
|
80
|
+
euiColorVisNeutral0: SEMANTIC_COLORS.neutral60,
|
|
81
|
+
euiColorVisNeutral1: SEMANTIC_COLORS.neutral30,
|
|
80
82
|
euiColorVisSuccess0: SEMANTIC_COLORS.success60,
|
|
81
83
|
euiColorVisSuccess1: SEMANTIC_COLORS.success30,
|
|
82
|
-
euiColorVisWarning0: SEMANTIC_COLORS.
|
|
84
|
+
euiColorVisWarning0: SEMANTIC_COLORS.warning60,
|
|
85
|
+
euiColorVisWarning1: SEMANTIC_COLORS.warning30,
|
|
86
|
+
euiColorVisRisk0: SEMANTIC_COLORS.risk60,
|
|
87
|
+
euiColorVisRisk1: SEMANTIC_COLORS.risk30,
|
|
83
88
|
euiColorVisDanger0: SEMANTIC_COLORS.danger60,
|
|
84
89
|
euiColorVisDanger1: SEMANTIC_COLORS.danger30,
|
|
85
|
-
|
|
90
|
+
euiColorVisBase0: PRIMITIVE_COLORS.mutedGrey10,
|
|
86
91
|
euiColorVisGrey0: PRIMITIVE_COLORS.blueGrey30,
|
|
87
92
|
euiColorVisGrey1: PRIMITIVE_COLORS.blueGrey60,
|
|
88
93
|
euiColorVisGrey2: PRIMITIVE_COLORS.blueGrey90,
|
|
@@ -96,4 +101,3 @@ export const colorVis = {
|
|
|
96
101
|
euiColorVisComplementary0: SEMANTIC_COLORS.primary60,
|
|
97
102
|
euiColorVisComplementary1: SEMANTIC_COLORS.warning60,
|
|
98
103
|
};
|
|
99
|
-
//# sourceMappingURL=_colors_vis.js.map
|
|
@@ -4,8 +4,10 @@ export declare const SEMANTIC_COLORS: {
|
|
|
4
4
|
primary100RGB: string;
|
|
5
5
|
accent70RGB: string;
|
|
6
6
|
accentSecondary70RGB: string;
|
|
7
|
+
neutral70RGB: string;
|
|
7
8
|
success70RGB: string;
|
|
8
|
-
|
|
9
|
+
warning60RGB: string;
|
|
10
|
+
risk60RGB: string;
|
|
9
11
|
danger70RGB: string;
|
|
10
12
|
shade100RGB: string;
|
|
11
13
|
shade120RGB: string;
|
|
@@ -16,19 +18,31 @@ export declare const SEMANTIC_COLORS: {
|
|
|
16
18
|
plainLightAlpha32: string;
|
|
17
19
|
primary70Alpha12: string;
|
|
18
20
|
primary70Alpha16: string;
|
|
21
|
+
primary70Alpha20: string;
|
|
19
22
|
primary100Alpha4: string;
|
|
20
23
|
primary100Alpha8: string;
|
|
21
24
|
primary100Alpha12: string;
|
|
22
25
|
accent70Alpha12: string;
|
|
23
26
|
accent70Alpha16: string;
|
|
27
|
+
accent70Alpha20: string;
|
|
24
28
|
accentSecondary70Alpha12: string;
|
|
25
29
|
accentSecondary70Alpha16: string;
|
|
30
|
+
accentSecondary70Alpha20: string;
|
|
31
|
+
neutral70Alpha12: string;
|
|
32
|
+
neutral70Alpha16: string;
|
|
33
|
+
neutral70Alpha20: string;
|
|
26
34
|
success70Alpha12: string;
|
|
27
35
|
success70Alpha16: string;
|
|
28
|
-
|
|
29
|
-
|
|
36
|
+
success70Alpha20: string;
|
|
37
|
+
warning60Alpha12: string;
|
|
38
|
+
warning60Alpha16: string;
|
|
39
|
+
warning60Alpha20: string;
|
|
40
|
+
risk60Alpha12: string;
|
|
41
|
+
risk60Alpha16: string;
|
|
42
|
+
risk60Alpha20: string;
|
|
30
43
|
danger70Alpha12: string;
|
|
31
44
|
danger70Alpha16: string;
|
|
45
|
+
danger70Alpha20: string;
|
|
32
46
|
shade100Alpha4: string;
|
|
33
47
|
shade100Alpha16: string;
|
|
34
48
|
shade100Alpha24: string;
|
|
@@ -171,8 +171,10 @@ const _semantic_rgb_colors = {
|
|
|
171
171
|
primary100RGB: chroma(_semantic_colors.primary100).rgb().join(),
|
|
172
172
|
accent70RGB: chroma(_semantic_colors.accent70).rgb().join(),
|
|
173
173
|
accentSecondary70RGB: chroma(_semantic_colors.accentSecondary70).rgb().join(),
|
|
174
|
+
neutral70RGB: chroma(_semantic_colors.neutral70).rgb().join(),
|
|
174
175
|
success70RGB: chroma(_semantic_colors.success70).rgb().join(),
|
|
175
|
-
|
|
176
|
+
warning60RGB: chroma(_semantic_colors.warning60).rgb().join(),
|
|
177
|
+
risk60RGB: chroma(_semantic_colors.risk60).rgb().join(),
|
|
176
178
|
danger70RGB: chroma(_semantic_colors.danger70).rgb().join(),
|
|
177
179
|
shade100RGB: chroma(_semantic_colors.shade100).rgb().join(),
|
|
178
180
|
shade120RGB: chroma(_semantic_colors.shade120).rgb().join(),
|
|
@@ -185,19 +187,31 @@ const _semantic_alpha_colors = {
|
|
|
185
187
|
plainLightAlpha32: `rgba(${_semantic_rgb_colors.plainLightRGB}, 0.32)`,
|
|
186
188
|
primary70Alpha12: `rgba(${_semantic_rgb_colors.primary70RGB}, 0.12)`,
|
|
187
189
|
primary70Alpha16: `rgba(${_semantic_rgb_colors.primary70RGB}, 0.16)`,
|
|
190
|
+
primary70Alpha20: `rgba(${_semantic_rgb_colors.primary70RGB}, 0.2)`,
|
|
188
191
|
primary100Alpha4: `rgba(${_semantic_rgb_colors.primary100RGB}, 0.04)`,
|
|
189
192
|
primary100Alpha8: `rgba(${_semantic_rgb_colors.primary100RGB}, 0.08)`,
|
|
190
193
|
primary100Alpha12: `rgba(${_semantic_rgb_colors.primary100RGB}, 0.12)`,
|
|
191
194
|
accent70Alpha12: `rgba(${_semantic_rgb_colors.accent70RGB}, 0.12)`,
|
|
192
195
|
accent70Alpha16: `rgba(${_semantic_rgb_colors.accent70RGB}, 0.16)`,
|
|
196
|
+
accent70Alpha20: `rgba(${_semantic_rgb_colors.accent70RGB}, 0.2)`,
|
|
193
197
|
accentSecondary70Alpha12: `rgba(${_semantic_rgb_colors.accentSecondary70RGB}, 0.12)`,
|
|
194
198
|
accentSecondary70Alpha16: `rgba(${_semantic_rgb_colors.accentSecondary70RGB}, 0.16)`,
|
|
199
|
+
accentSecondary70Alpha20: `rgba(${_semantic_rgb_colors.accentSecondary70RGB}, 0.2)`,
|
|
200
|
+
neutral70Alpha12: `rgba(${_semantic_rgb_colors.neutral70RGB}, 0.12)`,
|
|
201
|
+
neutral70Alpha16: `rgba(${_semantic_rgb_colors.neutral70RGB}, 0.16)`,
|
|
202
|
+
neutral70Alpha20: `rgba(${_semantic_rgb_colors.neutral70RGB}, 0.2)`,
|
|
195
203
|
success70Alpha12: `rgba(${_semantic_rgb_colors.success70RGB}, 0.12)`,
|
|
196
204
|
success70Alpha16: `rgba(${_semantic_rgb_colors.success70RGB}, 0.16)`,
|
|
197
|
-
|
|
198
|
-
|
|
205
|
+
success70Alpha20: `rgba(${_semantic_rgb_colors.success70RGB}, 0.2)`,
|
|
206
|
+
warning60Alpha12: `rgba(${_semantic_rgb_colors.warning60RGB}, 0.12)`,
|
|
207
|
+
warning60Alpha16: `rgba(${_semantic_rgb_colors.warning60RGB}, 0.16)`,
|
|
208
|
+
warning60Alpha20: `rgba(${_semantic_rgb_colors.warning60RGB}, 0.2)`,
|
|
209
|
+
risk60Alpha12: `rgba(${_semantic_rgb_colors.risk60RGB}, 0.12)`,
|
|
210
|
+
risk60Alpha16: `rgba(${_semantic_rgb_colors.risk60RGB}, 0.16)`,
|
|
211
|
+
risk60Alpha20: `rgba(${_semantic_rgb_colors.risk60RGB}, 0.2)`,
|
|
199
212
|
danger70Alpha12: `rgba(${_semantic_rgb_colors.danger70RGB}, 0.12)`,
|
|
200
213
|
danger70Alpha16: `rgba(${_semantic_rgb_colors.danger70RGB}, 0.16)`,
|
|
214
|
+
danger70Alpha20: `rgba(${_semantic_rgb_colors.danger70RGB}, 0.2)`,
|
|
201
215
|
shade100Alpha4: `rgba(${_semantic_rgb_colors.shade100RGB}, 0.04)`,
|
|
202
216
|
shade100Alpha16: `rgba(${_semantic_rgb_colors.shade100RGB}, 0.16)`,
|
|
203
217
|
shade100Alpha24: `rgba(${_semantic_rgb_colors.shade100RGB}, 0.24)`,
|
|
@@ -209,4 +223,3 @@ export const SEMANTIC_COLORS = {
|
|
|
209
223
|
..._semantic_alpha_colors,
|
|
210
224
|
..._semantic_rgb_colors,
|
|
211
225
|
};
|
|
212
|
-
//# sourceMappingURL=_semantic_colors.js.map
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
"euiColorBackgroundLightWarning": "#3D3014",
|
|
393
393
|
"euiColorBackgroundLightRisk": "#4A221C",
|
|
394
394
|
"euiColorBackgroundLightDanger": "#491D27",
|
|
395
|
-
"euiColorBackgroundLightText": "#
|
|
395
|
+
"euiColorBackgroundLightText": "#2B394F",
|
|
396
396
|
"euiColorBackgroundFilledPrimary": "#61A2FF",
|
|
397
397
|
"euiColorBackgroundFilledAccent": "#EE72A6",
|
|
398
398
|
"euiColorBackgroundFilledAccentSecondary": "#16C5C0",
|