@eui/styles 23.0.0-alpha.6 → 23.0.0-alpha.8
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/eui-showcase-all.css +1 -1
- package/dist/eui-showcase-all.css.map +1 -1
- package/package.json +1 -1
- package/dist/base/01-base-eds/functions.scss +0 -12
- package/dist/base/01-base-eds/index.scss +0 -6
- package/dist/base/01-base-eds/mixins.scss +0 -71
- package/dist/base/01-base-eds/variables.scss +0 -2
- package/dist/base/02-tokens-eds/colors-primitive.scss +0 -364
- package/dist/base/02-tokens-eds/colors-semantic-dark-theme.scss +0 -166
- package/dist/base/02-tokens-eds/colors-semantic.scss +0 -176
- package/dist/base/02-tokens-eds/maps.scss +0 -108
- package/dist/base/02-tokens-eds/typography-primitive.scss +0 -69
- package/dist/base/02-tokens-eds/typography-semantic.scss +0 -116
- package/dist/base/03-vars-eds/vars-colors-dark-theme.scss +0 -7
- package/dist/base/03-vars-eds/vars-colors.scss +0 -7
- package/dist/base/03-vars-eds/vars-typography.scss +0 -71
- package/dist/base/03-vars-eds/vars.scss +0 -64
- package/dist/base/99-utilities-eds/_colors.scss +0 -23
- package/dist/base/99-utilities-eds/_typography.scss +0 -24
- package/dist/base/99-utilities-eds/index.scss +0 -2
- package/dist/base/base-eds.scss +0 -2
- package/dist/eui-eds.css +0 -1
- package/dist/eui-eds.css.map +0 -1
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@use 'sass:list';
|
|
2
|
-
|
|
3
|
-
@function new-breakpoint($query: $feature $value) {
|
|
4
|
-
$default-feature-min: "min-width";
|
|
5
|
-
|
|
6
|
-
@if list.length($query) == 1 {
|
|
7
|
-
$query: $default-feature-min nth($query, 1);
|
|
8
|
-
} @else if is-even(list.length($query)) {
|
|
9
|
-
$query: list.append($query, 12);
|
|
10
|
-
}
|
|
11
|
-
@return $query;
|
|
12
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:list';
|
|
3
|
-
|
|
4
|
-
$default-feature: "min-width";
|
|
5
|
-
@mixin media($query: $feature $value $columns) {
|
|
6
|
-
@if list.length($query) == 1 {
|
|
7
|
-
@media screen and ($default-feature: list.nth($query, 1)) {
|
|
8
|
-
@content;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
@else {
|
|
12
|
-
$loop-to: list.length($query);
|
|
13
|
-
$media-query: "screen and ";
|
|
14
|
-
@if is-not(is-even(list.length($query))) {
|
|
15
|
-
$loop-to: $loop-to - 1;
|
|
16
|
-
}
|
|
17
|
-
$i: 1;
|
|
18
|
-
@while $i <=$loop-to {
|
|
19
|
-
$media-query: $media-query + "(" + list.nth($query, $i) + ": " + list.nth($query, $i + 1) + ") ";
|
|
20
|
-
@if ($i + 1) != $loop-to {
|
|
21
|
-
$media-query: $media-query + "and ";
|
|
22
|
-
}
|
|
23
|
-
$i: $i+2;
|
|
24
|
-
}
|
|
25
|
-
@media #{$media-query} {
|
|
26
|
-
@content;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@mixin eds-ellipsis() {
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
text-overflow: ellipsis;
|
|
34
|
-
white-space: nowrap;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@mixin eds-focus-visible($offset: -2px, $size: 2px) {
|
|
38
|
-
&:focus-visible:not([readonly]) {
|
|
39
|
-
outline: $size solid var(--eds-c-border-primary) !important;
|
|
40
|
-
outline-offset: $offset !important;
|
|
41
|
-
transition: none;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
@mixin eds-focus-ring($offset: 1px) {
|
|
45
|
-
&:focus:not([readonly]) {
|
|
46
|
-
outline: var(--eds-bw-s) solid var(--eds-c-border-primary) !important;
|
|
47
|
-
outline-offset: $offset !important;
|
|
48
|
-
border-radius: var(--eds-br-xs) !important;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
@mixin eds-focus-ring-rounded($offset: 1px) {
|
|
52
|
-
&:focus:not([readonly]) {
|
|
53
|
-
outline: var(--eds-bw-s) solid var(--eds-c-border-primary) !important;
|
|
54
|
-
outline-offset: $offset !important;
|
|
55
|
-
border-radius: var(--eds-br-full) !important;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
@mixin eds-focus-visible-ring($offset: 1px) {
|
|
59
|
-
&:focus-visible:not([readonly]) {
|
|
60
|
-
outline: var(--eds-bw-s) solid var(--eds-c-border-primary) !important;
|
|
61
|
-
outline-offset: $offset !important;
|
|
62
|
-
border-radius: var(--eds-br-xs) !important;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
@mixin eds-focus-visible-ring-rounded($offset: 1px) {
|
|
66
|
-
&:focus-visible:not([readonly]) {
|
|
67
|
-
outline: var(--eds-bw-s) solid var(--eds-c-border-primary) !important;
|
|
68
|
-
outline-offset: $offset !important;
|
|
69
|
-
border-radius: var(--eds-br-full) !important;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,364 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:color';
|
|
3
|
-
@use '../01-base/' as base;
|
|
4
|
-
|
|
5
|
-
// PRIMITIVE COLOR MAPS
|
|
6
|
-
|
|
7
|
-
$color-map: (
|
|
8
|
-
'european-blue-25': #f7f9ff,
|
|
9
|
-
'european-blue-50': #f2f6ff,
|
|
10
|
-
'european-blue-75': #eef2ff,
|
|
11
|
-
'european-blue-100': #e6edff,
|
|
12
|
-
'european-blue-200': #d9e3ff,
|
|
13
|
-
'european-blue-300': #b0c6ff,
|
|
14
|
-
'european-blue-400': #8cacff,
|
|
15
|
-
'european-blue-500': #5987ff,
|
|
16
|
-
'european-blue-600': #0046ff,
|
|
17
|
-
'european-blue-700': #0035bf,
|
|
18
|
-
'european-blue-800': #002a99,
|
|
19
|
-
'european-blue-900': #001f73,
|
|
20
|
-
'european-blue-950': #001959,
|
|
21
|
-
|
|
22
|
-
'silver-fog-0': #fff,
|
|
23
|
-
'silver-fog-25': #fafafb,
|
|
24
|
-
'silver-fog-50': #f6f6f8,
|
|
25
|
-
'silver-fog-75': #ededf0,
|
|
26
|
-
'silver-fog-100': #e1e1e7,
|
|
27
|
-
'silver-fog-200': #d4d4dc,
|
|
28
|
-
'silver-fog-300': #b9b9c5,
|
|
29
|
-
'silver-fog-400': #a0a0b1,
|
|
30
|
-
'silver-fog-500': #84849b,
|
|
31
|
-
'silver-fog-600': #696984,
|
|
32
|
-
'silver-fog-700': #505070,
|
|
33
|
-
'silver-fog-800': #353559,
|
|
34
|
-
'silver-fog-900': #171740,
|
|
35
|
-
'silver-fog-950': #00002e,
|
|
36
|
-
'silver-fog-1000': #000,
|
|
37
|
-
|
|
38
|
-
'graphite-0': #fff,
|
|
39
|
-
'graphite-25': #F4F4F5,
|
|
40
|
-
'graphite-50': #E8E8EA,
|
|
41
|
-
'graphite-75': #D1D1D4,
|
|
42
|
-
'graphite-100': #B4B4B9,
|
|
43
|
-
'graphite-200': #8E8E94,
|
|
44
|
-
'graphite-300': #6A6A71,
|
|
45
|
-
'graphite-400': #6A6A71,
|
|
46
|
-
'graphite-500': #2C2C36,
|
|
47
|
-
'graphite-600': #24242C,
|
|
48
|
-
'graphite-700': #1E1E25,
|
|
49
|
-
'graphite-800': #18181C,
|
|
50
|
-
'graphite-900': #131318,
|
|
51
|
-
'graphite-950': #0D0D12,
|
|
52
|
-
'graphite-1000': #000,
|
|
53
|
-
|
|
54
|
-
'sunrise-orange-25': #fffcf7,
|
|
55
|
-
'sunrise-orange-50': #fff5e5,
|
|
56
|
-
'sunrise-orange-75': #ffebcc,
|
|
57
|
-
'sunrise-orange-100': #ffe1b4,
|
|
58
|
-
'sunrise-orange-200': #ffd392,
|
|
59
|
-
'sunrise-orange-300': #ffcb7d,
|
|
60
|
-
'sunrise-orange-400': #ffbe5c,
|
|
61
|
-
'sunrise-orange-500': #fea439,
|
|
62
|
-
'sunrise-orange-600': #fc8713,
|
|
63
|
-
'sunrise-orange-700': #ed6c09,
|
|
64
|
-
'sunrise-orange-800': #c55109,
|
|
65
|
-
'sunrise-orange-900': #9e4107,
|
|
66
|
-
'sunrise-orange-950': #763105,
|
|
67
|
-
|
|
68
|
-
'red-25': #fefafa,
|
|
69
|
-
'red-50': #fdefef,
|
|
70
|
-
'red-75': #fce9ea,
|
|
71
|
-
'red-100': #f5bbbe,
|
|
72
|
-
'red-200': #f09a9e,
|
|
73
|
-
'red-300': #ea6c72,
|
|
74
|
-
'red-400': #e54f57,
|
|
75
|
-
'red-500': #df232d,
|
|
76
|
-
'red-600': #cb2029,
|
|
77
|
-
'red-700': #9e1920,
|
|
78
|
-
'red-800': #7b1319,
|
|
79
|
-
'red-900': #5a0e12,
|
|
80
|
-
'red-950': #1f0506,
|
|
81
|
-
|
|
82
|
-
'orange-25': #fffaf5,
|
|
83
|
-
'orange-50': #fff3e8,
|
|
84
|
-
'orange-75': #ffeddc,
|
|
85
|
-
'orange-100': #ffdbba,
|
|
86
|
-
'orange-200': #ffc998,
|
|
87
|
-
'orange-300': #ffb16a,
|
|
88
|
-
'orange-400': #ffa14d,
|
|
89
|
-
'orange-500': #ff8a20,
|
|
90
|
-
'orange-600': #e87e1d,
|
|
91
|
-
'orange-700': #ba6517,
|
|
92
|
-
'orange-800': #8b4c11,
|
|
93
|
-
'orange-900': #68390d,
|
|
94
|
-
'orange-950': #512c0a,
|
|
95
|
-
|
|
96
|
-
'blue-25': #f9fbfd,
|
|
97
|
-
'blue-50': #f5f7fb,
|
|
98
|
-
'blue-75': #ebeff7,
|
|
99
|
-
'blue-100': #dee4f2,
|
|
100
|
-
'blue-200': #bfcce6,
|
|
101
|
-
'blue-300': #a3b6da,
|
|
102
|
-
'blue-400': #859dce,
|
|
103
|
-
'blue-500': #6685c2,
|
|
104
|
-
'blue-600': #3b62b0,
|
|
105
|
-
'blue-700': #1c49a4,
|
|
106
|
-
'blue-800': #039,
|
|
107
|
-
'blue-900': #00297a,
|
|
108
|
-
'blue-950': #001f5c,
|
|
109
|
-
|
|
110
|
-
'green-25': #f9fefc,
|
|
111
|
-
'green-50': #edfbf6,
|
|
112
|
-
'green-75': #e3f9f0,
|
|
113
|
-
'green-100': #daf6eb,
|
|
114
|
-
'green-200': #b2edd6,
|
|
115
|
-
'green-300': #8fe5c4,
|
|
116
|
-
'green-400': #5ddaa9,
|
|
117
|
-
'green-500': #05c67b,
|
|
118
|
-
'green-600': #05b26f,
|
|
119
|
-
'green-700': #049e62,
|
|
120
|
-
'green-800': #037e4e,
|
|
121
|
-
'green-900': #025f3b,
|
|
122
|
-
'green-950': #02472c,
|
|
123
|
-
|
|
124
|
-
'alpha-silver-fog-0-0': rgba(255,255,255,0.0),
|
|
125
|
-
'alpha-silver-fog-0-8': rgba(255,255,255,0.08),
|
|
126
|
-
'alpha-silver-fog-0-10': rgba(255,255,255,0.1),
|
|
127
|
-
'alpha-silver-fog-0-12': rgba(255,255,255,0.12),
|
|
128
|
-
'alpha-silver-fog-0-14': rgba(255,255,255,0.14),
|
|
129
|
-
'alpha-silver-fog-0-20': rgba(255,255,255,0.2),
|
|
130
|
-
'alpha-silver-fog-0-30': rgba(255,255,255,0.3),
|
|
131
|
-
'alpha-silver-fog-0-40': rgba(255,255,255,0.4),
|
|
132
|
-
'alpha-silver-fog-0-50': rgba(255,255,255,0.5),
|
|
133
|
-
'alpha-silver-fog-0-60': rgba(255,255,255,0.6),
|
|
134
|
-
'alpha-silver-fog-0-70': rgba(255,255,255,0.7),
|
|
135
|
-
'alpha-silver-fog-0-80': rgba(255,255,255,0.8),
|
|
136
|
-
'alpha-silver-fog-0-90': rgba(255,255,255,0.9),
|
|
137
|
-
'alpha-silver-fog-950-0': rgba(0,0,46,0.0),
|
|
138
|
-
'alpha-silver-fog-950-8': rgba(0,0,46,0.08),
|
|
139
|
-
'alpha-silver-fog-950-10': rgba(0,0,46,0.1),
|
|
140
|
-
'alpha-silver-fog-950-12': rgba(0,0,46,0.12),
|
|
141
|
-
'alpha-silver-fog-950-14': rgba(0,0,46,0.14),
|
|
142
|
-
'alpha-silver-fog-950-20': rgba(0,0,46,0.2),
|
|
143
|
-
'alpha-silver-fog-950-30': rgba(0,0,46,0.3),
|
|
144
|
-
'alpha-silver-fog-950-40': rgba(0,0,46,0.4),
|
|
145
|
-
'alpha-silver-fog-950-50': rgba(0,0,46,0.5),
|
|
146
|
-
'alpha-silver-fog-950-60': rgba(0,0,46,0.6),
|
|
147
|
-
'alpha-silver-fog-950-70': rgba(0,0,46,0.7),
|
|
148
|
-
'alpha-silver-fog-950-80': rgba(0,0,46,0.8),
|
|
149
|
-
'alpha-silver-fog-950-90': rgba(0,0,46,0.9),
|
|
150
|
-
|
|
151
|
-
'alpha-graphite-0-0': rgba(255,255,255,0.0),
|
|
152
|
-
'alpha-graphite-0-8': rgba(255,255,255,0.08),
|
|
153
|
-
'alpha-graphite-0-10': rgba(255,255,255,0.1),
|
|
154
|
-
'alpha-graphite-0-12': rgba(255,255,255,0.12),
|
|
155
|
-
'alpha-graphite-0-14': rgba(255,255,255,0.14),
|
|
156
|
-
'alpha-graphite-0-20': rgba(255,255,255,0.2),
|
|
157
|
-
'alpha-graphite-0-30': rgba(255,255,255,0.3),
|
|
158
|
-
'alpha-graphite-0-40': rgba(255,255,255,0.4),
|
|
159
|
-
'alpha-graphite-0-50': rgba(255,255,255,0.5),
|
|
160
|
-
'alpha-graphite-0-60': rgba(255,255,255,0.6),
|
|
161
|
-
'alpha-graphite-0-70': rgba(255,255,255,0.7),
|
|
162
|
-
'alpha-graphite-0-80': rgba(255,255,255,0.8),
|
|
163
|
-
'alpha-graphite-0-90': rgba(255,255,255,0.9),
|
|
164
|
-
'alpha-graphite-950-0': rgba(13,13,18,0.0),
|
|
165
|
-
'alpha-graphite-950-8': rgba(13,13,18,0.08),
|
|
166
|
-
'alpha-graphite-950-10': rgba(13,13,18,0.1),
|
|
167
|
-
'alpha-graphite-950-12': rgba(13,13,18,0.12),
|
|
168
|
-
'alpha-graphite-950-14': rgba(13,13,18,0.14),
|
|
169
|
-
'alpha-graphite-950-20': rgba(13,13,18,0.2),
|
|
170
|
-
'alpha-graphite-950-30': rgba(13,13,18,0.3),
|
|
171
|
-
'alpha-graphite-950-40': rgba(13,13,18,0.4),
|
|
172
|
-
'alpha-graphite-950-50': rgba(13,13,18,0.5),
|
|
173
|
-
'alpha-graphite-950-60': rgba(13,13,18,0.6),
|
|
174
|
-
'alpha-graphite-950-70': rgba(13,13,18,0.7),
|
|
175
|
-
'alpha-graphite-950-80': rgba(13,13,18,0.8),
|
|
176
|
-
'alpha-graphite-950-90': rgba(13,13,18,0.9),
|
|
177
|
-
);
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
$color-map-alt: (
|
|
181
|
-
european-blue: (
|
|
182
|
-
950: map.get($color-map, 'european-blue-950'),
|
|
183
|
-
900: map.get($color-map, 'european-blue-900'),
|
|
184
|
-
800: map.get($color-map, 'european-blue-800'),
|
|
185
|
-
700: map.get($color-map, 'european-blue-700'),
|
|
186
|
-
600: map.get($color-map, 'european-blue-600'),
|
|
187
|
-
500: map.get($color-map, 'european-blue-500'),
|
|
188
|
-
400: map.get($color-map, 'european-blue-400'),
|
|
189
|
-
300: map.get($color-map, 'european-blue-300'),
|
|
190
|
-
200: map.get($color-map, 'european-blue-200'),
|
|
191
|
-
100: map.get($color-map, 'european-blue-100'),
|
|
192
|
-
75: map.get($color-map, 'european-blue-75'),
|
|
193
|
-
50: map.get($color-map, 'european-blue-50'),
|
|
194
|
-
25: map.get($color-map, 'european-blue-25'),
|
|
195
|
-
),
|
|
196
|
-
sunrise-orange: (
|
|
197
|
-
950: map.get($color-map, 'sunrise-orange-950'),
|
|
198
|
-
900: map.get($color-map, 'sunrise-orange-900'),
|
|
199
|
-
800: map.get($color-map, 'sunrise-orange-800'),
|
|
200
|
-
700: map.get($color-map, 'sunrise-orange-700'),
|
|
201
|
-
600: map.get($color-map, 'sunrise-orange-600'),
|
|
202
|
-
500: map.get($color-map, 'sunrise-orange-500'),
|
|
203
|
-
400: map.get($color-map, 'sunrise-orange-400'),
|
|
204
|
-
300: map.get($color-map, 'sunrise-orange-300'),
|
|
205
|
-
200: map.get($color-map, 'sunrise-orange-200'),
|
|
206
|
-
100: map.get($color-map, 'sunrise-orange-100'),
|
|
207
|
-
75: map.get($color-map, 'sunrise-orange-75'),
|
|
208
|
-
50: map.get($color-map, 'sunrise-orange-50'),
|
|
209
|
-
25: map.get($color-map, 'sunrise-orange-25'),
|
|
210
|
-
),
|
|
211
|
-
silver-fog: (
|
|
212
|
-
1000: map.get($color-map, 'silver-fog-1000'),
|
|
213
|
-
950: map.get($color-map, 'silver-fog-950'),
|
|
214
|
-
900: map.get($color-map, 'silver-fog-900'),
|
|
215
|
-
800: map.get($color-map, 'silver-fog-800'),
|
|
216
|
-
700: map.get($color-map, 'silver-fog-700'),
|
|
217
|
-
600: map.get($color-map, 'silver-fog-600'),
|
|
218
|
-
500: map.get($color-map, 'silver-fog-500'),
|
|
219
|
-
400: map.get($color-map, 'silver-fog-400'),
|
|
220
|
-
300: map.get($color-map, 'silver-fog-300'),
|
|
221
|
-
200: map.get($color-map, 'silver-fog-200'),
|
|
222
|
-
100: map.get($color-map, 'silver-fog-100'),
|
|
223
|
-
75: map.get($color-map, 'silver-fog-75'),
|
|
224
|
-
50: map.get($color-map, 'silver-fog-50'),
|
|
225
|
-
25: map.get($color-map, 'silver-fog-25'),
|
|
226
|
-
0: map.get($color-map, 'silver-fog-0'),
|
|
227
|
-
),
|
|
228
|
-
graphite: (
|
|
229
|
-
950: map.get($color-map, 'graphite-950'),
|
|
230
|
-
900: map.get($color-map, 'graphite-900'),
|
|
231
|
-
800: map.get($color-map, 'graphite-800'),
|
|
232
|
-
700: map.get($color-map, 'graphite-700'),
|
|
233
|
-
600: map.get($color-map, 'graphite-600'),
|
|
234
|
-
500: map.get($color-map, 'graphite-500'),
|
|
235
|
-
400: map.get($color-map, 'graphite-400'),
|
|
236
|
-
300: map.get($color-map, 'graphite-300'),
|
|
237
|
-
200: map.get($color-map, 'graphite-200'),
|
|
238
|
-
100: map.get($color-map, 'graphite-100'),
|
|
239
|
-
75: map.get($color-map, 'graphite-75'),
|
|
240
|
-
50: map.get($color-map, 'graphite-50'),
|
|
241
|
-
25: map.get($color-map, 'graphite-25'),
|
|
242
|
-
),
|
|
243
|
-
blue: (
|
|
244
|
-
950: map.get($color-map, 'blue-950'),
|
|
245
|
-
900: map.get($color-map, 'blue-900'),
|
|
246
|
-
800: map.get($color-map, 'blue-800'),
|
|
247
|
-
700: map.get($color-map, 'blue-700'),
|
|
248
|
-
600: map.get($color-map, 'blue-600'),
|
|
249
|
-
500: map.get($color-map, 'blue-500'),
|
|
250
|
-
400: map.get($color-map, 'blue-400'),
|
|
251
|
-
300: map.get($color-map, 'blue-300'),
|
|
252
|
-
200: map.get($color-map, 'blue-200'),
|
|
253
|
-
100: map.get($color-map, 'blue-100'),
|
|
254
|
-
75: map.get($color-map, 'blue-75'),
|
|
255
|
-
50: map.get($color-map, 'blue-50'),
|
|
256
|
-
25: map.get($color-map, 'blue-25'),
|
|
257
|
-
),
|
|
258
|
-
green: (
|
|
259
|
-
950: map.get($color-map, 'green-950'),
|
|
260
|
-
900: map.get($color-map, 'green-900'),
|
|
261
|
-
800: map.get($color-map, 'green-800'),
|
|
262
|
-
700: map.get($color-map, 'green-700'),
|
|
263
|
-
600: map.get($color-map, 'green-600'),
|
|
264
|
-
500: map.get($color-map, 'green-500'),
|
|
265
|
-
400: map.get($color-map, 'green-400'),
|
|
266
|
-
300: map.get($color-map, 'green-300'),
|
|
267
|
-
200: map.get($color-map, 'green-200'),
|
|
268
|
-
100: map.get($color-map, 'green-100'),
|
|
269
|
-
75: map.get($color-map, 'green-75'),
|
|
270
|
-
50: map.get($color-map, 'green-50'),
|
|
271
|
-
25: map.get($color-map, 'green-25'),
|
|
272
|
-
),
|
|
273
|
-
orange: (
|
|
274
|
-
950: map.get($color-map, 'orange-950'),
|
|
275
|
-
900: map.get($color-map, 'orange-900'),
|
|
276
|
-
800: map.get($color-map, 'orange-800'),
|
|
277
|
-
700: map.get($color-map, 'orange-700'),
|
|
278
|
-
600: map.get($color-map, 'orange-600'),
|
|
279
|
-
500: map.get($color-map, 'orange-500'),
|
|
280
|
-
400: map.get($color-map, 'orange-400'),
|
|
281
|
-
300: map.get($color-map, 'orange-300'),
|
|
282
|
-
200: map.get($color-map, 'orange-200'),
|
|
283
|
-
100: map.get($color-map, 'orange-100'),
|
|
284
|
-
75: map.get($color-map, 'orange-75'),
|
|
285
|
-
50: map.get($color-map, 'orange-50'),
|
|
286
|
-
25: map.get($color-map, 'orange-25'),
|
|
287
|
-
),
|
|
288
|
-
red: (
|
|
289
|
-
950: map.get($color-map, 'red-950'),
|
|
290
|
-
900: map.get($color-map, 'red-900'),
|
|
291
|
-
800: map.get($color-map, 'red-800'),
|
|
292
|
-
700: map.get($color-map, 'red-700'),
|
|
293
|
-
600: map.get($color-map, 'red-600'),
|
|
294
|
-
500: map.get($color-map, 'red-500'),
|
|
295
|
-
400: map.get($color-map, 'red-400'),
|
|
296
|
-
300: map.get($color-map, 'red-300'),
|
|
297
|
-
200: map.get($color-map, 'red-200'),
|
|
298
|
-
100: map.get($color-map, 'red-100'),
|
|
299
|
-
75: map.get($color-map, 'red-75'),
|
|
300
|
-
50: map.get($color-map, 'red-50'),
|
|
301
|
-
25: map.get($color-map, 'red-25'),
|
|
302
|
-
),
|
|
303
|
-
alpha-silver-fog-0: (
|
|
304
|
-
0: map.get($color-map, 'alpha-silver-fog-0-0'),
|
|
305
|
-
8: map.get($color-map, 'alpha-silver-fog-0-8'),
|
|
306
|
-
10: map.get($color-map, 'alpha-silver-fog-0-10'),
|
|
307
|
-
12: map.get($color-map, 'alpha-silver-fog-0-12'),
|
|
308
|
-
14: map.get($color-map, 'alpha-silver-fog-0-14'),
|
|
309
|
-
20: map.get($color-map, 'alpha-silver-fog-0-20'),
|
|
310
|
-
30: map.get($color-map, 'alpha-silver-fog-0-30'),
|
|
311
|
-
40: map.get($color-map, 'alpha-silver-fog-0-40'),
|
|
312
|
-
50: map.get($color-map, 'alpha-silver-fog-0-50'),
|
|
313
|
-
60: map.get($color-map, 'alpha-silver-fog-0-60'),
|
|
314
|
-
70: map.get($color-map, 'alpha-silver-fog-0-70'),
|
|
315
|
-
80: map.get($color-map, 'alpha-silver-fog-0-80'),
|
|
316
|
-
90: map.get($color-map, 'alpha-silver-fog-0-90'),
|
|
317
|
-
),
|
|
318
|
-
alpha-silver-fog-950: (
|
|
319
|
-
0: map.get($color-map, 'alpha-silver-fog-950-0'),
|
|
320
|
-
8: map.get($color-map, 'alpha-silver-fog-950-8'),
|
|
321
|
-
10: map.get($color-map, 'alpha-silver-fog-950-10'),
|
|
322
|
-
12: map.get($color-map, 'alpha-silver-fog-950-12'),
|
|
323
|
-
14: map.get($color-map, 'alpha-silver-fog-950-14'),
|
|
324
|
-
20: map.get($color-map, 'alpha-silver-fog-950-20'),
|
|
325
|
-
30: map.get($color-map, 'alpha-silver-fog-950-30'),
|
|
326
|
-
40: map.get($color-map, 'alpha-silver-fog-950-40'),
|
|
327
|
-
50: map.get($color-map, 'alpha-silver-fog-950-50'),
|
|
328
|
-
60: map.get($color-map, 'alpha-silver-fog-950-60'),
|
|
329
|
-
70: map.get($color-map, 'alpha-silver-fog-950-70'),
|
|
330
|
-
80: map.get($color-map, 'alpha-silver-fog-950-80'),
|
|
331
|
-
90: map.get($color-map, 'alpha-silver-fog-950-90'),
|
|
332
|
-
),
|
|
333
|
-
alpha-graphite-0: (
|
|
334
|
-
0: map.get($color-map, 'alpha-graphite-0-0'),
|
|
335
|
-
8: map.get($color-map, 'alpha-graphite-0-8'),
|
|
336
|
-
10: map.get($color-map, 'alpha-graphite-0-10'),
|
|
337
|
-
12: map.get($color-map, 'alpha-graphite-0-12'),
|
|
338
|
-
14: map.get($color-map, 'alpha-graphite-0-14'),
|
|
339
|
-
20: map.get($color-map, 'alpha-graphite-0-20'),
|
|
340
|
-
30: map.get($color-map, 'alpha-graphite-0-30'),
|
|
341
|
-
40: map.get($color-map, 'alpha-graphite-0-40'),
|
|
342
|
-
50: map.get($color-map, 'alpha-graphite-0-50'),
|
|
343
|
-
60: map.get($color-map, 'alpha-graphite-0-60'),
|
|
344
|
-
70: map.get($color-map, 'alpha-graphite-0-70'),
|
|
345
|
-
80: map.get($color-map, 'alpha-graphite-0-80'),
|
|
346
|
-
90: map.get($color-map, 'alpha-graphite-0-90'),
|
|
347
|
-
),
|
|
348
|
-
alpha-graphite-950: (
|
|
349
|
-
0: map.get($color-map, 'alpha-graphite-950-0'),
|
|
350
|
-
8: map.get($color-map, 'alpha-graphite-950-8'),
|
|
351
|
-
10: map.get($color-map, 'alpha-graphite-950-10'),
|
|
352
|
-
12: map.get($color-map, 'alpha-graphite-950-12'),
|
|
353
|
-
14: map.get($color-map, 'alpha-graphite-950-14'),
|
|
354
|
-
20: map.get($color-map, 'alpha-graphite-950-20'),
|
|
355
|
-
30: map.get($color-map, 'alpha-graphite-950-30'),
|
|
356
|
-
40: map.get($color-map, 'alpha-graphite-950-40'),
|
|
357
|
-
50: map.get($color-map, 'alpha-graphite-950-50'),
|
|
358
|
-
60: map.get($color-map, 'alpha-graphite-950-60'),
|
|
359
|
-
70: map.get($color-map, 'alpha-graphite-950-70'),
|
|
360
|
-
80: map.get($color-map, 'alpha-graphite-950-80'),
|
|
361
|
-
90: map.get($color-map, 'alpha-graphite-950-90'),
|
|
362
|
-
),
|
|
363
|
-
|
|
364
|
-
);
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:color';
|
|
3
|
-
@use '../01-base/' as base;
|
|
4
|
-
@use './colors-primitive' as primitive;
|
|
5
|
-
|
|
6
|
-
$color-semantic-map: (
|
|
7
|
-
surface-accent: map.get(primitive.$color-map, 'graphite-900'),
|
|
8
|
-
surface-selected: map.get(primitive.$color-map, 'graphite-800'),
|
|
9
|
-
surface-skeleton: map.get(primitive.$color-map, 'graphite-800'),
|
|
10
|
-
surface-brand: map.get(primitive.$color-map, 'graphite-900'),
|
|
11
|
-
// surface-invisible: map.get(primitive.$color-map, 'alpha-graphite-0-0'), // TODO add alpha palettes
|
|
12
|
-
|
|
13
|
-
surface-elevation-sunken: map.get(primitive.$color-map, 'graphite-1000'),
|
|
14
|
-
surface-elevation-inset: map.get(primitive.$color-map, 'graphite-950'),
|
|
15
|
-
surface-elevation: map.get(primitive.$color-map, 'graphite-900'),
|
|
16
|
-
surface-elevation-raised: map.get(primitive.$color-map, 'graphite-800'),
|
|
17
|
-
surface-elevation-elevated: map.get(primitive.$color-map, 'graphite-700'),
|
|
18
|
-
surface-elevation-overlay: map.get(primitive.$color-map, 'graphite-600'),
|
|
19
|
-
|
|
20
|
-
surface-disabled: map.get(primitive.$color-map, 'graphite-700'),
|
|
21
|
-
on-surface-disabled: map.get(primitive.$color-map, 'graphite-400'),
|
|
22
|
-
surface-disabled-subtle: map.get(primitive.$color-map, 'graphite-800'),
|
|
23
|
-
on-surface-disabled-subtle: map.get(primitive.$color-map, 'graphite-400'),
|
|
24
|
-
|
|
25
|
-
surface-primary: map.get(primitive.$color-map, 'european-blue-600'),
|
|
26
|
-
on-surface-primary: map.get(primitive.$color-map, 'graphite-0'),
|
|
27
|
-
surface-primary--hover: map.get(primitive.$color-map, 'european-blue-700'),
|
|
28
|
-
on-surface-primary--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
29
|
-
surface-primary--pressed: map.get(primitive.$color-map, 'european-blue-800'),
|
|
30
|
-
on-surface-primary--pressed: map.get(primitive.$color-map, 'graphite-0'),
|
|
31
|
-
surface-primary-subtle: map.get(primitive.$color-map, 'european-blue-50'),
|
|
32
|
-
on-surface-primary-subtle: map.get(primitive.$color-map, 'european-blue-800'),
|
|
33
|
-
|
|
34
|
-
surface-highlight: map.get(primitive.$color-map, 'sunrise-orange-300'),
|
|
35
|
-
on-surface-highlight: map.get(primitive.$color-map, 'sunrise-orange-950'),
|
|
36
|
-
surface-highlight--hover: map.get(primitive.$color-map, 'sunrise-orange-400'),
|
|
37
|
-
on-surface-highlight--hover: map.get(primitive.$color-map, 'sunrise-orange-950'),
|
|
38
|
-
surface-highlight--pressed: map.get(primitive.$color-map, 'sunrise-orange-500'),
|
|
39
|
-
on-surface-highlight--pressed: map.get(primitive.$color-map, 'sunrise-orange-950'),
|
|
40
|
-
surface-highlight-subtler: map.get(primitive.$color-map, 'sunrise-orange-50'),
|
|
41
|
-
on-surface-highlight-subtler: map.get(primitive.$color-map, 'sunrise-orange-900'),
|
|
42
|
-
|
|
43
|
-
surface-inverted: map.get(primitive.$color-map, 'graphite-50'),
|
|
44
|
-
on-surface-inverted: map.get(primitive.$color-map, 'graphite-950'),
|
|
45
|
-
surface-inverted-subtle: map.get(primitive.$color-map, 'graphite-50'),
|
|
46
|
-
on-surface-inverted-subtle: map.get(primitive.$color-map, 'graphite-800'),
|
|
47
|
-
surface-inverted-disabled: map.get(primitive.$color-map, 'graphite-50'),
|
|
48
|
-
on-surface-inverted-disabled: map.get(primitive.$color-map, 'graphite-100'),
|
|
49
|
-
|
|
50
|
-
surface-neutral: map.get(primitive.$color-map, 'graphite-300'),
|
|
51
|
-
on-surface-neutral: map.get(primitive.$color-map, 'graphite-0'),
|
|
52
|
-
surface-neutral--hover: map.get(primitive.$color-map, 'graphite-400'),
|
|
53
|
-
on-surface-neutral--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
54
|
-
surface-neutral--pressed: map.get(primitive.$color-map, 'graphite-500'),
|
|
55
|
-
on-surface-neutral--pressed: map.get(primitive.$color-map, 'graphite-0'),
|
|
56
|
-
surface-neutral-subtle: map.get(primitive.$color-map, 'graphite-800'),
|
|
57
|
-
on-surface-neutral-subtle: map.get(primitive.$color-map, 'graphite-0'),
|
|
58
|
-
surface-neutral-subtle--hover: map.get(primitive.$color-map, 'graphite-900'),
|
|
59
|
-
on-surface-neutral-subtle--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
60
|
-
surface-neutral-subtler: map.get(primitive.$color-map, 'graphite-700'),
|
|
61
|
-
on-surface-neutral-subtler: map.get(primitive.$color-map, 'graphite-0'),
|
|
62
|
-
|
|
63
|
-
surface-critical: map.get(primitive.$color-map, 'red-600'),
|
|
64
|
-
on-surface-critical: map.get(primitive.$color-map, 'graphite-0'),
|
|
65
|
-
surface-critical--hover: map.get(primitive.$color-map, 'red-700'),
|
|
66
|
-
on-surface-critical--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
67
|
-
surface-critical--pressed: map.get(primitive.$color-map, 'red-800'),
|
|
68
|
-
on-surface-critical--pressed: map.get(primitive.$color-map, 'graphite-0'),
|
|
69
|
-
surface-critical-subtle: map.get(primitive.$color-map, 'red-200'),
|
|
70
|
-
on-surface-critical-subtle: map.get(primitive.$color-map, 'red-900'),
|
|
71
|
-
surface-critical-subtler: map.get(primitive.$color-map, 'red-50'),
|
|
72
|
-
on-surface-critical-subtler: map.get(primitive.$color-map, 'red-700'),
|
|
73
|
-
|
|
74
|
-
surface-info: map.get(primitive.$color-map, 'blue-600'),
|
|
75
|
-
on-surface-info: map.get(primitive.$color-map, 'graphite-0'),
|
|
76
|
-
surface-info-subtle: map.get(primitive.$color-map, 'blue-200'),
|
|
77
|
-
on-surface-info-subtle: map.get(primitive.$color-map, 'blue-900'),
|
|
78
|
-
surface-info-subtler: map.get(primitive.$color-map, 'blue-50'),
|
|
79
|
-
on-surface-info-subtler: map.get(primitive.$color-map, 'blue-800'),
|
|
80
|
-
|
|
81
|
-
surface-success: map.get(primitive.$color-map, 'green-800'),
|
|
82
|
-
on-surface-success: map.get(primitive.$color-map, 'graphite-0'),
|
|
83
|
-
surface-success-subtle: map.get(primitive.$color-map, 'green-200'),
|
|
84
|
-
on-surface-success-subtle: map.get(primitive.$color-map, 'green-900'),
|
|
85
|
-
surface-success-subtler: map.get(primitive.$color-map, 'green-50'),
|
|
86
|
-
on-surface-success-subtler: map.get(primitive.$color-map, 'green-800'),
|
|
87
|
-
|
|
88
|
-
surface-warning: map.get(primitive.$color-map, 'orange-500'),
|
|
89
|
-
on-surface-warning: map.get(primitive.$color-map, 'orange-950'),
|
|
90
|
-
surface-warning-subtle: map.get(primitive.$color-map, 'orange-200'),
|
|
91
|
-
on-surface-warning-subtle: map.get(primitive.$color-map, 'orange-900'),
|
|
92
|
-
surface-warning-subtler: map.get(primitive.$color-map, 'orange-50'),
|
|
93
|
-
on-surface-warning-subtler: map.get(primitive.$color-map, 'orange-800'),
|
|
94
|
-
|
|
95
|
-
foreground: map.get(primitive.$color-map, 'graphite-25'),
|
|
96
|
-
foreground-subtle: map.get(primitive.$color-map, 'graphite-75'),
|
|
97
|
-
foreground-subtler: map.get(primitive.$color-map, 'graphite-100'),
|
|
98
|
-
foreground-placeholder: map.get(primitive.$color-map, 'graphite-200'),
|
|
99
|
-
foreground-disabled: map.get(primitive.$color-map, 'graphite-400'),
|
|
100
|
-
foreground-primary: map.get(primitive.$color-map, 'european-blue-500'),
|
|
101
|
-
foreground-success: map.get(primitive.$color-map, 'green-500'),
|
|
102
|
-
foreground-info: map.get(primitive.$color-map, 'blue-500'),
|
|
103
|
-
foreground-warning: map.get(primitive.$color-map, 'orange-500'),
|
|
104
|
-
foreground-critical: map.get(primitive.$color-map, 'red-400'),
|
|
105
|
-
foreground-highlight: map.get(primitive.$color-map, 'sunrise-orange-600'),
|
|
106
|
-
foreground-inverted: map.get(primitive.$color-map, 'graphite-950'),
|
|
107
|
-
|
|
108
|
-
border-brand: map.get(primitive.$color-map, 'silver-fog-50'),
|
|
109
|
-
border-divider: map.get(primitive.$color-map, 'graphite-500'),
|
|
110
|
-
border-disabled: map.get(primitive.$color-map, 'graphite-700'),
|
|
111
|
-
|
|
112
|
-
border-primary: map.get(primitive.$color-map, 'european-blue-600'),
|
|
113
|
-
border-primary--hover: map.get(primitive.$color-map, 'european-blue-700'),
|
|
114
|
-
border-primary--pressed: map.get(primitive.$color-map, 'european-blue-800'),
|
|
115
|
-
border-primary-subtle: map.get(primitive.$color-map, 'european-blue-800'),
|
|
116
|
-
border-primary-subtler: map.get(primitive.$color-map, 'european-blue-900'),
|
|
117
|
-
|
|
118
|
-
border-info: map.get(primitive.$color-map, 'blue-700'),
|
|
119
|
-
border-info-subtle: map.get(primitive.$color-map, 'blue-900'),
|
|
120
|
-
|
|
121
|
-
border-success: map.get(primitive.$color-map, 'green-700'),
|
|
122
|
-
border-success-subtle: map.get(primitive.$color-map, 'green-900'),
|
|
123
|
-
|
|
124
|
-
border-warning: map.get(primitive.$color-map, 'orange-600'),
|
|
125
|
-
border-warning-subtle: map.get(primitive.$color-map, 'orange-900'),
|
|
126
|
-
|
|
127
|
-
border-critical: map.get(primitive.$color-map, 'red-600'),
|
|
128
|
-
border-critical-subtle: map.get(primitive.$color-map, 'red-900'),
|
|
129
|
-
|
|
130
|
-
border-highlight: map.get(primitive.$color-map, 'sunrise-orange-400'),
|
|
131
|
-
border-highlight-subtle: map.get(primitive.$color-map, 'sunrise-orange-700'),
|
|
132
|
-
|
|
133
|
-
border-inverted: map.get(primitive.$color-map, 'graphite-900'),
|
|
134
|
-
border-inverted-disabled: map.get(primitive.$color-map, 'graphite-800'),
|
|
135
|
-
|
|
136
|
-
border-neutral: map.get(primitive.$color-map, 'graphite-500'),
|
|
137
|
-
border-neutral--hover: map.get(primitive.$color-map, 'graphite-600'),
|
|
138
|
-
|
|
139
|
-
link: map.get(primitive.$color-map, 'european-blue-400'),
|
|
140
|
-
link--focused: map.get(primitive.$color-map, 'european-blue-400'),
|
|
141
|
-
link--hover: map.get(primitive.$color-map, 'european-blue-500'),
|
|
142
|
-
link--pressed: map.get(primitive.$color-map, 'european-blue-200'),
|
|
143
|
-
link--visited: map.get(primitive.$color-map, 'european-blue-300'),
|
|
144
|
-
|
|
145
|
-
link-inverted: map.get(primitive.$color-map, 'european-blue-600'),
|
|
146
|
-
link-inverted--focused: map.get(primitive.$color-map, 'european-blue-600'),
|
|
147
|
-
link-inverted--hover: map.get(primitive.$color-map, 'european-blue-700'),
|
|
148
|
-
link-inverted--pressed: map.get(primitive.$color-map, 'european-blue-800'),
|
|
149
|
-
link-inverted--visited: map.get(primitive.$color-map, 'european-blue-700'),
|
|
150
|
-
|
|
151
|
-
link-contrast: map.get(primitive.$color-map, 'graphite-0'),
|
|
152
|
-
link-contrast--focused: map.get(primitive.$color-map, 'graphite-0'),
|
|
153
|
-
link-contrast--hover: map.get(primitive.$color-map, 'graphite-50'),
|
|
154
|
-
link-contrast--pressed: map.get(primitive.$color-map, 'graphite-100'),
|
|
155
|
-
link-contrast--visited: map.get(primitive.$color-map, 'graphite-25'),
|
|
156
|
-
|
|
157
|
-
focus: map.get(primitive.$color-map, 'european-blue-600'),
|
|
158
|
-
focus-inverted: map.get(primitive.$color-map, 'european-blue-800'),
|
|
159
|
-
focus-critical: map.get(primitive.$color-map, 'red-600'),
|
|
160
|
-
|
|
161
|
-
alpha-backdrop-strong: map.get(primitive.$color-map, 'alpha-graphite-0-14'),
|
|
162
|
-
alpha-backdrop: map.get(primitive.$color-map, 'alpha-graphite-0-14'),
|
|
163
|
-
alpha-backdrop-subtle: map.get(primitive.$color-map, 'alpha-graphite-0-10'),
|
|
164
|
-
alpha-backdrop-inverted: map.get(primitive.$color-map, 'alpha-graphite-950-30'),
|
|
165
|
-
alpha-backdrop-inverted-subtle: map.get(primitive.$color-map, 'alpha-graphite-950-10'),
|
|
166
|
-
);
|