@eui/styles 19.3.11-snapshot-1765528216041 → 19.3.11-snapshot-1765958867581
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/dist/base/01-base/functions/_other.functions.scss +15 -0
- package/dist/base/03-vars-eds/maps-colors-dark-theme.scss +232 -0
- package/dist/base/03-vars-eds/maps-colors-default.scss +451 -0
- package/dist/base/03-vars-eds/maps.scss +403 -0
- package/dist/base/03-vars-eds/vars-dark-theme.scss +105 -0
- package/dist/base/{03-vars/vars-eds-theme.scss → 03-vars-eds/vars.scss} +108 -126
- package/dist/eui-theme-eds.css +1 -0
- package/dist/eui-theme-eds.css.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use '../01-base/' as base;
|
|
4
|
+
|
|
5
|
+
// BORDER RADIUS
|
|
6
|
+
|
|
7
|
+
$border-radius-map: (
|
|
8
|
+
none: 0,
|
|
9
|
+
xs: 2px,
|
|
10
|
+
s: 4px,
|
|
11
|
+
m: 8px,
|
|
12
|
+
l: 12px,
|
|
13
|
+
max: 999px
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
// BORDER WIDTH
|
|
18
|
+
|
|
19
|
+
$border-width-map: (
|
|
20
|
+
none: 0,
|
|
21
|
+
xs: 1px,
|
|
22
|
+
s: 2px,
|
|
23
|
+
m: 4px
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
// BREAKPOINT
|
|
28
|
+
|
|
29
|
+
$breakpoint-map: (
|
|
30
|
+
xs: 0,
|
|
31
|
+
sm: 480px,
|
|
32
|
+
md: 768px,
|
|
33
|
+
lg: 996px,
|
|
34
|
+
xl: 1140px,
|
|
35
|
+
xxl: 1440px,
|
|
36
|
+
fhd: 1920px,
|
|
37
|
+
2k: 2560px,
|
|
38
|
+
4k: 3840px
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
// naming
|
|
42
|
+
$xs: base.new-breakpoint(min-width map.get($breakpoint-map, 'xs') max-width map.get($breakpoint-map, 'sm') - 1) !default;
|
|
43
|
+
$s: base.new-breakpoint(min-width map.get($breakpoint-map, 'sm') max-width map.get($breakpoint-map, 'md') - 1) !default;
|
|
44
|
+
$m: base.new-breakpoint(min-width map.get($breakpoint-map, 'md') max-width map.get($breakpoint-map, 'lg') - 1) !default;
|
|
45
|
+
$l: base.new-breakpoint(min-width map.get($breakpoint-map, 'lg') max-width map.get($breakpoint-map, 'xl') - 1) !default;
|
|
46
|
+
$xl: base.new-breakpoint(min-width map.get($breakpoint-map, 'xl') max-width map.get($breakpoint-map, 'xxl') - 1) !default;
|
|
47
|
+
$xxl: base.new-breakpoint(min-width map.get($breakpoint-map, 'xxl') max-width map.get($breakpoint-map, 'fhd') - 1) !default;
|
|
48
|
+
$fhd: base.new-breakpoint(min-width map.get($breakpoint-map, 'fhd') max-width map.get($breakpoint-map, '2k') - 1) !default;
|
|
49
|
+
|
|
50
|
+
// human naming
|
|
51
|
+
$eui-bkp-mobile-xs: $xs !default;
|
|
52
|
+
$eui-bkp-mobile-s: $s !default;
|
|
53
|
+
$eui-bkp-mobile: base.new-breakpoint(max-width map.get($breakpoint-map, 'md') - 1) !default;
|
|
54
|
+
$eui-bkp-mobile-up: base.new-breakpoint(min-width map.get($breakpoint-map, 'md')) !default;
|
|
55
|
+
$eui-bkp-tablet: $m !default;
|
|
56
|
+
$eui-bkp-tablet-up: base.new-breakpoint(min-width map.get($breakpoint-map, 'lg')) !default;
|
|
57
|
+
$eui-bkp-desktop-down: base.new-breakpoint(max-width map.get($breakpoint-map, 'lg') - 1) !default;
|
|
58
|
+
$eui-bkp-desktop: base.new-breakpoint(min-width map.get($breakpoint-map, 'xl')) !default;
|
|
59
|
+
$eui-bkp-desktop-up: base.new-breakpoint(min-width map.get($breakpoint-map, 'lg')) !default;
|
|
60
|
+
$eui-bkp-desktop-wide: $xxl !default;
|
|
61
|
+
$eui-bkp-desktop-fhd: $fhd !default;
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
// ICON SIZE
|
|
65
|
+
|
|
66
|
+
$icon-size-map: (
|
|
67
|
+
2xs: 0.75rem,
|
|
68
|
+
xs: 1rem,
|
|
69
|
+
s: 1.25rem,
|
|
70
|
+
m: 1.5rem,
|
|
71
|
+
l: 2rem,
|
|
72
|
+
xl: 2.5rem,
|
|
73
|
+
2xl: 3rem,
|
|
74
|
+
3xl: 3.5rem,
|
|
75
|
+
4xl: 4rem,
|
|
76
|
+
fluid: 1em
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
// OPACITY
|
|
81
|
+
|
|
82
|
+
$opacity-map: (
|
|
83
|
+
none: 0,
|
|
84
|
+
25: 0.25,
|
|
85
|
+
50: 0.5,
|
|
86
|
+
75: 0.75,
|
|
87
|
+
100: 1
|
|
88
|
+
);
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
// SPACING
|
|
92
|
+
|
|
93
|
+
$spacing-map: (
|
|
94
|
+
none: 0,
|
|
95
|
+
5xs: 0.0625rem, // 4xs - 1px
|
|
96
|
+
4xs: 0.125rem, // 3xs - 2px
|
|
97
|
+
3xs: 0.25rem, // 2xs - 4px
|
|
98
|
+
2xs: 0.375rem, // - 6px
|
|
99
|
+
xs: 0.5rem, // == - 8px
|
|
100
|
+
s: 0.75rem, // == - 12px
|
|
101
|
+
m: 1rem, // == - 16px
|
|
102
|
+
l: 1.25rem, // == - 20px
|
|
103
|
+
xl: 1.5rem, // == - 24px
|
|
104
|
+
2xl: 1.75rem, // - 28px
|
|
105
|
+
3xl: 2rem, // 2xl - 32px
|
|
106
|
+
4xl: 2.25rem, // - 36px
|
|
107
|
+
5xl: 2.5rem, // 3xl - 40px
|
|
108
|
+
6xl: 3rem, // 4xl - 48px
|
|
109
|
+
7xl: 3.5rem, // 5xl - 56px
|
|
110
|
+
8xl: 4rem, // 6xl - 64px
|
|
111
|
+
9xl: 4.5rem, // - 72px
|
|
112
|
+
10xl: 5rem, // 7xl - 80px
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
// Z-INDEX
|
|
117
|
+
|
|
118
|
+
$z-index-map: (
|
|
119
|
+
auto: auto,
|
|
120
|
+
zero: 0,
|
|
121
|
+
root: 1,
|
|
122
|
+
input-maxlength: 2,
|
|
123
|
+
clearable-icon: 3,
|
|
124
|
+
breadcrumb: 9,
|
|
125
|
+
header: 10,
|
|
126
|
+
top-message: 12,
|
|
127
|
+
nav: 15,
|
|
128
|
+
loading-indicator: 20,
|
|
129
|
+
cdk-overlay-pane: 999,
|
|
130
|
+
logo: 1000,
|
|
131
|
+
sticky: 1040,
|
|
132
|
+
sidebar: 1044,
|
|
133
|
+
overlay: 1045,
|
|
134
|
+
btn-floating: 1046,
|
|
135
|
+
highlighted: 1047,
|
|
136
|
+
footer-action-bar: 1048,
|
|
137
|
+
modal-backdrop: 1049,
|
|
138
|
+
modal: 1050,
|
|
139
|
+
menu: 1060,
|
|
140
|
+
tooltip: 1070,
|
|
141
|
+
max: 9999,
|
|
142
|
+
cdk-overlay-container: 10000,
|
|
143
|
+
block-document: 10010,
|
|
144
|
+
growl-message: 99999
|
|
145
|
+
);
|
|
146
|
+
|
|
147
|
+
// SHADOWS
|
|
148
|
+
|
|
149
|
+
$ecl-shadow-color: #1c1c45 !default;
|
|
150
|
+
$ecl-shadow: (
|
|
151
|
+
1: (0 0 0.5px 0.5px rgba($ecl-shadow-color, 0.08), 0 6px 12px 0 rgba($ecl-shadow-color, 0.06)),
|
|
152
|
+
2: (0 0 0.5px 0.5px rgba($ecl-shadow-color, 0.08), 0 10px 18px 0 rgba($ecl-shadow-color, 0.1)),
|
|
153
|
+
3: (0 0 0.5px 0.5px rgba($ecl-shadow-color, 0.08), 0 14px 24px 0 rgba($ecl-shadow-color, 0.12)),
|
|
154
|
+
4: (0 0 0.5px 0.5px rgba($ecl-shadow-color, 0.08), 0 18px 32px 0 rgba($ecl-shadow-color, 0.12)),
|
|
155
|
+
5: (0 0 0.5px 0.5px rgba($ecl-shadow-color, 0.08), 0 20px 40px 0 rgba($ecl-shadow-color, 0.14))
|
|
156
|
+
);
|
|
157
|
+
|
|
158
|
+
$box-shadow-map: (
|
|
159
|
+
0: none,
|
|
160
|
+
1: map.get($ecl-shadow, 1),
|
|
161
|
+
2: map.get($ecl-shadow, 2),
|
|
162
|
+
3: map.get($ecl-shadow, 5),
|
|
163
|
+
4: map.get($ecl-shadow, 4),
|
|
164
|
+
5: map.get($ecl-shadow, 5)
|
|
165
|
+
);
|
|
166
|
+
|
|
167
|
+
// TYPOGRAPHY
|
|
168
|
+
$font-size-list: ('2xs', 'xs', 's', 'm', 'l', 'xl', '2xl', '3xl', '4xl', '5xl', '6xl');
|
|
169
|
+
|
|
170
|
+
$font-size-map: (
|
|
171
|
+
'6xl': 2.5rem,
|
|
172
|
+
'5xl': 2.25rem,
|
|
173
|
+
'4xl': 2rem,
|
|
174
|
+
'3xl': 1.75rem,
|
|
175
|
+
'2xl': 1.5rem,
|
|
176
|
+
'xl': 1.25rem,
|
|
177
|
+
'l': 1.125rem,
|
|
178
|
+
'm': 1rem,
|
|
179
|
+
's': 0.875rem,
|
|
180
|
+
'xs': 0.75rem,
|
|
181
|
+
'2xs': 0.625rem
|
|
182
|
+
);
|
|
183
|
+
|
|
184
|
+
$font-line-height-map: (
|
|
185
|
+
'4xl': 3rem,
|
|
186
|
+
'3xl': 2.75rem,
|
|
187
|
+
'2xl': 2.5rem,
|
|
188
|
+
'xl': 2rem,
|
|
189
|
+
'l': 1.75rem,
|
|
190
|
+
'm': 1.5rem,
|
|
191
|
+
's': 1.25rem,
|
|
192
|
+
'xs': 1.125rem,
|
|
193
|
+
'2xs': 1rem
|
|
194
|
+
);
|
|
195
|
+
|
|
196
|
+
$font-map: (
|
|
197
|
+
6xl: (
|
|
198
|
+
desktop: (
|
|
199
|
+
font-size: 6xl,
|
|
200
|
+
line-height: 4xl
|
|
201
|
+
),
|
|
202
|
+
tablet: (
|
|
203
|
+
font-size: 5xl,
|
|
204
|
+
line-height: 3xl
|
|
205
|
+
),
|
|
206
|
+
mobile: (
|
|
207
|
+
font-size: 4xl,
|
|
208
|
+
line-height: xl
|
|
209
|
+
),
|
|
210
|
+
mobile-xs: (
|
|
211
|
+
font-size: 3xl,
|
|
212
|
+
line-height: xl
|
|
213
|
+
)
|
|
214
|
+
),
|
|
215
|
+
5xl: (
|
|
216
|
+
desktop: (
|
|
217
|
+
font-size: 5xl,
|
|
218
|
+
line-height: 3xl
|
|
219
|
+
),
|
|
220
|
+
tablet: (
|
|
221
|
+
font-size: 4xl,
|
|
222
|
+
line-height: xl
|
|
223
|
+
),
|
|
224
|
+
mobile: (
|
|
225
|
+
font-size: 3xl,
|
|
226
|
+
line-height: xl
|
|
227
|
+
),
|
|
228
|
+
mobile-xs: (
|
|
229
|
+
font-size: 2xl,
|
|
230
|
+
line-height: l
|
|
231
|
+
)
|
|
232
|
+
),
|
|
233
|
+
4xl: (
|
|
234
|
+
desktop: (
|
|
235
|
+
font-size: 4xl,
|
|
236
|
+
line-height: xl
|
|
237
|
+
),
|
|
238
|
+
tablet: (
|
|
239
|
+
font-size: 3xl,
|
|
240
|
+
line-height: xl
|
|
241
|
+
),
|
|
242
|
+
mobile: (
|
|
243
|
+
font-size: 2xl,
|
|
244
|
+
line-height: l
|
|
245
|
+
),
|
|
246
|
+
mobile-xs: (
|
|
247
|
+
font-size: xl,
|
|
248
|
+
line-height: l
|
|
249
|
+
)
|
|
250
|
+
),
|
|
251
|
+
3xl: (
|
|
252
|
+
desktop: (
|
|
253
|
+
font-size: 3xl,
|
|
254
|
+
line-height: xl
|
|
255
|
+
),
|
|
256
|
+
tablet: (
|
|
257
|
+
font-size: 2xl,
|
|
258
|
+
line-height: xl
|
|
259
|
+
),
|
|
260
|
+
mobile: (
|
|
261
|
+
font-size: xl,
|
|
262
|
+
line-height: l
|
|
263
|
+
),
|
|
264
|
+
mobile-xs: (
|
|
265
|
+
font-size: l,
|
|
266
|
+
line-height: l
|
|
267
|
+
)
|
|
268
|
+
),
|
|
269
|
+
2xl: (
|
|
270
|
+
desktop: (
|
|
271
|
+
font-size: 2xl,
|
|
272
|
+
line-height: xl
|
|
273
|
+
),
|
|
274
|
+
tablet: (
|
|
275
|
+
font-size: xl,
|
|
276
|
+
line-height: l
|
|
277
|
+
),
|
|
278
|
+
mobile: (
|
|
279
|
+
font-size: l,
|
|
280
|
+
line-height: l
|
|
281
|
+
),
|
|
282
|
+
mobile-xs: (
|
|
283
|
+
font-size: l,
|
|
284
|
+
line-height: l
|
|
285
|
+
)
|
|
286
|
+
),
|
|
287
|
+
xl: (
|
|
288
|
+
desktop: (
|
|
289
|
+
font-size: xl,
|
|
290
|
+
line-height: xl
|
|
291
|
+
),
|
|
292
|
+
tablet: (
|
|
293
|
+
font-size: xl,
|
|
294
|
+
line-height: xl
|
|
295
|
+
),
|
|
296
|
+
mobile: (
|
|
297
|
+
font-size: l,
|
|
298
|
+
line-height: l
|
|
299
|
+
),
|
|
300
|
+
mobile-xs: (
|
|
301
|
+
font-size: m,
|
|
302
|
+
line-height: m
|
|
303
|
+
)
|
|
304
|
+
),
|
|
305
|
+
l: (
|
|
306
|
+
desktop: (
|
|
307
|
+
font-size: l,
|
|
308
|
+
line-height: l
|
|
309
|
+
),
|
|
310
|
+
tablet: (
|
|
311
|
+
font-size: l,
|
|
312
|
+
line-height: l
|
|
313
|
+
),
|
|
314
|
+
mobile: (
|
|
315
|
+
font-size: m,
|
|
316
|
+
line-height: m
|
|
317
|
+
),
|
|
318
|
+
mobile-xs: (
|
|
319
|
+
font-size: m,
|
|
320
|
+
line-height: m
|
|
321
|
+
)
|
|
322
|
+
),
|
|
323
|
+
m: (
|
|
324
|
+
desktop: (
|
|
325
|
+
font-size: m,
|
|
326
|
+
line-height: m
|
|
327
|
+
),
|
|
328
|
+
tablet: (
|
|
329
|
+
font-size: m,
|
|
330
|
+
line-height: m
|
|
331
|
+
),
|
|
332
|
+
mobile: (
|
|
333
|
+
font-size: m,
|
|
334
|
+
line-height: m
|
|
335
|
+
),
|
|
336
|
+
mobile-xs: (
|
|
337
|
+
font-size: m,
|
|
338
|
+
line-height: m
|
|
339
|
+
)
|
|
340
|
+
),
|
|
341
|
+
s: (
|
|
342
|
+
desktop: (
|
|
343
|
+
font-size: s,
|
|
344
|
+
line-height: s
|
|
345
|
+
),
|
|
346
|
+
tablet: (
|
|
347
|
+
font-size: s,
|
|
348
|
+
line-height: s
|
|
349
|
+
),
|
|
350
|
+
mobile: (
|
|
351
|
+
font-size: s,
|
|
352
|
+
line-height: s
|
|
353
|
+
),
|
|
354
|
+
mobile-xs: (
|
|
355
|
+
font-size: s,
|
|
356
|
+
line-height: s
|
|
357
|
+
)
|
|
358
|
+
),
|
|
359
|
+
xs: (
|
|
360
|
+
desktop: (
|
|
361
|
+
font-size: xs,
|
|
362
|
+
line-height: xs
|
|
363
|
+
),
|
|
364
|
+
tablet: (
|
|
365
|
+
font-size: xs,
|
|
366
|
+
line-height: xs
|
|
367
|
+
),
|
|
368
|
+
mobile: (
|
|
369
|
+
font-size: xs,
|
|
370
|
+
line-height: xs
|
|
371
|
+
),
|
|
372
|
+
mobile-xs: (
|
|
373
|
+
font-size: xs,
|
|
374
|
+
line-height: xs
|
|
375
|
+
)
|
|
376
|
+
),
|
|
377
|
+
2xs: (
|
|
378
|
+
desktop: (
|
|
379
|
+
font-size: 2xs,
|
|
380
|
+
line-height: 2xs
|
|
381
|
+
),
|
|
382
|
+
tablet: (
|
|
383
|
+
font-size: 2xs,
|
|
384
|
+
line-height: 2xs
|
|
385
|
+
),
|
|
386
|
+
mobile: (
|
|
387
|
+
font-size: 2xs,
|
|
388
|
+
line-height: 2xs
|
|
389
|
+
),
|
|
390
|
+
mobile-xs: (
|
|
391
|
+
font-size: 2xs,
|
|
392
|
+
line-height: 2xs
|
|
393
|
+
)
|
|
394
|
+
)
|
|
395
|
+
);
|
|
396
|
+
|
|
397
|
+
$font-weight-map: (
|
|
398
|
+
'light': 300,
|
|
399
|
+
'regular': 400,
|
|
400
|
+
'medium': 500,
|
|
401
|
+
'semi-bold': 600,
|
|
402
|
+
'bold': 700
|
|
403
|
+
);
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../01-base' as base;
|
|
3
|
+
@use './maps-colors-dark-theme' as colors;
|
|
4
|
+
|
|
5
|
+
html.eui-t-dark {
|
|
6
|
+
--eui-c-black: #fff;
|
|
7
|
+
--eui-c-white: #000;
|
|
8
|
+
|
|
9
|
+
--eui-c-secondary-min: #{map.get(map.get(colors.$color-map, gr), 950)};
|
|
10
|
+
--eui-c-secondary-max: #{map.get(map.get(colors.$color-map, gr), 25)};
|
|
11
|
+
|
|
12
|
+
--eui-c-surface-page: #{map.get(map.get(colors.$color-map, grn), 25)};
|
|
13
|
+
--eui-c-surface-shell: #{map.get(map.get(colors.$color-map, grn), 50)};
|
|
14
|
+
--eui-c-surface-container: #{map.get(map.get(colors.$color-map, grn), 50)};
|
|
15
|
+
--eui-c-surface-container-1: #{map.get(map.get(colors.$color-map, grn), 50)};
|
|
16
|
+
--eui-c-surface-container-2: #{map.get(map.get(colors.$color-map, grn), 75)};
|
|
17
|
+
--eui-c-surface-container-3: #{map.get(map.get(colors.$color-map, grn), 75)};
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
--eui-c-text: #{map.get(map.get(colors.$color-map, gr), 950)};
|
|
21
|
+
--eui-c-text-light: #{map.get(map.get(colors.$color-map, gr), 800)};
|
|
22
|
+
--eui-c-text-lighter: #{map.get(map.get(colors.$color-map, gr), 700)};
|
|
23
|
+
--eui-c-text-lightest: #{map.get(map.get(colors.$color-map, gr), 600)};
|
|
24
|
+
|
|
25
|
+
--eui-c-focus-visible: #{map.get(map.get(colors.$color-map, pr), 600)};
|
|
26
|
+
--eui-c-focus: #{map.get(map.get(colors.$color-map, pr), 400)};
|
|
27
|
+
|
|
28
|
+
--eui-c-hover: #{map.get(map.get(colors.$color-map, pr), 75)};
|
|
29
|
+
--eui-c-hover-disabled: #{map.get(map.get(colors.$color-map, gr), 100)};
|
|
30
|
+
|
|
31
|
+
--eui-c-active: #{map.get(map.get(colors.$color-map, pr), 600)};
|
|
32
|
+
--eui-c-active-bg: #{map.get(map.get(colors.$color-map, pr), 200)};
|
|
33
|
+
--eui-c-active-bg-alt: #{map.get(map.get(colors.$color-map, pr), 100)};
|
|
34
|
+
--eui-c-active-bg-light: #{map.get(map.get(colors.$color-map, pr), 100)};
|
|
35
|
+
--eui-c-active-bg-lighter: #{map.get(map.get(colors.$color-map, pr), 75)};
|
|
36
|
+
|
|
37
|
+
--eui-c-disabled: #{map.get(map.get(colors.$color-map, gr), 500)};
|
|
38
|
+
--eui-c-disabled-bg: #{map.get(map.get(colors.$color-map, gr), 50)};
|
|
39
|
+
--eui-c-readonly: #{map.get(map.get(colors.$color-map, gr), 600)};
|
|
40
|
+
|
|
41
|
+
--eui-c-link: #{map.get(map.get(colors.$color-map, pr), 600)};
|
|
42
|
+
|
|
43
|
+
--eui-c-divider: #{map.get(map.get(colors.$color-map, gr), 300)};
|
|
44
|
+
--eui-c-divider-dark: #{map.get(map.get(colors.$color-map, gr), 100)};
|
|
45
|
+
--eui-c-divider-light: #{map.get(map.get(colors.$color-map, gr), 200)};
|
|
46
|
+
|
|
47
|
+
// RGB
|
|
48
|
+
|
|
49
|
+
--eui-c-black: #fff;
|
|
50
|
+
--eui-c-white: #000;
|
|
51
|
+
|
|
52
|
+
--eui-c-secondary-min-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 950))};
|
|
53
|
+
--eui-c-secondary-max-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 25))};
|
|
54
|
+
|
|
55
|
+
--eui-c-surface-page-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, grn), 25))};
|
|
56
|
+
--eui-c-surface-shell-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, grn), 50))};
|
|
57
|
+
--eui-c-surface-container-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, grn), 50))};
|
|
58
|
+
--eui-c-surface-container-1-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, grn), 50))};
|
|
59
|
+
--eui-c-surface-container-2-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, grn), 75))};
|
|
60
|
+
--eui-c-surface-container-3-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, grn), 75))};
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
--eui-c-text-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 950))};
|
|
64
|
+
--eui-c-text-light-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 800))};
|
|
65
|
+
--eui-c-text-lighter-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 700))};
|
|
66
|
+
--eui-c-text-lightest-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 600))};
|
|
67
|
+
|
|
68
|
+
--eui-c-focus-visible-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, pr), 600))};
|
|
69
|
+
--eui-c-focus-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, pr), 400))};
|
|
70
|
+
|
|
71
|
+
--eui-c-hover-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, pr), 75))};
|
|
72
|
+
--eui-c-hover-disabled-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 100))};
|
|
73
|
+
|
|
74
|
+
--eui-c-active-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, pr), 600))};
|
|
75
|
+
--eui-c-active-bg-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, pr), 200))};
|
|
76
|
+
--eui-c-active-bg-alt-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, pr), 100))};
|
|
77
|
+
--eui-c-active-bg-light-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, pr), 100))};
|
|
78
|
+
--eui-c-active-bg-lighter-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, pr), 75))};
|
|
79
|
+
|
|
80
|
+
--eui-c-disabled-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 500))};
|
|
81
|
+
--eui-c-disabled-bg-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 50))};
|
|
82
|
+
--eui-c-readonly-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 600))};
|
|
83
|
+
|
|
84
|
+
--eui-c-link-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, pr), 600))};
|
|
85
|
+
|
|
86
|
+
--eui-c-divider-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 300))};
|
|
87
|
+
--eui-c-divider-dark-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 100))};
|
|
88
|
+
--eui-c-divider-light-rgb: #{base.toRGB(map.get(map.get(colors.$color-map, gr), 200))};
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
// CONTEXT COLORS FROM PALETTES
|
|
92
|
+
// ----------------------------
|
|
93
|
+
|
|
94
|
+
@each $color, $shades in colors.$color-state-map {
|
|
95
|
+
@each $shade, $value in $shades {
|
|
96
|
+
@if $shade == default {
|
|
97
|
+
--eui-c-#{$color}: #{$value};
|
|
98
|
+
--eui-c-#{$color}-rgb: #{base.toRGB($value)};
|
|
99
|
+
} @else {
|
|
100
|
+
--eui-c-#{$color + '-' + $shade}: #{$value};
|
|
101
|
+
--eui-c-#{$color + '-' + $shade}-rgb: #{base.toRGB($value)};
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|