Skip to content

Commit 3339377

Browse files
committed
Update colors map
1 parent c24e070 commit 3339377

File tree

1 file changed

+31
-7
lines changed

1 file changed

+31
-7
lines changed

css/src/tokens/colors.scss

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,53 +78,65 @@ $primary-box-shadow: var(--theme-primary-box-shadow);
7878

7979
$secondary: var(--theme-secondary-base);
8080
$secondary-background: var(--theme-secondary-background);
81+
$secondary-background-hover: var(--theme-secondary-background-hover);
8182
$secondary-background-glow-high-contrast: var(--theme-secondary-background-glow-high-contrast);
8283
$secondary-dark: var(--theme-secondary-dark);
84+
$secondary-dark-hover: var(--theme-secondary-dark-hover);
8385
$secondary-hover: var(--theme-secondary-hover);
8486
$secondary-active: var(--theme-secondary-active);
8587
$secondary-invert: var(--theme-secondary-invert);
8688
$secondary-box-shadow: var(--theme-secondary-box-shadow);
8789

8890
$tertiary: var(--theme-tertiary-base);
8991
$tertiary-background: var(--theme-tertiary-background);
92+
$tertiary-background-hover: var(--theme-tertiary-background-hover);
9093
$tertiary-background-glow-high-contrast: var(--theme-tertiary-background-glow-high-contrast);
9194
$tertiary-dark: var(--theme-tertiary-dark);
95+
$tertiary-dark-hover: var(--theme-tertiary-dark-hover);
9296
$tertiary-hover: var(--theme-tertiary-hover);
9397
$tertiary-active: var(--theme-tertiary-active);
9498
$tertiary-invert: var(--theme-tertiary-invert);
9599
$tertiary-box-shadow: var(--theme-tertiary-box-shadow);
96100

97101
$success: var(--theme-success-base);
98102
$success-background: var(--theme-success-background);
103+
$success-background-hover: var(--theme-success-background-hover);
99104
$success-background-glow-high-contrast: var(--theme-success-background-glow-high-contrast);
100105
$success-dark: var(--theme-success-dark);
106+
$success-dark-hover: var(--theme-success-dark-hover);
101107
$success-hover: var(--theme-success-hover);
102108
$success-active: var(--theme-success-active);
103109
$success-invert: var(--theme-success-invert);
104110
$success-box-shadow: var(--theme-success-box-shadow);
105111

106112
$info: var(--theme-info-base);
107113
$info-background: var(--theme-info-background);
114+
$info-background-hover: var(--theme-info-background-hover);
108115
$info-background-glow-high-contrast: var(--theme-info-background-glow-high-contrast);
109116
$info-dark: var(--theme-info-dark);
117+
$info-dark-hover: var(--theme-info-dark-hover);
110118
$info-hover: var(--theme-info-hover);
111119
$info-active: var(--theme-info-active);
112120
$info-invert: var(--theme-info-invert);
113121
$info-box-shadow: var(--theme-info-box-shadow);
114122

115123
$warning: var(--theme-warning-base);
116124
$warning-background: var(--theme-warning-background);
125+
$warning-background-hover: var(--theme-warning-background-hover);
117126
$warning-background-glow-high-contrast: var(--theme-warning-background-glow-high-contrast);
118127
$warning-dark: var(--theme-warning-dark);
128+
$warning-dark-hover: var(--theme-warning-dark-hover);
119129
$warning-hover: var(--theme-warning-hover);
120130
$warning-active: var(--theme-warning-active);
121131
$warning-invert: var(--theme-warning-invert);
122132
$warning-box-shadow: var(--theme-warning-box-shadow);
123133

124134
$danger: var(--theme-danger-base);
125135
$danger-background: var(--theme-danger-background);
136+
$danger-background-hover: var(--theme-danger-background-hover);
126137
$danger-background-glow-high-contrast: var(--theme-danger-background-glow-high-contrast);
127138
$danger-dark: var(--theme-danger-dark);
139+
$danger-dark-hover: var(--theme-danger-dark-hover);
128140
$danger-hover: var(--theme-danger-hover);
129141
$danger-active: var(--theme-danger-active);
130142
$danger-invert: var(--theme-danger-invert);
@@ -151,7 +163,9 @@ $colors: (
151163
$secondary-active,
152164
$secondary-invert,
153165
$secondary-box-shadow,
154-
$secondary-background-glow-high-contrast
166+
$secondary-background-glow-high-contrast,
167+
$secondary-background-hover,
168+
$secondary-dark-hover
155169
),
156170
'tertiary': (
157171
$tertiary,
@@ -161,7 +175,9 @@ $colors: (
161175
$tertiary-active,
162176
$tertiary-invert,
163177
$tertiary-box-shadow,
164-
$tertiary-background-glow-high-contrast
178+
$tertiary-background-glow-high-contrast,
179+
$tertiary-background-hover,
180+
$tertiary-dark-hover
165181
),
166182
'success': (
167183
$success,
@@ -171,7 +187,9 @@ $colors: (
171187
$success-active,
172188
$success-invert,
173189
$success-box-shadow,
174-
$success-background-glow-high-contrast
190+
$success-background-glow-high-contrast,
191+
$success-background-hover,
192+
$success-dark-hover
175193
),
176194
'info': (
177195
$info,
@@ -181,7 +199,9 @@ $colors: (
181199
$info-active,
182200
$info-invert,
183201
$info-box-shadow,
184-
$info-background-glow-high-contrast
202+
$info-background-glow-high-contrast,
203+
$info-background-hover,
204+
$info-dark-hover
185205
),
186206
'warning': (
187207
$warning,
@@ -191,7 +211,9 @@ $colors: (
191211
$warning-active,
192212
$warning-invert,
193213
$warning-box-shadow,
194-
$warning-background-glow-high-contrast
214+
$warning-background-glow-high-contrast,
215+
$warning-background-hover,
216+
$warning-dark-hover
195217
),
196218
'danger': (
197219
$danger,
@@ -201,7 +223,9 @@ $colors: (
201223
$danger-active,
202224
$danger-invert,
203225
$danger-box-shadow,
204-
$danger-background-glow-high-contrast
226+
$danger-background-glow-high-contrast,
227+
$danger-background-hover,
228+
$danger-dark-hover
205229
)
206230
) !default;
207231

@@ -218,7 +242,7 @@ $color-index-invert: 6;
218242
$color-index-box-shadow: 7;
219243
$color-index-background-glow-high-contrast: 8;
220244
$color-index-background-hover: 9;
221-
$color-index-hover-light-text: 10;
245+
$color-index-dark-hover: 10;
222246

223247
// example implementation of a color loop
224248

0 commit comments

Comments
 (0)