@eui/eds-styles 22.0.0-alpha.4 → 22.0.0-alpha.40
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/assets/images/estat-logo-horizontal.svg +27 -0
- package/dist/assets/images/eui-logo.svg +12 -0
- package/dist/assets/images/europa-flag-image.jpg +0 -0
- package/dist/assets/images/placeholder.svg +1 -0
- package/dist/base/01-base/index.scss +0 -1
- package/dist/base/02-tokens/colors-primitive.scss +72 -767
- package/dist/base/02-tokens/colors-semantic-dark-theme.scss +199 -113
- package/dist/base/02-tokens/colors-semantic.scss +138 -52
- package/dist/base/02-tokens/dimensions-primitive.scss +10 -23
- package/dist/base/02-tokens/dimensions-semantic.scss +1 -0
- package/dist/base/02-tokens/ecl/primitives/_breakpoint.scss +16 -0
- package/dist/base/02-tokens/ecl/primitives/_color-domain.scss +189 -0
- package/dist/base/02-tokens/ecl/primitives/_color.scss +190 -0
- package/dist/base/02-tokens/ecl/primitives/_dimension.scss +31 -0
- package/dist/base/02-tokens/ecl/primitives/_grid.scss +25 -0
- package/dist/base/02-tokens/ecl/primitives/_index.scss +14 -0
- package/dist/base/02-tokens/ecl/primitives/_typography.scss +58 -0
- package/dist/base/02-tokens/ecl/semantic/_border.scss +22 -0
- package/dist/base/02-tokens/ecl/semantic/_color-dark.scss +221 -0
- package/dist/base/02-tokens/ecl/semantic/_color-domain-dark.scss +172 -0
- package/dist/base/02-tokens/ecl/semantic/_color-domain.scss +172 -0
- package/dist/base/02-tokens/ecl/semantic/_color.scss +227 -0
- package/dist/base/02-tokens/ecl/semantic/_index.scss +17 -0
- package/dist/base/02-tokens/ecl/semantic/_opacity.scss +21 -0
- package/dist/base/02-tokens/ecl/semantic/_shadow.scss +41 -0
- package/dist/base/02-tokens/ecl/semantic/_spacing.scss +62 -0
- package/dist/base/02-tokens/ecl/semantic/_typography.scss +288 -0
- package/dist/base/02-tokens/maps.scss +29 -71
- package/dist/base/02-tokens/typography-primitive.scss +15 -46
- package/dist/base/02-tokens/typography-semantic.scss +36 -33
- package/dist/base/04-elements/table.scss +3 -3
- package/dist/base/06-shared/index.scss +1 -0
- package/dist/base/99-utilities/index.scss +1 -0
- package/dist/base/99-utilities/others.scss +11 -0
- package/dist/eds-grid.css +1 -1
- package/dist/eds-grid.css.map +1 -1
- package/dist/eds-showcase-exports.css +1 -1
- package/dist/eds-showcase-exports.css.map +1 -1
- package/dist/eds-utilities.css +1 -1
- package/dist/eds-utilities.css.map +1 -1
- package/dist/eds-vars.css +1 -1
- package/dist/eds-vars.css.map +1 -1
- package/dist/eds.css +1 -1
- package/dist/eds.css.map +1 -1
- package/package.json +1 -1
- /package/dist/base/{01-base → 06-shared}/animations.scss +0 -0
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
@use './colors-primitive' as primitive;
|
|
5
5
|
|
|
6
6
|
$color-semantic-map: (
|
|
7
|
+
|
|
8
|
+
// =============================================
|
|
9
|
+
// SURFACES — Elevation
|
|
10
|
+
// =============================================
|
|
11
|
+
|
|
7
12
|
surface-accent: map.get(primitive.$color-map, 'graphite-900'),
|
|
8
13
|
surface-selected: map.get(primitive.$color-map, 'graphite-800'),
|
|
9
14
|
surface-skeleton: map.get(primitive.$color-map, 'graphite-800'),
|
|
10
15
|
surface-invisible: map.get(primitive.$color-map, 'alpha-graphite-0-0'),
|
|
11
|
-
|
|
12
|
-
surface-brand: map.get(primitive.$color-map, 'graphite-900'),
|
|
13
|
-
on-surface-brand: map.get(primitive.$color-map, 'graphite-0'),
|
|
14
|
-
surface-brand--hover: map.get(primitive.$color-map, 'graphite-950'),
|
|
15
|
-
on-surface-brand--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
16
16
|
|
|
17
17
|
surface-elevation-sunken: map.get(primitive.$color-map, 'graphite-1000'),
|
|
18
18
|
surface-elevation-inset: map.get(primitive.$color-map, 'graphite-950'),
|
|
@@ -21,19 +21,42 @@ $color-semantic-map: (
|
|
|
21
21
|
surface-elevation-elevated: map.get(primitive.$color-map, 'graphite-700'),
|
|
22
22
|
surface-elevation-overlay: map.get(primitive.$color-map, 'graphite-600'),
|
|
23
23
|
|
|
24
|
+
// =============================================
|
|
25
|
+
// SURFACES — Brand
|
|
26
|
+
// =============================================
|
|
27
|
+
|
|
28
|
+
surface-brand: map.get(primitive.$color-map, 'graphite-900'),
|
|
29
|
+
on-surface-brand: map.get(primitive.$color-map, 'graphite-0'),
|
|
30
|
+
surface-brand--hover: map.get(primitive.$color-map, 'graphite-950'),
|
|
31
|
+
on-surface-brand--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
32
|
+
|
|
33
|
+
// =============================================
|
|
34
|
+
// SURFACES — Disabled
|
|
35
|
+
// =============================================
|
|
36
|
+
|
|
24
37
|
surface-disabled: map.get(primitive.$color-map, 'graphite-700'),
|
|
25
38
|
on-surface-disabled: map.get(primitive.$color-map, 'graphite-400'),
|
|
26
39
|
surface-disabled-subtle: map.get(primitive.$color-map, 'graphite-800'),
|
|
27
40
|
on-surface-disabled-subtle: map.get(primitive.$color-map, 'graphite-400'),
|
|
28
41
|
|
|
42
|
+
// =============================================
|
|
43
|
+
// SURFACES — Primary
|
|
44
|
+
// =============================================
|
|
45
|
+
|
|
29
46
|
surface-primary: map.get(primitive.$color-map, 'european-blue-600'),
|
|
30
47
|
on-surface-primary: map.get(primitive.$color-map, 'graphite-0'),
|
|
31
48
|
surface-primary--hover: map.get(primitive.$color-map, 'european-blue-700'),
|
|
32
49
|
on-surface-primary--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
33
|
-
surface-primary--pressed: map.get(primitive.$color-map, 'european-blue-
|
|
50
|
+
surface-primary--pressed: map.get(primitive.$color-map, 'european-blue-700'),
|
|
34
51
|
on-surface-primary--pressed: map.get(primitive.$color-map, 'graphite-0'),
|
|
35
|
-
surface-primary-subtle: map.get(primitive.$color-map, 'european-blue-
|
|
36
|
-
on-surface-primary-subtle: map.get(primitive.$color-map, 'european-blue-
|
|
52
|
+
surface-primary-subtle: map.get(primitive.$color-map, 'european-blue-800'),
|
|
53
|
+
on-surface-primary-subtle: map.get(primitive.$color-map, 'european-blue-50'),
|
|
54
|
+
surface-primary-subtler: map.get(primitive.$color-map, 'european-blue-950'),
|
|
55
|
+
on-surface-primary-subtler: map.get(primitive.$color-map, 'european-blue-50'),
|
|
56
|
+
|
|
57
|
+
// =============================================
|
|
58
|
+
// SURFACES — Highlight
|
|
59
|
+
// =============================================
|
|
37
60
|
|
|
38
61
|
surface-highlight: map.get(primitive.$color-map, 'sunrise-orange-300'),
|
|
39
62
|
on-surface-highlight: map.get(primitive.$color-map, 'sunrise-orange-950'),
|
|
@@ -41,15 +64,23 @@ $color-semantic-map: (
|
|
|
41
64
|
on-surface-highlight--hover: map.get(primitive.$color-map, 'sunrise-orange-950'),
|
|
42
65
|
surface-highlight--pressed: map.get(primitive.$color-map, 'sunrise-orange-500'),
|
|
43
66
|
on-surface-highlight--pressed: map.get(primitive.$color-map, 'sunrise-orange-950'),
|
|
44
|
-
surface-highlight-subtler: map.get(primitive.$color-map, 'sunrise-orange-
|
|
45
|
-
on-surface-highlight-subtler: map.get(primitive.$color-map, 'sunrise-orange-
|
|
67
|
+
surface-highlight-subtler: map.get(primitive.$color-map, 'sunrise-orange-950'),
|
|
68
|
+
on-surface-highlight-subtler: map.get(primitive.$color-map, 'sunrise-orange-500'),
|
|
46
69
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
surface-inverted
|
|
52
|
-
on-surface-inverted
|
|
70
|
+
// =============================================
|
|
71
|
+
// SURFACES — Inverted
|
|
72
|
+
// =============================================
|
|
73
|
+
|
|
74
|
+
surface-inverted: map.get(primitive.$color-map, 'graphite-50'),
|
|
75
|
+
on-surface-inverted: map.get(primitive.$color-map, 'graphite-950'),
|
|
76
|
+
surface-inverted-subtle: map.get(primitive.$color-map, 'graphite-50'),
|
|
77
|
+
on-surface-inverted-subtle: map.get(primitive.$color-map, 'graphite-950'),
|
|
78
|
+
surface-inverted-disabled: map.get(primitive.$color-map, 'graphite-50'),
|
|
79
|
+
on-surface-inverted-disabled: map.get(primitive.$color-map, 'graphite-200'),
|
|
80
|
+
|
|
81
|
+
// =============================================
|
|
82
|
+
// SURFACES — Neutral
|
|
83
|
+
// =============================================
|
|
53
84
|
|
|
54
85
|
surface-neutral: map.get(primitive.$color-map, 'graphite-300'),
|
|
55
86
|
on-surface-neutral: map.get(primitive.$color-map, 'graphite-0'),
|
|
@@ -58,11 +89,17 @@ $color-semantic-map: (
|
|
|
58
89
|
surface-neutral--pressed: map.get(primitive.$color-map, 'graphite-500'),
|
|
59
90
|
on-surface-neutral--pressed: map.get(primitive.$color-map, 'graphite-0'),
|
|
60
91
|
surface-neutral-subtle: map.get(primitive.$color-map, 'graphite-800'),
|
|
61
|
-
on-surface-neutral-subtle: map.get(primitive.$color-map, 'graphite-0'),
|
|
92
|
+
on-surface-neutral-subtle: map.get(primitive.$color-map, 'graphite-0'),
|
|
62
93
|
surface-neutral-subtle--hover: map.get(primitive.$color-map, 'graphite-900'),
|
|
63
|
-
on-surface-neutral-subtle--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
64
|
-
surface-neutral-subtler: map.get(primitive.$color-map, 'graphite-
|
|
65
|
-
on-surface-neutral-subtler: map.get(primitive.$color-map, 'graphite-0'),
|
|
94
|
+
on-surface-neutral-subtle--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
95
|
+
surface-neutral-subtler: map.get(primitive.$color-map, 'graphite-800'),
|
|
96
|
+
on-surface-neutral-subtler: map.get(primitive.$color-map, 'graphite-0'),
|
|
97
|
+
surface-neutral-subtler--hover: map.get(primitive.$color-map, 'graphite-600'),
|
|
98
|
+
on-surface-neutral-subtler--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
99
|
+
|
|
100
|
+
// =============================================
|
|
101
|
+
// SURFACES — Critical
|
|
102
|
+
// =============================================
|
|
66
103
|
|
|
67
104
|
surface-critical: map.get(primitive.$color-map, 'red-600'),
|
|
68
105
|
on-surface-critical: map.get(primitive.$color-map, 'graphite-0'),
|
|
@@ -70,113 +107,67 @@ $color-semantic-map: (
|
|
|
70
107
|
on-surface-critical--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
71
108
|
surface-critical--pressed: map.get(primitive.$color-map, 'red-800'),
|
|
72
109
|
on-surface-critical--pressed: map.get(primitive.$color-map, 'graphite-0'),
|
|
73
|
-
surface-critical-subtle: map.get(primitive.$color-map, 'red-
|
|
74
|
-
on-surface-critical-subtle: map.get(primitive.$color-map, 'red-
|
|
75
|
-
surface-critical-subtler: map.get(primitive.$color-map, 'red-
|
|
76
|
-
on-surface-critical-subtler: map.get(primitive.$color-map, 'red-
|
|
110
|
+
surface-critical-subtle: map.get(primitive.$color-map, 'red-800'),
|
|
111
|
+
on-surface-critical-subtle: map.get(primitive.$color-map, 'red-50'),
|
|
112
|
+
surface-critical-subtler: map.get(primitive.$color-map, 'red-950'),
|
|
113
|
+
on-surface-critical-subtler: map.get(primitive.$color-map, 'red-75'),
|
|
77
114
|
surface-critical-subtler--hover: map.get(primitive.$color-map, 'red-100'),
|
|
78
115
|
on-surface-critical-subtler--hover: map.get(primitive.$color-map, 'red-900'),
|
|
79
116
|
|
|
117
|
+
// =============================================
|
|
118
|
+
// SURFACES — Info
|
|
119
|
+
// =============================================
|
|
120
|
+
|
|
80
121
|
surface-info: map.get(primitive.$color-map, 'blue-600'),
|
|
81
|
-
on-surface-info: map.get(primitive.$color-map, 'graphite-0'),
|
|
82
|
-
surface-info
|
|
83
|
-
on-surface-info
|
|
84
|
-
surface-info
|
|
85
|
-
on-surface-info
|
|
122
|
+
on-surface-info: map.get(primitive.$color-map, 'graphite-0'),
|
|
123
|
+
surface-info--hover: map.get(primitive.$color-map, 'blue-700'),
|
|
124
|
+
on-surface-info--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
125
|
+
surface-info--pressed: map.get(primitive.$color-map, 'blue-800'),
|
|
126
|
+
on-surface-info--pressed: map.get(primitive.$color-map, 'graphite-0'),
|
|
127
|
+
surface-info-subtle: map.get(primitive.$color-map, 'blue-800'),
|
|
128
|
+
on-surface-info-subtle: map.get(primitive.$color-map, 'blue-100'),
|
|
129
|
+
surface-info-subtler: map.get(primitive.$color-map, 'blue-950'),
|
|
130
|
+
on-surface-info-subtler: map.get(primitive.$color-map, 'blue-100'),
|
|
86
131
|
surface-info-subtler--hover: map.get(primitive.$color-map, 'blue-100'),
|
|
87
132
|
on-surface-info-subtler--hover: map.get(primitive.$color-map, 'blue-900'),
|
|
88
133
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
surface-success
|
|
94
|
-
on-surface-success
|
|
134
|
+
// =============================================
|
|
135
|
+
// SURFACES — Success
|
|
136
|
+
// =============================================
|
|
137
|
+
|
|
138
|
+
surface-success: map.get(primitive.$color-map, 'green-500'),
|
|
139
|
+
on-surface-success: map.get(primitive.$color-map, 'graphite-0'),
|
|
140
|
+
surface-success--hover: map.get(primitive.$color-map, 'green-900'),
|
|
141
|
+
on-surface-success--hover: map.get(primitive.$color-map, 'graphite-0'),
|
|
142
|
+
surface-success--pressed: map.get(primitive.$color-map, 'green-950'),
|
|
143
|
+
on-surface-success--pressed: map.get(primitive.$color-map, 'graphite-0'),
|
|
144
|
+
surface-success-subtle: map.get(primitive.$color-map, 'green-800'),
|
|
145
|
+
on-surface-success-subtle: map.get(primitive.$color-map, 'green-50'),
|
|
146
|
+
surface-success-subtler: map.get(primitive.$color-map, 'green-950'),
|
|
147
|
+
on-surface-success-subtler: map.get(primitive.$color-map, 'green-100'),
|
|
95
148
|
surface-success-subtler--hover: map.get(primitive.$color-map, 'green-200'),
|
|
96
149
|
on-surface-success-subtler--hover: map.get(primitive.$color-map, 'green-900'),
|
|
97
150
|
|
|
151
|
+
// =============================================
|
|
152
|
+
// SURFACES — Warning
|
|
153
|
+
// =============================================
|
|
154
|
+
|
|
98
155
|
surface-warning: map.get(primitive.$color-map, 'orange-500'),
|
|
99
|
-
on-surface-warning: map.get(primitive.$color-map, 'orange-950'),
|
|
100
|
-
surface-warning
|
|
101
|
-
on-surface-warning
|
|
102
|
-
surface-warning
|
|
103
|
-
on-surface-warning
|
|
156
|
+
on-surface-warning: map.get(primitive.$color-map, 'orange-950'),
|
|
157
|
+
surface-warning--hover: map.get(primitive.$color-map, 'orange-600'),
|
|
158
|
+
on-surface-warning--hover: map.get(primitive.$color-map, 'orange-950'),
|
|
159
|
+
surface-warning--pressed: map.get(primitive.$color-map, 'orange-700'),
|
|
160
|
+
on-surface-warning--pressed: map.get(primitive.$color-map, 'orange-950'),
|
|
161
|
+
surface-warning-subtle: map.get(primitive.$color-map, 'orange-700'),
|
|
162
|
+
on-surface-warning-subtle: map.get(primitive.$color-map, 'orange-50'),
|
|
163
|
+
surface-warning-subtler: map.get(primitive.$color-map, 'orange-950'),
|
|
164
|
+
on-surface-warning-subtler: map.get(primitive.$color-map, 'orange-50'),
|
|
104
165
|
surface-warning-subtler--hover: map.get(primitive.$color-map, 'orange-100'),
|
|
105
166
|
on-surface-warning-subtler--hover: map.get(primitive.$color-map, 'orange-900'),
|
|
106
|
-
|
|
107
|
-
foreground: map.get(primitive.$color-map, 'graphite-25'),
|
|
108
|
-
foreground-subtle: map.get(primitive.$color-map, 'graphite-75'),
|
|
109
|
-
foreground-subtler: map.get(primitive.$color-map, 'graphite-100'),
|
|
110
|
-
foreground-placeholder: map.get(primitive.$color-map, 'graphite-200'),
|
|
111
|
-
foreground-disabled: map.get(primitive.$color-map, 'graphite-400'),
|
|
112
|
-
foreground-primary: map.get(primitive.$color-map, 'european-blue-500'),
|
|
113
|
-
foreground-success: map.get(primitive.$color-map, 'green-500'),
|
|
114
|
-
foreground-info: map.get(primitive.$color-map, 'blue-500'),
|
|
115
|
-
foreground-warning: map.get(primitive.$color-map, 'orange-500'),
|
|
116
|
-
foreground-critical: map.get(primitive.$color-map, 'red-400'),
|
|
117
|
-
foreground-highlight: map.get(primitive.$color-map, 'sunrise-orange-600'),
|
|
118
|
-
foreground-inverted: map.get(primitive.$color-map, 'graphite-950'),
|
|
119
|
-
|
|
120
|
-
border-brand: map.get(primitive.$color-map, 'silver-fog-50'),
|
|
121
|
-
border-divider: map.get(primitive.$color-map, 'graphite-500'),
|
|
122
|
-
border-disabled: map.get(primitive.$color-map, 'graphite-700'),
|
|
123
|
-
|
|
124
|
-
border-primary: map.get(primitive.$color-map, 'european-blue-600'),
|
|
125
|
-
border-primary--hover: map.get(primitive.$color-map, 'european-blue-700'),
|
|
126
|
-
border-primary--pressed: map.get(primitive.$color-map, 'european-blue-800'),
|
|
127
|
-
border-primary-subtle: map.get(primitive.$color-map, 'european-blue-800'),
|
|
128
|
-
border-primary-subtler: map.get(primitive.$color-map, 'european-blue-900'),
|
|
129
|
-
|
|
130
|
-
border-info: map.get(primitive.$color-map, 'blue-700'),
|
|
131
|
-
border-info-subtle: map.get(primitive.$color-map, 'blue-900'),
|
|
132
|
-
|
|
133
|
-
border-success: map.get(primitive.$color-map, 'green-700'),
|
|
134
|
-
border-success-subtle: map.get(primitive.$color-map, 'green-900'),
|
|
135
|
-
|
|
136
|
-
border-warning: map.get(primitive.$color-map, 'orange-600'),
|
|
137
|
-
border-warning-subtle: map.get(primitive.$color-map, 'orange-900'),
|
|
138
|
-
|
|
139
|
-
border-critical: map.get(primitive.$color-map, 'red-600'),
|
|
140
|
-
border-critical-subtle: map.get(primitive.$color-map, 'red-900'),
|
|
141
|
-
|
|
142
|
-
border-highlight: map.get(primitive.$color-map, 'sunrise-orange-400'),
|
|
143
|
-
border-highlight-subtle: map.get(primitive.$color-map, 'sunrise-orange-700'),
|
|
144
|
-
|
|
145
|
-
border-inverted: map.get(primitive.$color-map, 'graphite-900'),
|
|
146
|
-
border-inverted-disabled: map.get(primitive.$color-map, 'graphite-800'),
|
|
147
|
-
|
|
148
|
-
border-neutral: map.get(primitive.$color-map, 'graphite-500'),
|
|
149
|
-
border-neutral--hover: map.get(primitive.$color-map, 'graphite-600'),
|
|
150
|
-
border-neutral-subtle: map.get(primitive.$color-map, 'graphite-700'),
|
|
151
|
-
border-neutral-subtle--hover: map.get(primitive.$color-map, 'graphite-600'),
|
|
152
|
-
|
|
153
|
-
link: map.get(primitive.$color-map, 'european-blue-400'),
|
|
154
|
-
link--focused: map.get(primitive.$color-map, 'european-blue-400'),
|
|
155
|
-
link--hover: map.get(primitive.$color-map, 'european-blue-500'),
|
|
156
|
-
link--pressed: map.get(primitive.$color-map, 'european-blue-200'),
|
|
157
|
-
link--visited: map.get(primitive.$color-map, 'european-blue-300'),
|
|
158
|
-
|
|
159
|
-
link-inverted: map.get(primitive.$color-map, 'european-blue-600'),
|
|
160
|
-
link-inverted--focused: map.get(primitive.$color-map, 'european-blue-600'),
|
|
161
|
-
link-inverted--hover: map.get(primitive.$color-map, 'european-blue-700'),
|
|
162
|
-
link-inverted--pressed: map.get(primitive.$color-map, 'european-blue-800'),
|
|
163
|
-
link-inverted--visited: map.get(primitive.$color-map, 'european-blue-700'),
|
|
164
|
-
|
|
165
|
-
link-contrast: map.get(primitive.$color-map, 'graphite-0'),
|
|
166
|
-
link-contrast--focused: map.get(primitive.$color-map, 'graphite-0'),
|
|
167
|
-
link-contrast--hover: map.get(primitive.$color-map, 'graphite-50'),
|
|
168
|
-
link-contrast--pressed: map.get(primitive.$color-map, 'graphite-100'),
|
|
169
|
-
link-contrast--visited: map.get(primitive.$color-map, 'graphite-25'),
|
|
170
|
-
|
|
171
|
-
focus: map.get(primitive.$color-map, 'european-blue-600'),
|
|
172
|
-
focus-inverted: map.get(primitive.$color-map, 'european-blue-800'),
|
|
173
|
-
focus-critical: map.get(primitive.$color-map, 'red-600'),
|
|
174
167
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
alpha-backdrop-inverted: map.get(primitive.$color-map, 'alpha-graphite-950-30'),
|
|
179
|
-
alpha-backdrop-inverted-subtle: map.get(primitive.$color-map, 'alpha-graphite-950-10'),
|
|
168
|
+
// =============================================
|
|
169
|
+
// SURFACES — Color Modes (cm-*)
|
|
170
|
+
// =============================================
|
|
180
171
|
|
|
181
172
|
surface-cm-purple-violet-subtler: map.get(primitive.$color-map, 'cm-purple-violet-950'),
|
|
182
173
|
on-surface-cm-purple-violet-subtler: map.get(primitive.$color-map, 'cm-purple-violet-200'),
|
|
@@ -237,4 +228,99 @@ $color-semantic-map: (
|
|
|
237
228
|
surface-cm-warm-grey-subtler: map.get(primitive.$color-map, 'cm-warm-grey-950'),
|
|
238
229
|
on-surface-cm-warm-grey-subtler: map.get(primitive.$color-map, 'cm-warm-grey-200'),
|
|
239
230
|
border-cm-warm-grey-subtle: map.get(primitive.$color-map, 'cm-warm-grey-700'),
|
|
231
|
+
|
|
232
|
+
// =============================================
|
|
233
|
+
// FOREGROUND / Text
|
|
234
|
+
// =============================================
|
|
235
|
+
|
|
236
|
+
foreground: map.get(primitive.$color-map, 'graphite-25'),
|
|
237
|
+
foreground-subtle: map.get(primitive.$color-map, 'graphite-75'),
|
|
238
|
+
foreground-subtler: map.get(primitive.$color-map, 'graphite-100'),
|
|
239
|
+
foreground-placeholder: map.get(primitive.$color-map, 'graphite-200'),
|
|
240
|
+
foreground-disabled: map.get(primitive.$color-map, 'graphite-400'),
|
|
241
|
+
foreground-primary: map.get(primitive.$color-map, 'european-blue-400'),
|
|
242
|
+
foreground-success: map.get(primitive.$color-map, 'green-500'),
|
|
243
|
+
foreground-info: map.get(primitive.$color-map, 'blue-400'),
|
|
244
|
+
foreground-warning: map.get(primitive.$color-map, 'orange-500'),
|
|
245
|
+
foreground-critical: map.get(primitive.$color-map, 'red-400'),
|
|
246
|
+
foreground-highlight: map.get(primitive.$color-map, 'sunrise-orange-600'),
|
|
247
|
+
foreground-inverted: map.get(primitive.$color-map, 'graphite-950'),
|
|
248
|
+
|
|
249
|
+
// =============================================
|
|
250
|
+
// BORDERS
|
|
251
|
+
// =============================================
|
|
252
|
+
|
|
253
|
+
border-brand: map.get(primitive.$color-map, 'silver-fog-50'),
|
|
254
|
+
border-divider: map.get(primitive.$color-map, 'graphite-500'),
|
|
255
|
+
border-disabled: map.get(primitive.$color-map, 'graphite-700'),
|
|
256
|
+
|
|
257
|
+
border-primary: map.get(primitive.$color-map, 'european-blue-600'),
|
|
258
|
+
border-primary--hover: map.get(primitive.$color-map, 'european-blue-700'),
|
|
259
|
+
border-primary--pressed: map.get(primitive.$color-map, 'european-blue-800'),
|
|
260
|
+
border-primary-subtle: map.get(primitive.$color-map, 'european-blue-800'),
|
|
261
|
+
border-primary-subtler: map.get(primitive.$color-map, 'european-blue-900'),
|
|
262
|
+
|
|
263
|
+
border-info: map.get(primitive.$color-map, 'blue-700'),
|
|
264
|
+
border-info-subtle: map.get(primitive.$color-map, 'blue-900'),
|
|
265
|
+
|
|
266
|
+
border-success: map.get(primitive.$color-map, 'green-700'),
|
|
267
|
+
border-success-subtle: map.get(primitive.$color-map, 'green-900'),
|
|
268
|
+
|
|
269
|
+
border-warning: map.get(primitive.$color-map, 'orange-600'),
|
|
270
|
+
border-warning-subtle: map.get(primitive.$color-map, 'orange-900'),
|
|
271
|
+
|
|
272
|
+
border-critical: map.get(primitive.$color-map, 'red-600'),
|
|
273
|
+
border-critical-subtle: map.get(primitive.$color-map, 'red-900'),
|
|
274
|
+
|
|
275
|
+
border-highlight: map.get(primitive.$color-map, 'sunrise-orange-400'),
|
|
276
|
+
border-highlight-subtle: map.get(primitive.$color-map, 'sunrise-orange-500'),
|
|
277
|
+
|
|
278
|
+
border-inverted: map.get(primitive.$color-map, 'graphite-900'),
|
|
279
|
+
border-inverted-disabled: map.get(primitive.$color-map, 'graphite-800'),
|
|
280
|
+
|
|
281
|
+
border-neutral: map.get(primitive.$color-map, 'silver-fog-500'),
|
|
282
|
+
border-neutral--hover: map.get(primitive.$color-map, 'silver-fog-600'),
|
|
283
|
+
border-neutral-subtle: map.get(primitive.$color-map, 'graphite-400'),
|
|
284
|
+
border-neutral-subtle--hover: map.get(primitive.$color-map, 'graphite-500'),
|
|
285
|
+
|
|
286
|
+
// =============================================
|
|
287
|
+
// LINKS
|
|
288
|
+
// =============================================
|
|
289
|
+
|
|
290
|
+
link: map.get(primitive.$color-map, 'european-blue-400'),
|
|
291
|
+
link--focused: map.get(primitive.$color-map, 'european-blue-400'),
|
|
292
|
+
link--hover: map.get(primitive.$color-map, 'european-blue-500'),
|
|
293
|
+
link--pressed: map.get(primitive.$color-map, 'european-blue-600'),
|
|
294
|
+
link--visited: map.get(primitive.$color-map, 'european-blue-500'),
|
|
295
|
+
|
|
296
|
+
link-inverted: map.get(primitive.$color-map, 'european-blue-600'),
|
|
297
|
+
link-inverted--focused: map.get(primitive.$color-map, 'european-blue-600'),
|
|
298
|
+
link-inverted--hover: map.get(primitive.$color-map, 'european-blue-700'),
|
|
299
|
+
link-inverted--pressed: map.get(primitive.$color-map, 'european-blue-800'),
|
|
300
|
+
link-inverted--visited: map.get(primitive.$color-map, 'european-blue-700'),
|
|
301
|
+
|
|
302
|
+
link-contrast: map.get(primitive.$color-map, 'graphite-0'),
|
|
303
|
+
link-contrast--focused: map.get(primitive.$color-map, 'graphite-0'),
|
|
304
|
+
link-contrast--hover: map.get(primitive.$color-map, 'graphite-50'),
|
|
305
|
+
link-contrast--pressed: map.get(primitive.$color-map, 'graphite-100'),
|
|
306
|
+
link-contrast--visited: map.get(primitive.$color-map, 'graphite-25'),
|
|
307
|
+
|
|
308
|
+
// =============================================
|
|
309
|
+
// FOCUS
|
|
310
|
+
// =============================================
|
|
311
|
+
|
|
312
|
+
focus: map.get(primitive.$color-map, 'european-blue-600'),
|
|
313
|
+
focus-inverted: map.get(primitive.$color-map, 'european-blue-800'),
|
|
314
|
+
focus-critical: map.get(primitive.$color-map, 'red-600'),
|
|
315
|
+
border-focus: map.get(primitive.$color-map, 'european-blue-600'),
|
|
316
|
+
|
|
317
|
+
// =============================================
|
|
318
|
+
// ALPHA / Backdrop
|
|
319
|
+
// =============================================
|
|
320
|
+
|
|
321
|
+
alpha-backdrop-strong: map.get(primitive.$color-map, 'alpha-graphite-0-14'),
|
|
322
|
+
alpha-backdrop: map.get(primitive.$color-map, 'alpha-graphite-0-14'),
|
|
323
|
+
alpha-backdrop-subtle: map.get(primitive.$color-map, 'alpha-graphite-0-10'),
|
|
324
|
+
alpha-backdrop-inverted: map.get(primitive.$color-map, 'alpha-graphite-950-30'),
|
|
325
|
+
alpha-backdrop-inverted-subtle: map.get(primitive.$color-map, 'alpha-graphite-950-10'),
|
|
240
326
|
);
|