@gitlab/ui 89.2.0 → 89.4.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/CHANGELOG.md +20 -0
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +116 -92
- package/dist/tokens/build/js/tokens.js +33 -9
- package/dist/tokens/css/tokens.css +38 -14
- package/dist/tokens/css/tokens.dark.css +95 -71
- package/dist/tokens/js/tokens.dark.js +115 -91
- package/dist/tokens/js/tokens.js +32 -8
- package/dist/tokens/json/tokens.dark.json +744 -177
- package/dist/tokens/json/tokens.json +661 -94
- package/dist/tokens/scss/_tokens.dark.scss +95 -71
- package/dist/tokens/scss/_tokens.scss +38 -14
- package/dist/tokens/scss/_tokens_custom_properties.scss +24 -0
- package/package.json +3 -3
- package/src/components/base/badge/badge.scss +65 -32
- package/src/components/base/datepicker/datepicker.scss +5 -0
- package/src/components/base/toggle/toggle.scss +8 -5
- package/src/tokens/action.tokens.json +171 -3
- package/src/tokens/build/css/tokens.css +38 -14
- package/src/tokens/build/css/tokens.dark.css +95 -71
- package/src/tokens/build/js/tokens.dark.js +115 -91
- package/src/tokens/build/js/tokens.js +32 -8
- package/src/tokens/build/json/tokens.dark.json +744 -177
- package/src/tokens/build/json/tokens.json +661 -94
- package/src/tokens/build/scss/_tokens.dark.scss +95 -71
- package/src/tokens/build/scss/_tokens.scss +38 -14
- package/src/tokens/build/scss/_tokens_custom_properties.scss +24 -0
- package/src/tokens/contextual/badge.tokens.json +69 -69
- package/src/tokens/contextual/button.tokens.json +8 -17
|
@@ -5,19 +5,24 @@ $badge-min-width: $gl-spacing-scale-3;
|
|
|
5
5
|
$variant,
|
|
6
6
|
$color,
|
|
7
7
|
$icon-color,
|
|
8
|
-
$
|
|
8
|
+
$background-color,
|
|
9
9
|
$hover-color,
|
|
10
10
|
$hover-icon-color,
|
|
11
|
-
$
|
|
11
|
+
$hover-background-color,
|
|
12
|
+
$hover-border-color,
|
|
13
|
+
$focus-color,
|
|
14
|
+
$focus-icon-color,
|
|
15
|
+
$focus-background-color,
|
|
12
16
|
$active-color,
|
|
13
17
|
$active-icon-color,
|
|
14
|
-
$active-
|
|
18
|
+
$active-background-color
|
|
15
19
|
) {
|
|
16
20
|
.gl-badge.badge-#{$variant} {
|
|
17
|
-
background-color: $
|
|
21
|
+
background-color: $background-color;
|
|
18
22
|
color: $color;
|
|
19
23
|
|
|
20
24
|
.gl-badge-icon {
|
|
25
|
+
color: $icon-color;
|
|
21
26
|
transition: inherit;
|
|
22
27
|
}
|
|
23
28
|
}
|
|
@@ -26,8 +31,8 @@ $badge-min-width: $gl-spacing-scale-3;
|
|
|
26
31
|
&:hover {
|
|
27
32
|
color: $hover-color;
|
|
28
33
|
// Needed to override bootstrap's badge variant background
|
|
29
|
-
background-color: $
|
|
30
|
-
box-shadow: inset 0 0 0 $gl-border-size-1 $border-color;
|
|
34
|
+
background-color: $hover-background-color;
|
|
35
|
+
box-shadow: inset 0 0 0 $gl-border-size-1 $hover-border-color;
|
|
31
36
|
@include gl-text-decoration-none;
|
|
32
37
|
|
|
33
38
|
.gl-badge-icon {
|
|
@@ -35,20 +40,20 @@ $badge-min-width: $gl-spacing-scale-3;
|
|
|
35
40
|
}
|
|
36
41
|
}
|
|
37
42
|
|
|
43
|
+
|
|
38
44
|
&:focus {
|
|
39
|
-
color: $
|
|
40
|
-
|
|
41
|
-
background-color: $bg;
|
|
45
|
+
color: $focus-color;
|
|
46
|
+
background-color: $focus-background-color;
|
|
42
47
|
|
|
43
48
|
.gl-badge-icon {
|
|
44
|
-
color: $
|
|
49
|
+
color: $focus-icon-color;
|
|
45
50
|
}
|
|
46
51
|
}
|
|
47
52
|
|
|
48
53
|
&.active,
|
|
49
54
|
&:active {
|
|
50
55
|
color: $active-color;
|
|
51
|
-
background-color: $active-
|
|
56
|
+
background-color: $active-background-color;
|
|
52
57
|
|
|
53
58
|
.gl-badge-icon {
|
|
54
59
|
color: $active-icon-color;
|
|
@@ -118,91 +123,119 @@ $badge-min-width: $gl-spacing-scale-3;
|
|
|
118
123
|
$variant: muted,
|
|
119
124
|
$color: var(--gl-badge-muted-text-color-default),
|
|
120
125
|
$icon-color: var(--gl-badge-muted-icon-color-default),
|
|
121
|
-
$
|
|
126
|
+
$background-color: var(--gl-badge-muted-background-color-default),
|
|
122
127
|
$hover-color: var(--gl-badge-muted-text-color-hover),
|
|
123
128
|
$hover-icon-color: var(--gl-badge-muted-icon-color-hover),
|
|
124
|
-
$
|
|
129
|
+
$hover-background-color: var(--gl-badge-muted-background-color-hover),
|
|
130
|
+
$hover-border-color: var(--gl-badge-muted-border-color-hover),
|
|
131
|
+
$focus-color: var(--gl-badge-muted-text-color-focus),
|
|
132
|
+
$focus-icon-color:var(--gl-badge-muted-icon-color-focus),
|
|
133
|
+
$focus-background-color: var(--gl-badge-muted-background-color-focus),
|
|
125
134
|
$active-color: var(--gl-badge-muted-text-color-active),
|
|
126
135
|
$active-icon-color:var(--gl-badge-muted-icon-color-active),
|
|
127
|
-
$active-
|
|
136
|
+
$active-background-color: var(--gl-badge-muted-background-color-active)
|
|
128
137
|
);
|
|
129
138
|
|
|
130
139
|
@include gl-badge-variant(
|
|
131
140
|
$variant: neutral,
|
|
132
141
|
$color: var(--gl-badge-neutral-text-color-default),
|
|
133
142
|
$icon-color: var(--gl-badge-neutral-icon-color-default),
|
|
134
|
-
$
|
|
143
|
+
$background-color: var(--gl-badge-neutral-background-color-default),
|
|
135
144
|
$hover-color: var(--gl-badge-neutral-text-color-hover),
|
|
136
145
|
$hover-icon-color: var(--gl-badge-neutral-icon-color-hover),
|
|
137
|
-
$
|
|
146
|
+
$hover-background-color: var(--gl-badge-neutral-background-color-hover),
|
|
147
|
+
$hover-border-color: var(--gl-badge-neutral-border-color-hover),
|
|
148
|
+
$focus-color: var(--gl-badge-neutral-text-color-focus),
|
|
149
|
+
$focus-icon-color:var(--gl-badge-neutral-icon-color-focus),
|
|
150
|
+
$focus-background-color: var(--gl-badge-neutral-background-color-focus),
|
|
138
151
|
$active-color: var(--gl-badge-neutral-text-color-active),
|
|
139
152
|
$active-icon-color:var(--gl-badge-neutral-icon-color-active),
|
|
140
|
-
$active-
|
|
153
|
+
$active-background-color: var(--gl-badge-neutral-background-color-active)
|
|
141
154
|
);
|
|
142
155
|
|
|
143
156
|
@include gl-badge-variant(
|
|
144
157
|
$variant: info,
|
|
145
158
|
$color: var(--gl-badge-info-text-color-default),
|
|
146
159
|
$icon-color: var(--gl-badge-info-icon-color-default),
|
|
147
|
-
$
|
|
160
|
+
$background-color: var(--gl-badge-info-background-color-default),
|
|
148
161
|
$hover-color: var(--gl-badge-info-text-color-hover),
|
|
149
162
|
$hover-icon-color: var(--gl-badge-info-icon-color-hover),
|
|
150
|
-
$
|
|
163
|
+
$hover-background-color: var(--gl-badge-info-background-color-hover),
|
|
164
|
+
$hover-border-color: var(--gl-badge-info-border-color-hover),
|
|
165
|
+
$focus-color: var(--gl-badge-info-text-color-focus),
|
|
166
|
+
$focus-icon-color:var(--gl-badge-info-icon-color-focus),
|
|
167
|
+
$focus-background-color: var(--gl-badge-info-background-color-focus),
|
|
151
168
|
$active-color: var(--gl-badge-info-text-color-active),
|
|
152
169
|
$active-icon-color:var(--gl-badge-info-icon-color-active),
|
|
153
|
-
$active-
|
|
170
|
+
$active-background-color: var(--gl-badge-info-background-color-active)
|
|
154
171
|
);
|
|
155
172
|
|
|
156
173
|
@include gl-badge-variant(
|
|
157
174
|
$variant: success,
|
|
158
175
|
$color: var(--gl-badge-success-text-color-default),
|
|
159
176
|
$icon-color: var(--gl-badge-success-icon-color-default),
|
|
160
|
-
$
|
|
177
|
+
$background-color: var(--gl-badge-success-background-color-default),
|
|
161
178
|
$hover-color: var(--gl-badge-success-text-color-hover),
|
|
162
179
|
$hover-icon-color: var(--gl-badge-success-icon-color-hover),
|
|
163
|
-
$
|
|
180
|
+
$hover-background-color: var(--gl-badge-success-background-color-hover),
|
|
181
|
+
$hover-border-color: var(--gl-badge-success-border-color-hover),
|
|
182
|
+
$focus-color: var(--gl-badge-success-text-color-focus),
|
|
183
|
+
$focus-icon-color:var(--gl-badge-success-icon-color-focus),
|
|
184
|
+
$focus-background-color: var(--gl-badge-success-background-color-focus),
|
|
164
185
|
$active-color: var(--gl-badge-success-text-color-active),
|
|
165
186
|
$active-icon-color:var(--gl-badge-success-icon-color-active),
|
|
166
|
-
$active-
|
|
187
|
+
$active-background-color: var(--gl-badge-success-background-color-active)
|
|
167
188
|
);
|
|
168
189
|
|
|
169
190
|
@include gl-badge-variant(
|
|
170
191
|
$variant: warning,
|
|
171
192
|
$color: var(--gl-badge-warning-text-color-default),
|
|
172
193
|
$icon-color: var(--gl-badge-warning-icon-color-default),
|
|
173
|
-
$
|
|
194
|
+
$background-color: var(--gl-badge-warning-background-color-default),
|
|
174
195
|
$hover-color: var(--gl-badge-warning-text-color-hover),
|
|
175
196
|
$hover-icon-color: var(--gl-badge-warning-icon-color-hover),
|
|
176
|
-
$
|
|
197
|
+
$hover-background-color: var(--gl-badge-warning-background-color-hover),
|
|
198
|
+
$hover-border-color: var(--gl-badge-warning-border-color-hover),
|
|
199
|
+
$focus-color: var(--gl-badge-warning-text-color-focus),
|
|
200
|
+
$focus-icon-color:var(--gl-badge-warning-icon-color-focus),
|
|
201
|
+
$focus-background-color: var(--gl-badge-warning-background-color-focus),
|
|
177
202
|
$active-color: var(--gl-badge-warning-text-color-active),
|
|
178
203
|
$active-icon-color:var(--gl-badge-warning-icon-color-active),
|
|
179
|
-
$active-
|
|
204
|
+
$active-background-color: var(--gl-badge-warning-background-color-active)
|
|
180
205
|
);
|
|
181
206
|
|
|
182
207
|
@include gl-badge-variant(
|
|
183
208
|
$variant: danger,
|
|
184
209
|
$color: var(--gl-badge-danger-text-color-default),
|
|
185
210
|
$icon-color: var(--gl-badge-danger-icon-color-default),
|
|
186
|
-
$
|
|
211
|
+
$background-color: var(--gl-badge-danger-background-color-default),
|
|
187
212
|
$hover-color: var(--gl-badge-danger-text-color-hover),
|
|
188
213
|
$hover-icon-color: var(--gl-badge-danger-icon-color-hover),
|
|
189
|
-
$
|
|
214
|
+
$hover-background-color: var(--gl-badge-danger-background-color-hover),
|
|
215
|
+
$hover-border-color: var(--gl-badge-danger-border-color-hover),
|
|
216
|
+
$focus-color: var(--gl-badge-danger-text-color-focus),
|
|
217
|
+
$focus-icon-color:var(--gl-badge-danger-icon-color-focus),
|
|
218
|
+
$focus-background-color: var(--gl-badge-danger-background-color-focus),
|
|
190
219
|
$active-color: var(--gl-badge-danger-text-color-active),
|
|
191
220
|
$active-icon-color:var(--gl-badge-danger-icon-color-active),
|
|
192
|
-
$active-
|
|
221
|
+
$active-background-color: var(--gl-badge-danger-background-color-active)
|
|
193
222
|
);
|
|
194
223
|
|
|
195
224
|
@include gl-badge-variant(
|
|
196
225
|
$variant: tier,
|
|
197
226
|
$color: var(--gl-badge-tier-text-color-default),
|
|
198
227
|
$icon-color: var(--gl-badge-tier-icon-color-default),
|
|
199
|
-
$
|
|
228
|
+
$background-color: var(--gl-badge-tier-background-color-default),
|
|
200
229
|
$hover-color: var(--gl-badge-tier-text-color-hover),
|
|
201
230
|
$hover-icon-color: var(--gl-badge-tier-icon-color-hover),
|
|
202
|
-
$
|
|
231
|
+
$hover-background-color: var(--gl-badge-tier-background-color-hover),
|
|
232
|
+
$hover-border-color: var(--gl-badge-tier-border-color-hover),
|
|
233
|
+
$focus-color: var(--gl-badge-tier-text-color-focus),
|
|
234
|
+
$focus-icon-color:var(--gl-badge-tier-icon-color-focus),
|
|
235
|
+
$focus-background-color: var(--gl-badge-tier-background-color-focus),
|
|
203
236
|
$active-color: var(--gl-badge-tier-text-color-active),
|
|
204
237
|
$active-icon-color:var(--gl-badge-tier-icon-color-active),
|
|
205
|
-
$active-
|
|
238
|
+
$active-background-color: var(--gl-badge-tier-background-color-active)
|
|
206
239
|
);
|
|
207
240
|
|
|
208
241
|
// overriding Bootstap's `.btn .badge {top: -1px}` as the badge is not vertically centered otherwise
|
|
@@ -82,6 +82,11 @@ $pd-week-color: var(--gl-text-color-subtle);
|
|
|
82
82
|
opacity: 100%;
|
|
83
83
|
|
|
84
84
|
&::before {
|
|
85
|
+
/* Apply a slightly larger border-radius to the ::before pseudo-element
|
|
86
|
+
to prevent background color shimmer issue in Safari.
|
|
87
|
+
This is necessary because the parent element (which already has a border-radius)
|
|
88
|
+
requires the ::before element to extend beyond its edges to ensure proper coverage. */
|
|
89
|
+
@apply gl-rounded-lg;
|
|
85
90
|
content: '';
|
|
86
91
|
position: absolute;
|
|
87
92
|
top: 0;
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
* </button>
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
|
+
$toggle-width: 4.5 * $grid-size;
|
|
22
|
+
$toggle-translate-width: 2 * $grid-size;
|
|
23
|
+
$toggle-height: 2.5 * $grid-size;
|
|
24
|
+
|
|
21
25
|
.gl-toggle-wrapper {
|
|
22
26
|
@include gl-line-height-normal;
|
|
23
27
|
@include gl-font-weight-normal;
|
|
@@ -83,10 +87,9 @@
|
|
|
83
87
|
@apply gl-border-0;
|
|
84
88
|
@include gl-cursor-pointer;
|
|
85
89
|
@include gl-bg-gray-600;
|
|
86
|
-
@include gl-p-1;
|
|
87
90
|
position: relative;
|
|
88
|
-
|
|
89
|
-
|
|
91
|
+
width: $toggle-width;
|
|
92
|
+
height: $toggle-height;
|
|
90
93
|
@include gl-outline-none;
|
|
91
94
|
user-select: none;
|
|
92
95
|
@include gl-rounded-pill;
|
|
@@ -126,7 +129,7 @@
|
|
|
126
129
|
top: $gl-spacing-scale-1;
|
|
127
130
|
@include gl-transition-medium;
|
|
128
131
|
@include gl-justify-content-center;
|
|
129
|
-
@include gl-p-
|
|
132
|
+
@include gl-p-1;
|
|
130
133
|
|
|
131
134
|
> svg {
|
|
132
135
|
@include gl-w-4;
|
|
@@ -147,7 +150,7 @@
|
|
|
147
150
|
}
|
|
148
151
|
|
|
149
152
|
.toggle-icon {
|
|
150
|
-
transform: translateX($
|
|
153
|
+
transform: translateX($toggle-translate-width);
|
|
151
154
|
|
|
152
155
|
> svg {
|
|
153
156
|
@include gl-fill-blue-500;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"$description": "Used for the background of a neutral action in the hover state."
|
|
80
80
|
},
|
|
81
81
|
"focus": {
|
|
82
|
-
"$value":
|
|
82
|
+
"$value": "{action.neutral.background.color.hover}",
|
|
83
83
|
"$type": "color",
|
|
84
84
|
"$description": "Used for the background of a neutral action in the focus state."
|
|
85
85
|
},
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"$description": "Used for the background of a confirm (positive) action in the hover state."
|
|
172
172
|
},
|
|
173
173
|
"focus": {
|
|
174
|
-
"$value":
|
|
174
|
+
"$value": "{action.confirm.background.color.hover}",
|
|
175
175
|
"$type": "color",
|
|
176
176
|
"$description": "Used for the background of a confirm (positive) action in the focus state."
|
|
177
177
|
},
|
|
@@ -301,6 +301,174 @@
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
+
},
|
|
305
|
+
"strong": {
|
|
306
|
+
"confirm": {
|
|
307
|
+
"background": {
|
|
308
|
+
"color": {
|
|
309
|
+
"default": {
|
|
310
|
+
"$value": {
|
|
311
|
+
"default": "{color.blue.500}",
|
|
312
|
+
"dark": "{color.blue.400}"
|
|
313
|
+
},
|
|
314
|
+
"$type": "color",
|
|
315
|
+
"$description": "Used for the background of a strong confirm action in the default state."
|
|
316
|
+
},
|
|
317
|
+
"hover": {
|
|
318
|
+
"$value": {
|
|
319
|
+
"default": "{color.blue.600}",
|
|
320
|
+
"dark": "{color.blue.300}"
|
|
321
|
+
},
|
|
322
|
+
"$type": "color",
|
|
323
|
+
"$description": "Used for the background of a strong confirm action in the hover state."
|
|
324
|
+
},
|
|
325
|
+
"focus": {
|
|
326
|
+
"$value": "{action.strong.confirm.background.color.hover}",
|
|
327
|
+
"$type": "color",
|
|
328
|
+
"$description": "Used for the background of a strong confirm action in the focus state."
|
|
329
|
+
},
|
|
330
|
+
"active": {
|
|
331
|
+
"$value": {
|
|
332
|
+
"default": "{color.blue.700}",
|
|
333
|
+
"dark": "{color.blue.200}"
|
|
334
|
+
},
|
|
335
|
+
"$type": "color",
|
|
336
|
+
"$description": "Used for the background of a strong confirm action in the active state."
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"foreground": {
|
|
341
|
+
"color": {
|
|
342
|
+
"default": {
|
|
343
|
+
"$value": "{color.neutral.0}",
|
|
344
|
+
"$type": "color",
|
|
345
|
+
"$description": "Used for the foreground of a strong confirm action in the default state."
|
|
346
|
+
},
|
|
347
|
+
"hover": {
|
|
348
|
+
"$value": "{action.strong.confirm.foreground.color.default}",
|
|
349
|
+
"$type": "color",
|
|
350
|
+
"$description": "Used for the foreground of a strong confirm action in the hover state."
|
|
351
|
+
},
|
|
352
|
+
"focus": {
|
|
353
|
+
"$value": "{action.strong.confirm.foreground.color.hover}",
|
|
354
|
+
"$type": "color",
|
|
355
|
+
"$description": "Used for the foreground of a strong confirm action in the focus state."
|
|
356
|
+
},
|
|
357
|
+
"active": {
|
|
358
|
+
"$value": "{action.strong.confirm.foreground.color.focus}",
|
|
359
|
+
"$type": "color",
|
|
360
|
+
"$description": "Used for the foreground of a strong confirm action in the active state."
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"border": {
|
|
365
|
+
"color": {
|
|
366
|
+
"default": {
|
|
367
|
+
"$value": "{color.alpha.0}",
|
|
368
|
+
"$type": "color",
|
|
369
|
+
"$description": "Used for the border of a strong confirm action in the default state."
|
|
370
|
+
},
|
|
371
|
+
"hover": {
|
|
372
|
+
"$value": "{action.strong.confirm.border.color.default}",
|
|
373
|
+
"$type": "color",
|
|
374
|
+
"$description": "Used for the border of a strong confirm action in the hover state."
|
|
375
|
+
},
|
|
376
|
+
"focus": {
|
|
377
|
+
"$value": "{action.strong.confirm.border.color.hover}",
|
|
378
|
+
"$type": "color",
|
|
379
|
+
"$description": "Used for the border of a strong confirm action in the focus state."
|
|
380
|
+
},
|
|
381
|
+
"active": {
|
|
382
|
+
"$value": "{action.strong.confirm.border.color.focus}",
|
|
383
|
+
"$type": "color",
|
|
384
|
+
"$description": "Used for the border of a strong confirm action in the active state."
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"neutral": {
|
|
390
|
+
"background": {
|
|
391
|
+
"color": {
|
|
392
|
+
"default": {
|
|
393
|
+
"$value": {
|
|
394
|
+
"default": "{color.neutral.600}",
|
|
395
|
+
"dark": "{color.neutral.300}"
|
|
396
|
+
},
|
|
397
|
+
"$type": "color",
|
|
398
|
+
"$description": "Used for the background of a strong neutral action in the default state."
|
|
399
|
+
},
|
|
400
|
+
"hover": {
|
|
401
|
+
"$value": {
|
|
402
|
+
"default": "{color.neutral.700}",
|
|
403
|
+
"dark": "{color.neutral.200}"
|
|
404
|
+
},
|
|
405
|
+
"$type": "color",
|
|
406
|
+
"$description": "Used for the background of a strong neutral action in the hover state."
|
|
407
|
+
},
|
|
408
|
+
"focus": {
|
|
409
|
+
"$value": "{action.strong.neutral.background.color.hover}",
|
|
410
|
+
"$type": "color",
|
|
411
|
+
"$description": "Used for the background of a strong neutral action in the focus state."
|
|
412
|
+
},
|
|
413
|
+
"active": {
|
|
414
|
+
"$value": {
|
|
415
|
+
"default": "{color.neutral.800}",
|
|
416
|
+
"dark": "{color.neutral.100}"
|
|
417
|
+
},
|
|
418
|
+
"$type": "color",
|
|
419
|
+
"$description": "Used for the background of a strong neutral action in the active state."
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"foreground": {
|
|
424
|
+
"color": {
|
|
425
|
+
"default": {
|
|
426
|
+
"$value": "{color.neutral.0}",
|
|
427
|
+
"$type": "color",
|
|
428
|
+
"$description": "Used for the foreground of a strong neutral action in the default state."
|
|
429
|
+
},
|
|
430
|
+
"hover": {
|
|
431
|
+
"$value": "{action.strong.neutral.foreground.color.default}",
|
|
432
|
+
"$type": "color",
|
|
433
|
+
"$description": "Used for the foreground of a strong neutral action in the hover state."
|
|
434
|
+
},
|
|
435
|
+
"focus": {
|
|
436
|
+
"$value": "{action.strong.neutral.foreground.color.hover}",
|
|
437
|
+
"$type": "color",
|
|
438
|
+
"$description": "Used for the foreground of a strong neutral action in the focus state."
|
|
439
|
+
},
|
|
440
|
+
"active": {
|
|
441
|
+
"$value": "{action.strong.neutral.foreground.color.focus}",
|
|
442
|
+
"$type": "color",
|
|
443
|
+
"$description": "Used for the foreground of a strong neutral action in the active state."
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"border": {
|
|
448
|
+
"color": {
|
|
449
|
+
"default": {
|
|
450
|
+
"$value": "{color.alpha.0}",
|
|
451
|
+
"$type": "color",
|
|
452
|
+
"$description": "Used for the border of a strong neutral action in the default state."
|
|
453
|
+
},
|
|
454
|
+
"hover": {
|
|
455
|
+
"$value": "{action.strong.neutral.border.color.default}",
|
|
456
|
+
"$type": "color",
|
|
457
|
+
"$description": "Used for the border of a strong neutral action in the hover state."
|
|
458
|
+
},
|
|
459
|
+
"focus": {
|
|
460
|
+
"$value": "{action.strong.neutral.border.color.hover}",
|
|
461
|
+
"$type": "color",
|
|
462
|
+
"$description": "Used for the border of a strong neutral action in the focus state."
|
|
463
|
+
},
|
|
464
|
+
"active": {
|
|
465
|
+
"$value": "{action.strong.neutral.border.color.focus}",
|
|
466
|
+
"$type": "color",
|
|
467
|
+
"$description": "Used for the border of a strong neutral action in the active state."
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
304
472
|
}
|
|
305
473
|
}
|
|
306
|
-
}
|
|
474
|
+
}
|
|
@@ -557,10 +557,6 @@
|
|
|
557
557
|
--gl-button-confirm-primary-border-color-active: var(--gl-color-blue-900); /* Used for the border of a confirm (positive) primary button in the active state. */
|
|
558
558
|
--gl-button-confirm-primary-border-color-hover: var(--gl-color-blue-800); /* Used for the border of a confirm (positive) primary button in the hover state. */
|
|
559
559
|
--gl-button-confirm-primary-border-color-default: var(--gl-color-blue-600); /* Used for the border of a confirm (positive) primary button in the default state. */
|
|
560
|
-
--gl-button-confirm-primary-background-color-active: var(--gl-color-blue-700); /* Used for the background of a confirm (positive) primary button in the active state. */
|
|
561
|
-
--gl-button-confirm-primary-background-color-hover: var(--gl-color-blue-600); /* Used for the background of a confirm (positive) primary button in the hover state. */
|
|
562
|
-
--gl-button-confirm-primary-background-color-default: var(--gl-color-blue-500); /* Used for the background of a confirm (positive) primary button in the default state. */
|
|
563
|
-
--gl-button-confirm-primary-foreground-color-default: var(--gl-color-neutral-0); /* Used for the foreground of a confirm (positive) primary button in the default state. */
|
|
564
560
|
--gl-button-default-tertiary-background-color-active: var(--gl-action-neutral-background-color-active); /* Used for the background of a default borderless, tertiary button in the active state. */
|
|
565
561
|
--gl-button-default-tertiary-background-color-hover: var(--gl-action-neutral-background-color-hover); /* Used for the background of a default borderless, tertiary button in the hover state. */
|
|
566
562
|
--gl-button-default-tertiary-background-color-default: var(--gl-action-neutral-background-color-default); /* Used for the background of a default borderless, tertiary button in the default state. */
|
|
@@ -574,9 +570,9 @@
|
|
|
574
570
|
--gl-breadcrumb-separator-color: var(--gl-color-neutral-400); /* Used for the breadcrumb level separator. */
|
|
575
571
|
--gl-banner-promo-background-color: var(--gl-color-neutral-10); /* Used as background for the default banner type. */
|
|
576
572
|
--gl-banner-intro-border-color: var(--gl-color-blue-300); /* Used to compliment the info banner. */
|
|
577
|
-
--gl-badge-tier-icon-color-active: var(--gl-color-purple-
|
|
578
|
-
--gl-badge-tier-icon-color-hover: var(--gl-color-purple-
|
|
579
|
-
--gl-badge-tier-icon-color-default: var(--gl-color-purple-
|
|
573
|
+
--gl-badge-tier-icon-color-active: var(--gl-color-purple-900); /* Used for the icon of a tier related badge in the active state. */
|
|
574
|
+
--gl-badge-tier-icon-color-hover: var(--gl-color-purple-800); /* Used for the icon of a tier related badge in the hover state. */
|
|
575
|
+
--gl-badge-tier-icon-color-default: var(--gl-color-purple-700); /* Used for the icon of a tier related badge when static or the default state when linked. */
|
|
580
576
|
--gl-badge-tier-text-color-active: var(--gl-color-purple-900); /* Used for the text of a tier related badge in the active state. */
|
|
581
577
|
--gl-badge-tier-text-color-hover: var(--gl-color-purple-800); /* Used for the text of a tier related badge in the hover state. */
|
|
582
578
|
--gl-badge-tier-text-color-default: var(--gl-color-purple-700); /* Used for the text of a tier related badge when static or the default state when linked. */
|
|
@@ -586,9 +582,9 @@
|
|
|
586
582
|
--gl-badge-tier-border-color-default: var(--gl-color-alpha-0); /* Used for the border of a tier related badge when static or the default state when linked. */
|
|
587
583
|
--gl-badge-tier-background-color-active: var(--gl-color-purple-200); /* Used for the background of a tier related badge in the active state. */
|
|
588
584
|
--gl-badge-tier-background-color-default: var(--gl-color-purple-100); /* Used for the background of a tier related badge when static or the default state when linked. */
|
|
589
|
-
--gl-badge-danger-icon-color-active: var(--gl-color-red-
|
|
590
|
-
--gl-badge-danger-icon-color-hover: var(--gl-color-red-
|
|
591
|
-
--gl-badge-danger-icon-color-default: var(--gl-color-red-
|
|
585
|
+
--gl-badge-danger-icon-color-active: var(--gl-color-red-900); /* Used for the icon of a danger badge in the active state. */
|
|
586
|
+
--gl-badge-danger-icon-color-hover: var(--gl-color-red-800); /* Used for the icon of a danger badge in the hover state. */
|
|
587
|
+
--gl-badge-danger-icon-color-default: var(--gl-color-red-700); /* Used for the icon of a danger badge when static or the default state when linked. */
|
|
592
588
|
--gl-badge-danger-text-color-active: var(--gl-color-red-900); /* Used for the text of a danger badge in the active state. */
|
|
593
589
|
--gl-badge-danger-text-color-hover: var(--gl-color-red-800); /* Used for the text of a danger badge in the hover state. */
|
|
594
590
|
--gl-badge-danger-text-color-default: var(--gl-color-red-700); /* Used for the text of a danger badge when static or the default state when linked. */
|
|
@@ -675,6 +671,16 @@
|
|
|
675
671
|
--gl-background-color-strong: var(--gl-color-neutral-50); /* Used to make the background easily stand out from the default. */
|
|
676
672
|
--gl-background-color-subtle: var(--gl-color-neutral-10); /* Used to slightly differentiate the background from the default. */
|
|
677
673
|
--gl-background-color-default: var(--gl-color-neutral-0); /* Used for the default background color. */
|
|
674
|
+
--gl-action-strong-neutral-border-color-default: var(--gl-color-alpha-0); /* Used for the border of a strong neutral action in the default state. */
|
|
675
|
+
--gl-action-strong-neutral-foreground-color-default: var(--gl-color-neutral-0); /* Used for the foreground of a strong neutral action in the default state. */
|
|
676
|
+
--gl-action-strong-neutral-background-color-active: var(--gl-color-neutral-800); /* Used for the background of a strong neutral action in the active state. */
|
|
677
|
+
--gl-action-strong-neutral-background-color-hover: var(--gl-color-neutral-700); /* Used for the background of a strong neutral action in the hover state. */
|
|
678
|
+
--gl-action-strong-neutral-background-color-default: var(--gl-color-neutral-600); /* Used for the background of a strong neutral action in the default state. */
|
|
679
|
+
--gl-action-strong-confirm-border-color-default: var(--gl-color-alpha-0); /* Used for the border of a strong confirm action in the default state. */
|
|
680
|
+
--gl-action-strong-confirm-foreground-color-default: var(--gl-color-neutral-0); /* Used for the foreground of a strong confirm action in the default state. */
|
|
681
|
+
--gl-action-strong-confirm-background-color-active: var(--gl-color-blue-700); /* Used for the background of a strong confirm action in the active state. */
|
|
682
|
+
--gl-action-strong-confirm-background-color-hover: var(--gl-color-blue-600); /* Used for the background of a strong confirm action in the hover state. */
|
|
683
|
+
--gl-action-strong-confirm-background-color-default: var(--gl-color-blue-500); /* Used for the background of a strong confirm action in the default state. */
|
|
678
684
|
--gl-action-danger-border-color-default: var(--gl-color-alpha-0); /* Used for the border of a danger action in the default state. */
|
|
679
685
|
--gl-action-danger-background-color-focus: var(--gl-action-danger-background-color-hover); /* Used for the background of a danger (destructive) action in the focus state. */
|
|
680
686
|
--gl-action-danger-foreground-color-active: var(--gl-color-red-900); /* Used for the foreground of a danger (destructive) action in the active state. */
|
|
@@ -727,10 +733,10 @@
|
|
|
727
733
|
--gl-button-confirm-secondary-background-color-focus: var(--gl-button-confirm-secondary-background-color-hover); /* Used for the background of an outlined confirm (positive) button in the focus state. */
|
|
728
734
|
--gl-button-confirm-secondary-foreground-color-focus: var(--gl-button-confirm-secondary-foreground-color-hover); /* Used for the foreground of a confirm (positive) button in the focus state. */
|
|
729
735
|
--gl-button-confirm-primary-border-color-focus: var(--gl-button-confirm-primary-border-color-hover); /* Used for the border of a confirm (positive) primary button in the focus state. */
|
|
730
|
-
--gl-button-confirm-primary-background-color-
|
|
731
|
-
--gl-button-confirm-primary-
|
|
732
|
-
--gl-button-confirm-primary-
|
|
733
|
-
--gl-button-confirm-primary-foreground-color-
|
|
736
|
+
--gl-button-confirm-primary-background-color-active: var(--gl-action-strong-confirm-background-color-active); /* Used for the background of a confirm (positive) primary button in the active state. */
|
|
737
|
+
--gl-button-confirm-primary-background-color-hover: var(--gl-action-strong-confirm-background-color-hover); /* Used for the background of a confirm (positive) primary button in the hover state. */
|
|
738
|
+
--gl-button-confirm-primary-background-color-default: var(--gl-action-strong-confirm-background-color-default); /* Used for the background of a confirm (positive) primary button in the default state. */
|
|
739
|
+
--gl-button-confirm-primary-foreground-color-default: var(--gl-action-strong-confirm-foreground-color-default); /* Used for the foreground of a confirm (positive) primary button in the default state. */
|
|
734
740
|
--gl-button-default-tertiary-border-color-default: var(--gl-action-neutral-border-color-default); /* Used for the border of a default borderless, tertiary button in the default state. */
|
|
735
741
|
--gl-button-default-tertiary-background-color-focus: var(--gl-action-neutral-background-color-focus); /* Used for the background of a default borderless, tertiary button in the focus state. */
|
|
736
742
|
--gl-button-default-tertiary-foreground-color-default: var(--gl-action-neutral-foreground-color-default); /* Used for the foreground of a default borderless, tertiary button in the default state. */
|
|
@@ -760,6 +766,12 @@
|
|
|
760
766
|
--gl-badge-muted-icon-color-focus: var(--gl-badge-muted-icon-color-hover); /* Used for the icon of a muted badge in the focus state. */
|
|
761
767
|
--gl-badge-muted-text-color-focus: var(--gl-badge-muted-text-color-hover); /* Used for the text of a muted badge in the focus state. */
|
|
762
768
|
--gl-badge-muted-background-color-hover: var(--gl-badge-muted-background-color-default); /* Used for the background of a muted badge in the hover state. */
|
|
769
|
+
--gl-action-strong-neutral-border-color-hover: var(--gl-action-strong-neutral-border-color-default); /* Used for the border of a strong neutral action in the hover state. */
|
|
770
|
+
--gl-action-strong-neutral-foreground-color-hover: var(--gl-action-strong-neutral-foreground-color-default); /* Used for the foreground of a strong neutral action in the hover state. */
|
|
771
|
+
--gl-action-strong-neutral-background-color-focus: var(--gl-action-strong-neutral-background-color-hover); /* Used for the background of a strong neutral action in the focus state. */
|
|
772
|
+
--gl-action-strong-confirm-border-color-hover: var(--gl-action-strong-confirm-border-color-default); /* Used for the border of a strong confirm action in the hover state. */
|
|
773
|
+
--gl-action-strong-confirm-foreground-color-hover: var(--gl-action-strong-confirm-foreground-color-default); /* Used for the foreground of a strong confirm action in the hover state. */
|
|
774
|
+
--gl-action-strong-confirm-background-color-focus: var(--gl-action-strong-confirm-background-color-hover); /* Used for the background of a strong confirm action in the focus state. */
|
|
763
775
|
--gl-action-danger-border-color-active: var(--gl-action-danger-border-color-default); /* Used for the border of a danger action in the active state. */
|
|
764
776
|
--gl-action-danger-border-color-focus: var(--gl-action-danger-border-color-default); /* Used for the border of a danger action in the focus state. */
|
|
765
777
|
--gl-action-danger-border-color-hover: var(--gl-action-danger-border-color-default); /* Used for the border of a danger action in the hover state. */
|
|
@@ -791,6 +803,8 @@
|
|
|
791
803
|
--gl-button-confirm-tertiary-border-color-focus: var(--gl-action-confirm-border-color-focus); /* Used for the border of a borderless, tertiary confirm (positive) button in the focus state. */
|
|
792
804
|
--gl-button-confirm-tertiary-border-color-hover: var(--gl-action-confirm-border-color-hover); /* Used for the border of a borderless, tertiary confirm (positive) button in the hover state. */
|
|
793
805
|
--gl-button-confirm-tertiary-foreground-color-focus: var(--gl-action-confirm-foreground-color-focus); /* Used for the foreground of a borderless, tertiary confirm (positive) button in the focus state. */
|
|
806
|
+
--gl-button-confirm-primary-background-color-focus: var(--gl-action-strong-confirm-background-color-focus); /* Used for the background of a confirm (positive) primary button in the focus state. */
|
|
807
|
+
--gl-button-confirm-primary-foreground-color-hover: var(--gl-action-strong-confirm-foreground-color-hover); /* Used for the foreground of a confirm (positive) primary button in the hover state. */
|
|
794
808
|
--gl-button-default-tertiary-border-color-active: var(--gl-action-neutral-border-color-active); /* Used for the border of a default borderless, tertiary button in the active state. */
|
|
795
809
|
--gl-button-default-tertiary-border-color-focus: var(--gl-action-neutral-border-color-focus); /* Used for the border of a default borderless, tertiary button in the focus state. */
|
|
796
810
|
--gl-button-default-tertiary-border-color-hover: var(--gl-action-neutral-border-color-hover); /* Used for the border of a default borderless, tertiary button in the hover state. */
|
|
@@ -804,4 +818,14 @@
|
|
|
804
818
|
--gl-badge-info-background-color-focus: var(--gl-badge-info-background-color-hover); /* Used for the background of an informational badge in the focus state. */
|
|
805
819
|
--gl-badge-neutral-background-color-focus: var(--gl-badge-neutral-background-color-hover); /* Used for the background of a neutral badge in the focus state. */
|
|
806
820
|
--gl-badge-muted-background-color-focus: var(--gl-badge-muted-background-color-hover); /* Used for the background of a muted badge in the focus state. */
|
|
821
|
+
--gl-action-strong-neutral-border-color-focus: var(--gl-action-strong-neutral-border-color-hover); /* Used for the border of a strong neutral action in the focus state. */
|
|
822
|
+
--gl-action-strong-neutral-foreground-color-focus: var(--gl-action-strong-neutral-foreground-color-hover); /* Used for the foreground of a strong neutral action in the focus state. */
|
|
823
|
+
--gl-action-strong-confirm-border-color-focus: var(--gl-action-strong-confirm-border-color-hover); /* Used for the border of a strong confirm action in the focus state. */
|
|
824
|
+
--gl-action-strong-confirm-foreground-color-focus: var(--gl-action-strong-confirm-foreground-color-hover); /* Used for the foreground of a strong confirm action in the focus state. */
|
|
825
|
+
--gl-button-confirm-primary-foreground-color-focus: var(--gl-action-strong-confirm-foreground-color-focus); /* Used for the foreground of a confirm (positive) primary button in the focus state. */
|
|
826
|
+
--gl-action-strong-neutral-border-color-active: var(--gl-action-strong-neutral-border-color-focus); /* Used for the border of a strong neutral action in the active state. */
|
|
827
|
+
--gl-action-strong-neutral-foreground-color-active: var(--gl-action-strong-neutral-foreground-color-focus); /* Used for the foreground of a strong neutral action in the active state. */
|
|
828
|
+
--gl-action-strong-confirm-border-color-active: var(--gl-action-strong-confirm-border-color-focus); /* Used for the border of a strong confirm action in the active state. */
|
|
829
|
+
--gl-action-strong-confirm-foreground-color-active: var(--gl-action-strong-confirm-foreground-color-focus); /* Used for the foreground of a strong confirm action in the active state. */
|
|
830
|
+
--gl-button-confirm-primary-foreground-color-active: var(--gl-action-strong-confirm-foreground-color-active); /* Used for the foreground of a confirm (positive) primary button in the active state. */
|
|
807
831
|
}
|