@gitlab/ui 134.5.0 → 134.7.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/dist/components/base/sorting/sorting.js +23 -2
- package/dist/components/dashboards/dashboard_panel/dashboard_panel.js +5 -3
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +86 -68
- package/dist/tokens/build/js/tokens.js +93 -75
- package/package.json +4 -4
- package/src/components/base/sorting/sorting.vue +28 -1
- package/src/components/base/toggle/toggle.scss +75 -51
- package/src/components/dashboards/dashboard_panel/dashboard_panel.vue +4 -1
- package/src/scss/bootstrap_no_utils.scss +33 -0
- package/src/scss/gitlab_ui_no_utils.scss +24 -0
- package/src/tokens/build/css/tokens.css +76 -58
- package/src/tokens/build/css/tokens.dark.css +74 -56
- package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +145 -0
- package/src/tokens/build/docs/tokens-tailwind-docs.json +145 -0
- package/src/tokens/build/figma/constants.dark.json +2 -2
- package/src/tokens/build/figma/constants.json +2 -2
- package/src/tokens/build/figma/mode.dark.json +206 -108
- package/src/tokens/build/figma/mode.json +209 -87
- package/src/tokens/build/js/tokens.dark.js +85 -67
- package/src/tokens/build/js/tokens.js +92 -74
- package/src/tokens/build/json/tokens.dark.json +846 -225
- package/src/tokens/build/json/tokens.json +850 -229
- package/src/tokens/build/scss/_tokens.dark.scss +74 -56
- package/src/tokens/build/scss/_tokens.scss +76 -58
- package/src/tokens/build/scss/_tokens_custom_properties.scss +18 -0
- package/src/tokens/build/tailwind/tokens.cjs +1 -0
- package/src/tokens/constant/color.alpha.tokens.json +16 -0
- package/src/tokens/contextual/button.tokens.json +34 -58
- package/src/tokens/contextual/tabs.tokens.json +2 -8
- package/src/tokens/contextual/toggle.tokens.json +195 -0
- package/src/tokens/semantic/action.tokens.json +22 -124
- package/src/tokens/semantic/control.tokens.json +9 -21
- package/translations.js +2 -0
|
@@ -66,15 +66,19 @@ $toggle-height: 2.5 * $grid-size;
|
|
|
66
66
|
@apply gl-border-0;
|
|
67
67
|
@apply gl-cursor-pointer;
|
|
68
68
|
color: var(--gl-toggle-switch-icon-color-unchecked-default);
|
|
69
|
-
background-color: var(--gl-
|
|
69
|
+
background-color: var(--gl-toggle-switch-track-color-unchecked-default);
|
|
70
70
|
position: relative;
|
|
71
71
|
width: $toggle-width;
|
|
72
72
|
height: $toggle-height;
|
|
73
73
|
user-select: none;
|
|
74
|
-
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-action-
|
|
74
|
+
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-action-neutral-border-color-default);
|
|
75
75
|
@apply gl-rounded-pill;
|
|
76
|
-
@apply gl-duration-slow;
|
|
77
76
|
@apply gl-leading-normal;
|
|
77
|
+
transition:
|
|
78
|
+
color $gl-transition-duration-medium $gl-easing-out-cubic,
|
|
79
|
+
background-color $gl-transition-duration-medium $gl-easing-out-cubic,
|
|
80
|
+
box-shadow $gl-transition-duration-medium $gl-easing-out-cubic;
|
|
81
|
+
@include gl-prefers-reduced-motion-transition;
|
|
78
82
|
|
|
79
83
|
@media (forced-colors: active) {
|
|
80
84
|
border: 1px solid;
|
|
@@ -88,23 +92,24 @@ $toggle-height: 2.5 * $grid-size;
|
|
|
88
92
|
|
|
89
93
|
&:hover {
|
|
90
94
|
color: var(--gl-toggle-switch-icon-color-unchecked-hover);
|
|
91
|
-
background-color: var(--gl-
|
|
92
|
-
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-action-
|
|
95
|
+
background-color: var(--gl-toggle-switch-track-color-unchecked-hover);
|
|
96
|
+
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-action-neutral-border-color-hover);
|
|
97
|
+
|
|
98
|
+
.toggle-icon::before {
|
|
99
|
+
transform: scale(0.875);
|
|
100
|
+
}
|
|
93
101
|
}
|
|
94
102
|
|
|
95
103
|
&:focus {
|
|
96
104
|
color: var(--gl-toggle-switch-icon-color-unchecked-focus);
|
|
97
|
-
background-color: var(--gl-
|
|
98
|
-
@include gl-focus($color: var(--gl-action-
|
|
105
|
+
background-color: var(--gl-toggle-switch-track-color-unchecked-focus);
|
|
106
|
+
@include gl-focus($color: var(--gl-action-neutral-border-color-focus), $important: true);
|
|
99
107
|
}
|
|
100
108
|
|
|
101
109
|
&:active {
|
|
102
110
|
color: var(--gl-toggle-switch-icon-color-unchecked-active);
|
|
103
|
-
background-color: var(--gl-
|
|
104
|
-
@include gl-focus(
|
|
105
|
-
$color: var(--gl-action-strong-neutral-border-color-active),
|
|
106
|
-
$important: true
|
|
107
|
-
);
|
|
111
|
+
background-color: var(--gl-toggle-switch-track-color-unchecked-active);
|
|
112
|
+
@include gl-focus($color: var(--gl-action-neutral-border-color-active), $important: true);
|
|
108
113
|
}
|
|
109
114
|
|
|
110
115
|
.toggle-loading {
|
|
@@ -112,69 +117,76 @@ $toggle-height: 2.5 * $grid-size;
|
|
|
112
117
|
}
|
|
113
118
|
|
|
114
119
|
.toggle-icon {
|
|
115
|
-
@apply gl-
|
|
116
|
-
|
|
117
|
-
@apply gl-
|
|
118
|
-
@apply gl-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
@
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
&:active {
|
|
135
|
-
background-color: var(--gl-action-strong-neutral-foreground-color-active);
|
|
120
|
+
@apply gl-absolute;
|
|
121
|
+
@apply gl-w-5;
|
|
122
|
+
@apply gl-h-5;
|
|
123
|
+
@apply gl-left-1;
|
|
124
|
+
@apply gl-top-1;
|
|
125
|
+
transition: transform $gl-transition-duration-medium $gl-easing-out-cubic;
|
|
126
|
+
@include gl-prefers-reduced-motion-transition;
|
|
127
|
+
|
|
128
|
+
&::before {
|
|
129
|
+
content: "";
|
|
130
|
+
@apply gl-absolute;
|
|
131
|
+
@apply gl-inset-0;
|
|
132
|
+
@apply gl-rounded-full;
|
|
133
|
+
background-color: var(--gl-toggle-switch-background-color-unchecked-default);
|
|
134
|
+
transform: scale(0.75);
|
|
135
|
+
transition:
|
|
136
|
+
transform $gl-transition-duration-medium $gl-easing-out-cubic,
|
|
137
|
+
background-color $gl-transition-duration-medium $gl-easing-out-cubic;
|
|
138
|
+
@include gl-prefers-reduced-motion-transition;
|
|
136
139
|
}
|
|
137
140
|
|
|
138
141
|
> svg {
|
|
142
|
+
@apply gl-absolute;
|
|
139
143
|
@apply gl-w-4;
|
|
140
144
|
@apply gl-h-4;
|
|
141
|
-
|
|
145
|
+
top: 50%;
|
|
146
|
+
left: 50%;
|
|
147
|
+
transform: translate(-50%, -50%);
|
|
148
|
+
// Check/close icons are only rendered in Windows high contrast
|
|
149
|
+
// (forced-colors) mode so the toggle state remains distinguishable
|
|
150
|
+
// when background colors are overridden by the user agent.
|
|
151
|
+
display: none;
|
|
152
|
+
|
|
153
|
+
@media (forced-colors: active) {
|
|
154
|
+
display: block;
|
|
155
|
+
}
|
|
142
156
|
}
|
|
143
157
|
}
|
|
144
158
|
|
|
145
159
|
&.is-checked {
|
|
146
160
|
color: var(--gl-toggle-switch-icon-color-checked-default);
|
|
147
|
-
background-color: var(--gl-
|
|
148
|
-
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-action-
|
|
161
|
+
background-color: var(--gl-toggle-switch-track-color-checked-default);
|
|
162
|
+
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-action-neutral-border-color-default);
|
|
149
163
|
|
|
150
164
|
&:hover {
|
|
151
165
|
color: var(--gl-toggle-switch-icon-color-checked-hover);
|
|
152
|
-
background-color: var(--gl-
|
|
153
|
-
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-action-
|
|
166
|
+
background-color: var(--gl-toggle-switch-track-color-checked-hover);
|
|
167
|
+
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-action-neutral-border-color-hover);
|
|
154
168
|
}
|
|
155
169
|
|
|
156
170
|
&:focus {
|
|
157
171
|
color: var(--gl-toggle-switch-icon-color-checked-focus);
|
|
158
|
-
background-color: var(--gl-
|
|
159
|
-
@include gl-focus(
|
|
160
|
-
$color: var(--gl-action-strong-confirm-border-color-focus),
|
|
161
|
-
$important: true
|
|
162
|
-
);
|
|
172
|
+
background-color: var(--gl-toggle-switch-track-color-checked-focus);
|
|
173
|
+
@include gl-focus($color: var(--gl-action-neutral-border-color-focus), $important: true);
|
|
163
174
|
}
|
|
164
175
|
|
|
165
176
|
&:active {
|
|
166
177
|
color: var(--gl-toggle-switch-icon-color-checked-active);
|
|
167
|
-
background-color: var(--gl-
|
|
168
|
-
@include gl-focus(
|
|
169
|
-
$color: var(--gl-action-strong-confirm-border-color-active),
|
|
170
|
-
$important: true
|
|
171
|
-
);
|
|
178
|
+
background-color: var(--gl-toggle-switch-track-color-checked-active);
|
|
179
|
+
@include gl-focus($color: var(--gl-action-neutral-border-color-active), $important: true);
|
|
172
180
|
}
|
|
173
181
|
|
|
174
182
|
.toggle-icon {
|
|
175
|
-
background-color: var(--gl-action-strong-confirm-foreground-color-default);
|
|
176
183
|
transform: translateX($toggle-translate-width);
|
|
177
184
|
}
|
|
185
|
+
|
|
186
|
+
.toggle-icon::before {
|
|
187
|
+
background-color: var(--gl-toggle-switch-background-color-checked-default);
|
|
188
|
+
transform: scale(1);
|
|
189
|
+
}
|
|
178
190
|
}
|
|
179
191
|
|
|
180
192
|
&.is-disabled,
|
|
@@ -185,8 +197,20 @@ $toggle-height: 2.5 * $grid-size;
|
|
|
185
197
|
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-action-disabled-border-color);
|
|
186
198
|
|
|
187
199
|
.toggle-icon {
|
|
188
|
-
color: var(--gl-
|
|
189
|
-
|
|
200
|
+
color: var(--gl-toggle-switch-icon-color-disabled);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.toggle-icon::before {
|
|
204
|
+
background-color: var(--gl-toggle-switch-background-color-disabled);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&:hover .toggle-icon::before {
|
|
208
|
+
transform: scale(0.75);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&.is-checked .toggle-icon::before,
|
|
212
|
+
&.is-checked:hover .toggle-icon::before {
|
|
213
|
+
transform: scale(1);
|
|
190
214
|
}
|
|
191
215
|
|
|
192
216
|
&:active,
|
|
@@ -7,6 +7,7 @@ import GlPopover from '../../base/popover/popover.vue';
|
|
|
7
7
|
import GlSprintf from '../../utilities/sprintf/sprintf.vue';
|
|
8
8
|
import GlLink from '../../base/link/link.vue';
|
|
9
9
|
import GlTruncate from '../../utilities/truncate/truncate.vue';
|
|
10
|
+
import GlSkeletonLoader from '../../base/skeleton_loader/skeleton_loader.vue';
|
|
10
11
|
|
|
11
12
|
export default {
|
|
12
13
|
name: 'GlDashboardPanel',
|
|
@@ -18,6 +19,7 @@ export default {
|
|
|
18
19
|
GlSprintf,
|
|
19
20
|
GlLink,
|
|
20
21
|
GlTruncate,
|
|
22
|
+
GlSkeletonLoader,
|
|
21
23
|
},
|
|
22
24
|
props: {
|
|
23
25
|
/**
|
|
@@ -205,7 +207,8 @@ export default {
|
|
|
205
207
|
>
|
|
206
208
|
<div class="gl-flex gl-h-full gl-flex-col">
|
|
207
209
|
<div class="gl-mb-3 gl-flex gl-items-start gl-justify-between" data-testid="panel-title">
|
|
208
|
-
<
|
|
210
|
+
<gl-skeleton-loader v-if="loading" :lines="1" />
|
|
211
|
+
<div v-else class="gl-flex gl-items-center gl-gap-2 gl-overflow-hidden">
|
|
209
212
|
<gl-icon
|
|
210
213
|
v-if="hasTitleIcon"
|
|
211
214
|
:class="titleIconClass"
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@import "variables";
|
|
2
|
+
@import "../vendor/bootstrap/scss/functions";
|
|
3
|
+
@import "../vendor/bootstrap/scss/variables";
|
|
4
|
+
@import "../vendor/bootstrap/scss/mixins";
|
|
5
|
+
@import "../vendor/bootstrap/scss/root";
|
|
6
|
+
@import "../vendor/bootstrap/scss/reboot";
|
|
7
|
+
@import "../vendor/bootstrap/scss/type";
|
|
8
|
+
@import "../vendor/bootstrap/scss/images";
|
|
9
|
+
@import "../vendor/bootstrap/scss/code";
|
|
10
|
+
@import "../vendor/bootstrap/scss/grid";
|
|
11
|
+
@import "../vendor/bootstrap/scss/tables";
|
|
12
|
+
@import "../vendor/bootstrap/scss/forms";
|
|
13
|
+
@import "../vendor/bootstrap/scss/buttons";
|
|
14
|
+
@import "../vendor/bootstrap/scss/transitions";
|
|
15
|
+
@import "../vendor/bootstrap/scss/dropdown";
|
|
16
|
+
@import "../vendor/bootstrap/scss/button-group";
|
|
17
|
+
@import "../vendor/bootstrap/scss/input-group";
|
|
18
|
+
@import "../vendor/bootstrap/scss/custom-forms";
|
|
19
|
+
@import "../vendor/bootstrap/scss/nav";
|
|
20
|
+
@import "../vendor/bootstrap/scss/navbar";
|
|
21
|
+
@import "../vendor/bootstrap/scss/card";
|
|
22
|
+
@import "../vendor/bootstrap/scss/breadcrumb";
|
|
23
|
+
@import "../vendor/bootstrap/scss/pagination";
|
|
24
|
+
@import "../vendor/bootstrap/scss/badge";
|
|
25
|
+
@import "../vendor/bootstrap/scss/alert";
|
|
26
|
+
@import "../vendor/bootstrap/scss/progress";
|
|
27
|
+
@import "../vendor/bootstrap/scss/media";
|
|
28
|
+
@import "../vendor/bootstrap/scss/list-group";
|
|
29
|
+
@import "../vendor/bootstrap/scss/close";
|
|
30
|
+
@import "../vendor/bootstrap/scss/modal";
|
|
31
|
+
@import "../vendor/bootstrap/scss/tooltip";
|
|
32
|
+
@import "../vendor/bootstrap/scss/popover";
|
|
33
|
+
@import "../vendor/bootstrap/scss/print";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import "mixins";
|
|
2
|
+
|
|
3
|
+
@import "bootstrap_no_utils";
|
|
4
|
+
@import "bootstrap_vue";
|
|
5
|
+
|
|
6
|
+
// Design Tokens
|
|
7
|
+
@import "tokens";
|
|
8
|
+
|
|
9
|
+
// Settings
|
|
10
|
+
@import "functions";
|
|
11
|
+
@import "variables";
|
|
12
|
+
@import "typescale/index";
|
|
13
|
+
|
|
14
|
+
// Body
|
|
15
|
+
@import "body";
|
|
16
|
+
|
|
17
|
+
// Typography
|
|
18
|
+
@import "typography";
|
|
19
|
+
|
|
20
|
+
// Components
|
|
21
|
+
@import "components";
|
|
22
|
+
|
|
23
|
+
// Themes
|
|
24
|
+
@import "themes";
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
--gl-color-alpha-light-16: rgba(255, 255, 255, 0.16);
|
|
20
20
|
--gl-color-alpha-light-24: rgba(255, 255, 255, 0.24);
|
|
21
21
|
--gl-color-alpha-light-36: rgba(255, 255, 255, 0.36);
|
|
22
|
+
--gl-color-alpha-light-40: rgba(255, 255, 255, 0.4);
|
|
22
23
|
--gl-color-blue-50: #e9f3fc;
|
|
23
24
|
--gl-color-blue-100: #cbe2f9;
|
|
24
25
|
--gl-color-blue-200: #9dc7f1;
|
|
@@ -378,12 +379,6 @@
|
|
|
378
379
|
--t-white-a-04: rgba(255, 255, 255, 0.04); /** Use color.alpha.light.4 instead. */
|
|
379
380
|
--t-white-a-06: rgba(255, 255, 255, 0.06); /** Use color.alpha.light.6 instead. */
|
|
380
381
|
--t-white-a-08: rgba(255, 255, 255, 0.08); /** Use color.alpha.light.8 instead. */
|
|
381
|
-
--gl-action-neutral-background-color-default: rgba(164, 163, 168, 0); /** Used for the background of a neutral action in the default state. */
|
|
382
|
-
--gl-action-neutral-background-color-hover: rgba(164, 163, 168, 0.16); /** Used for the background of a neutral action in the hover state. */
|
|
383
|
-
--gl-action-neutral-background-color-active: rgba(83, 81, 88, 0.24); /** Used for the background of a neutral action in the active state. */
|
|
384
|
-
--gl-action-confirm-background-color-default: rgba(99, 166, 233, 0); /** Used for the background of a confirm (positive) action in the default state. */
|
|
385
|
-
--gl-action-confirm-background-color-hover: rgba(99, 166, 233, 0.16); /** Used for the background of a confirm (positive) action in the hover state. */
|
|
386
|
-
--gl-action-confirm-background-color-active: rgba(11, 92, 173, 0.24); /** Used for the background of a confirm (positive) action in the active state. */
|
|
387
382
|
--gl-action-danger-background-color-default: rgba(245, 127, 108, 0); /** Used for the background of a danger (destructive) action in the default state. */
|
|
388
383
|
--gl-action-danger-background-color-hover: rgba(245, 127, 108, 0.16); /** Used for the background of a danger (destructive) action in the hover state. */
|
|
389
384
|
--gl-action-danger-background-color-active: rgba(174, 24, 0, 0.24); /** Used for the background of a danger (destructive) action in the active state. */
|
|
@@ -566,25 +561,20 @@
|
|
|
566
561
|
--gl-button-default-primary-border-color-default: var(--gl-color-neutral-200); /** Used for the border of an default primary button in the default state. */
|
|
567
562
|
--gl-button-default-primary-border-color-hover: var(--gl-color-neutral-400); /** Used for the border of an default primary button in the hover state. */
|
|
568
563
|
--gl-button-default-primary-border-color-active: var(--gl-color-neutral-600); /** Used for the border of an default primary button in the active state. */
|
|
569
|
-
--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. */
|
|
570
|
-
--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. */
|
|
571
|
-
--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. */
|
|
572
564
|
--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. */
|
|
573
|
-
--gl-button-confirm-primary-
|
|
574
|
-
--gl-button-confirm-primary-
|
|
575
|
-
--gl-button-confirm-primary-
|
|
576
|
-
--gl-button-confirm-
|
|
577
|
-
--gl-button-confirm-secondary-foreground-color-
|
|
578
|
-
--gl-button-confirm-secondary-foreground-color-
|
|
565
|
+
--gl-button-confirm-primary-background-color-default: var(--gl-color-neutral-800); /** Used for the background of a confirm (positive) primary button in the default state. */
|
|
566
|
+
--gl-button-confirm-primary-background-color-hover: var(--gl-color-neutral-950); /** Used for the background of a confirm (positive) primary button in the hover state. */
|
|
567
|
+
--gl-button-confirm-primary-background-color-active: var(--gl-color-neutral-1000); /** Used for the background of a confirm (positive) primary button in the active state. */
|
|
568
|
+
--gl-button-confirm-primary-border-color-default: var(--gl-color-alpha-0); /** Used for the border of a confirm (positive) primary button in the default state. */
|
|
569
|
+
--gl-button-confirm-secondary-foreground-color-default: var(--gl-color-neutral-800); /** Used for the foreground of a confirm (positive) button in the default state. */
|
|
570
|
+
--gl-button-confirm-secondary-foreground-color-hover: var(--gl-color-neutral-950); /** Used for the foreground of a confirm (positive) button in the hover state. */
|
|
571
|
+
--gl-button-confirm-secondary-foreground-color-active: var(--gl-color-neutral-1000); /** Used for the foreground of a confirm (positive) button in the active state. */
|
|
579
572
|
--gl-button-confirm-secondary-background-color-default: var(--gl-color-neutral-0); /** Used for the background of an outlined confirm (positive) button in the default state. */
|
|
580
|
-
--gl-button-confirm-secondary-background-color-hover: var(--gl-color-
|
|
581
|
-
--gl-button-confirm-secondary-background-color-active: var(--gl-color-
|
|
582
|
-
--gl-button-confirm-secondary-border-color-default: var(--gl-color-
|
|
583
|
-
--gl-button-confirm-secondary-border-color-hover: var(--gl-color-
|
|
584
|
-
--gl-button-confirm-secondary-border-color-active: var(--gl-color-
|
|
585
|
-
--gl-button-confirm-tertiary-background-color-default: var(--gl-action-confirm-background-color-default); /** Used for the background of a borderless, tertiary confirm (positive) button in the default state. */
|
|
586
|
-
--gl-button-confirm-tertiary-background-color-hover: var(--gl-action-confirm-background-color-hover); /** Used for the background of a borderless, tertiary confirm (positive) button in the hover state. */
|
|
587
|
-
--gl-button-confirm-tertiary-background-color-active: var(--gl-action-confirm-background-color-active); /** Used for the background of a borderless, tertiary confirm (positive) button in the active state. */
|
|
573
|
+
--gl-button-confirm-secondary-background-color-hover: var(--gl-color-neutral-50); /** Used for the background of an outlined confirm (positive) button in the hover state. */
|
|
574
|
+
--gl-button-confirm-secondary-background-color-active: var(--gl-color-neutral-100); /** Used for the background of an outlined confirm (positive) button in the active state. */
|
|
575
|
+
--gl-button-confirm-secondary-border-color-default: var(--gl-color-neutral-800); /** Used for the border of an outlined confirm (positive) button in the default state. */
|
|
576
|
+
--gl-button-confirm-secondary-border-color-hover: var(--gl-color-neutral-950); /** Used for the border of an outlined confirm (positive) button in the hover state. */
|
|
577
|
+
--gl-button-confirm-secondary-border-color-active: var(--gl-color-neutral-1000); /** Used for the border of an outlined confirm (positive) button in the active state. */
|
|
588
578
|
--gl-button-danger-primary-foreground-color-default: var(--gl-color-neutral-0); /** Used for the foreground of a danger (destructive) primary button in the default state. */
|
|
589
579
|
--gl-button-danger-primary-background-color-default: var(--gl-color-red-500); /** Used for the background of a danger (destructive) primary button in the default state. */
|
|
590
580
|
--gl-button-danger-primary-background-color-hover: var(--gl-color-red-600); /** Used for the background of a danger (destructive) primary button in the hover state. */
|
|
@@ -618,9 +608,6 @@
|
|
|
618
608
|
--gl-chart-threshold-line-color: var(--gl-color-red-500); /** Used in charts to divide a threshold area in a chart from other data. */
|
|
619
609
|
--gl-chart-zoom-filler-color: var(--gl-color-alpha-dark-8); /** Used in charts for the overlay color when zooming in on a specific area of data. */
|
|
620
610
|
--gl-datepicker-background-color: var(--gl-color-neutral-0); /** Used for the background color of datepicker. */
|
|
621
|
-
--gl-dropdown-option-background-color-unselected-default: var(--gl-action-neutral-background-color-default); /** Used for the background of an unselected dropdown option in the default state. */
|
|
622
|
-
--gl-dropdown-option-background-color-unselected-hover: var(--gl-action-neutral-background-color-hover); /** Used for the background of an unselected dropdown option in the hover state. */
|
|
623
|
-
--gl-dropdown-option-background-color-unselected-active: var(--gl-action-neutral-background-color-active); /** Used for the background of an unselected dropdown option in the active state. */
|
|
624
611
|
--gl-dropdown-option-background-color-selected-default: var(--gl-color-neutral-50); /** Used for the background of a selected dropdown option in the default state. */
|
|
625
612
|
--gl-dropdown-option-background-color-selected-hover: var(--gl-color-neutral-100); /** Used for the background of a selected dropdown option in the hover state. */
|
|
626
613
|
--gl-dropdown-option-background-color-selected-active: var(--gl-color-neutral-200); /** Used for the background of a selected dropdown option in the active state. */
|
|
@@ -648,9 +635,6 @@
|
|
|
648
635
|
--gl-link-mention-background-color-default: var(--gl-color-blue-100); /** Used for the mention link default background. */
|
|
649
636
|
--gl-link-mention-background-color-current: var(--gl-color-orange-100); /** Used for the mention link background when referencing the current user. */
|
|
650
637
|
--gl-nav-item-font-size: var(--gl-font-size-300); /** Used for the font size of a navigation item */
|
|
651
|
-
--gl-nav-item-background-color-default: var(--gl-action-neutral-background-color-default); /** Used for the background of a default navigation item in the default state. */
|
|
652
|
-
--gl-nav-item-background-color-hover: var(--gl-action-neutral-background-color-hover); /** Used for the background of a default navigation item in the hover state. */
|
|
653
|
-
--gl-nav-item-background-color-active: var(--gl-action-neutral-background-color-active); /** Used for the background of a default navigation item in the active state. */
|
|
654
638
|
--gl-progress-bar-track-color: var(--gl-color-neutral-200); /** Used for the track color for all progress-bar variants. */
|
|
655
639
|
--gl-skeleton-loader-background-color: var(--gl-color-neutral-100); /** Used for the skeleton loader background color. */
|
|
656
640
|
--gl-skeleton-loader-shimmer-color: var(--gl-color-neutral-50); /** Used for the animated shimmer effect in a skeleton loader. */
|
|
@@ -658,7 +642,9 @@
|
|
|
658
642
|
--gl-spinner-track-color-light: var(--gl-color-neutral-800); /** Used for the static track (background) of a loading spinner on a dark background. */
|
|
659
643
|
--gl-spinner-segment-color-default: var(--gl-color-neutral-700); /** Used for the animated segment of a loading spinner. */
|
|
660
644
|
--gl-spinner-segment-color-light: var(--gl-color-neutral-200); /** Used for the animated segment of a loading spinner on a dark background. */
|
|
661
|
-
--gl-
|
|
645
|
+
--gl-toggle-switch-track-color-checked-default: var(--gl-color-neutral-800); /** Used for the track color of a checked toggle switch in the default state. */
|
|
646
|
+
--gl-toggle-switch-track-color-checked-hover: var(--gl-color-neutral-950); /** Used for the track color of a checked toggle switch in the hover state. */
|
|
647
|
+
--gl-toggle-switch-track-color-checked-active: var(--gl-color-neutral-1000); /** Used for the track color of a checked toggle switch in the active state. */
|
|
662
648
|
--gl-token-selector-token-container-token-background-color-focus: var(--gl-color-neutral-300); /** Used for the background color of a token in a token-selector when it's token-container is in the focus state. */
|
|
663
649
|
--gl-token-background-color: var(--gl-color-neutral-100); /** Used for the token background color. */
|
|
664
650
|
--black: var(--gl-color-neutral-1000);
|
|
@@ -734,16 +720,20 @@
|
|
|
734
720
|
--gl-action-disabled-background-color: var(--gl-color-neutral-50); /** Used for the background of a disabled action. */
|
|
735
721
|
--gl-action-disabled-border-color: var(--gl-color-neutral-100); /** Used for the border of a disabled action. */
|
|
736
722
|
--gl-action-selected-foreground-color-default: var(--gl-color-neutral-0); /** Used for the foreground of a selected action in the default state. */
|
|
737
|
-
--gl-action-selected-background-color-default: var(--gl-color-
|
|
738
|
-
--gl-action-selected-background-color-hover: var(--gl-color-
|
|
739
|
-
--gl-action-selected-background-color-active: var(--gl-color-
|
|
723
|
+
--gl-action-selected-background-color-default: var(--gl-color-neutral-800); /** Used for the background of a selected action in the default state. */
|
|
724
|
+
--gl-action-selected-background-color-hover: var(--gl-color-neutral-950); /** Used for the background of a selected action in the hover state. */
|
|
725
|
+
--gl-action-selected-background-color-active: var(--gl-color-neutral-1000); /** Used for the background of a selected action in the active state. */
|
|
740
726
|
--gl-action-neutral-foreground-color-default: var(--gl-color-neutral-900); /** Used for the foreground of a neutral action in the default state. */
|
|
741
|
-
--gl-action-neutral-background-color-
|
|
727
|
+
--gl-action-neutral-background-color-default: var(--gl-color-alpha-0); /** Used for the background of a neutral action in the default state. */
|
|
728
|
+
--gl-action-neutral-background-color-hover: var(--gl-color-alpha-dark-6); /** Used for the background of a neutral action in the hover state. */
|
|
729
|
+
--gl-action-neutral-background-color-active: var(--gl-color-alpha-dark-16); /** Used for the background of a neutral action in the active state. */
|
|
742
730
|
--gl-action-neutral-border-color-default: var(--gl-color-alpha-0); /** Used for the border of a neutral action in the default state. */
|
|
743
|
-
--gl-action-confirm-foreground-color-default: var(--gl-color-
|
|
744
|
-
--gl-action-confirm-foreground-color-hover: var(--gl-color-
|
|
745
|
-
--gl-action-confirm-foreground-color-active: var(--gl-color-
|
|
746
|
-
--gl-action-confirm-background-color-
|
|
731
|
+
--gl-action-confirm-foreground-color-default: var(--gl-color-neutral-800); /** Used for the foreground of a confirm (positive) action in the default state. */
|
|
732
|
+
--gl-action-confirm-foreground-color-hover: var(--gl-color-neutral-950); /** Used for the foreground of a confirm (positive) action in the hover state. */
|
|
733
|
+
--gl-action-confirm-foreground-color-active: var(--gl-color-neutral-1000); /** Used for the foreground of a confirm (positive) action in the active state. */
|
|
734
|
+
--gl-action-confirm-background-color-default: var(--gl-color-alpha-0); /** Used for the background of a confirm (positive) action in the default state. */
|
|
735
|
+
--gl-action-confirm-background-color-hover: var(--gl-color-alpha-dark-6); /** Used for the background of a confirm (positive) action in the hover state. */
|
|
736
|
+
--gl-action-confirm-background-color-active: var(--gl-color-alpha-dark-16); /** Used for the background of a confirm (positive) action in the active state. */
|
|
747
737
|
--gl-action-confirm-border-color-default: var(--gl-color-alpha-0); /** Used for the border of a confirm action in the default state. */
|
|
748
738
|
--gl-action-danger-foreground-color-default: var(--gl-color-red-500); /** Used for the foreground of a danger (destructive) action in the default state. */
|
|
749
739
|
--gl-action-danger-foreground-color-hover: var(--gl-color-red-700); /** Used for the foreground of a danger (destructive) action in the hover state. */
|
|
@@ -771,16 +761,12 @@
|
|
|
771
761
|
--gl-control-background-color-disabled: var(--gl-color-neutral-10); /** Used for disabled form control (checkbox, input, radio button, textarea) background. */
|
|
772
762
|
--gl-control-background-color-concatenation: var(--gl-color-neutral-10); /** Used for the background of static content that prepends or appends a text input. */
|
|
773
763
|
--gl-control-background-color-readonly: var(--gl-color-alpha-dark-2); /** Used for the background of static content that prepends or appends a text input. */
|
|
774
|
-
--gl-control-background-color-selected-default: var(--gl-color-
|
|
775
|
-
--gl-control-background-color-selected-hover: var(--gl-color-
|
|
776
|
-
--gl-control-background-color-selected-focus: var(--gl-color-blue-700); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover. */
|
|
764
|
+
--gl-control-background-color-selected-default: var(--gl-color-neutral-800); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) background. */
|
|
765
|
+
--gl-control-background-color-selected-hover: var(--gl-color-neutral-950); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover. */
|
|
777
766
|
--gl-control-border-color-default: var(--gl-color-neutral-400); /** Used for form control (input, radio button, checkbox, textarea) default border. */
|
|
778
767
|
--gl-control-border-color-hover: var(--gl-color-neutral-600); /** Used for form control (input, radio button, checkbox, textarea) border on hover. */
|
|
779
768
|
--gl-control-border-color-focus: var(--gl-color-neutral-900); /** Used for form control (input, radio button, checkbox, textarea) border on focus. */
|
|
780
769
|
--gl-control-border-color-disabled: var(--gl-color-neutral-100); /** Used for disabled form control (input, radio button, checkbox, textarea) border. */
|
|
781
|
-
--gl-control-border-color-selected-default: var(--gl-color-blue-500); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border. */
|
|
782
|
-
--gl-control-border-color-selected-hover: var(--gl-color-blue-700); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover. */
|
|
783
|
-
--gl-control-border-color-selected-focus: var(--gl-color-blue-700); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus. */
|
|
784
770
|
--gl-control-placeholder-color: var(--gl-color-neutral-500); /** Used for placeholder text within inputs. */
|
|
785
771
|
--gl-control-indicator-color-selected: var(--gl-color-neutral-0); /** Used for checkbox and radio button state indicators. */
|
|
786
772
|
--gl-control-indicator-color-disabled: var(--gl-color-neutral-500); /** Used for disabled checkbox and radio button state indicators. */
|
|
@@ -958,19 +944,24 @@
|
|
|
958
944
|
--gl-button-default-primary-background-color-focus: var(--gl-button-default-primary-background-color-hover); /** Used for the background of an default primary button in the focus state. */
|
|
959
945
|
--gl-button-default-primary-border-color-focus: var(--gl-button-default-primary-border-color-hover); /** Used for the border of an default primary button in the focus state. */
|
|
960
946
|
--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. */
|
|
961
|
-
--gl-button-default-tertiary-background-color-
|
|
947
|
+
--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. */
|
|
948
|
+
--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. */
|
|
949
|
+
--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. */
|
|
962
950
|
--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. */
|
|
963
|
-
--gl-button-confirm-primary-
|
|
964
|
-
--gl-button-confirm-primary-background-color-
|
|
965
|
-
--gl-button-confirm-primary-
|
|
966
|
-
--gl-button-confirm-primary-border-color-focus: var(--gl-button-confirm-primary-border-color-
|
|
951
|
+
--gl-button-confirm-primary-foreground-color-hover: var(--gl-button-confirm-primary-foreground-color-default); /** Used for the foreground of a confirm (positive) primary button in the hover state. */
|
|
952
|
+
--gl-button-confirm-primary-background-color-focus: var(--gl-button-confirm-primary-background-color-hover); /** Used for the background of a confirm (positive) primary button in the focus state. */
|
|
953
|
+
--gl-button-confirm-primary-border-color-hover: var(--gl-button-confirm-primary-border-color-default); /** Used for the border of a confirm (positive) primary button in the hover state. */
|
|
954
|
+
--gl-button-confirm-primary-border-color-focus: var(--gl-button-confirm-primary-border-color-default); /** Used for the border of a confirm (positive) primary button in the focus state. */
|
|
955
|
+
--gl-button-confirm-primary-border-color-active: var(--gl-button-confirm-primary-border-color-default); /** Used for the border of a confirm (positive) primary button in the active state. */
|
|
967
956
|
--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. */
|
|
968
957
|
--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. */
|
|
969
958
|
--gl-button-confirm-secondary-border-color-focus: var(--gl-button-confirm-secondary-border-color-hover); /** Used for the border of an outlined confirm (positive) button in the focus state. */
|
|
970
959
|
--gl-button-confirm-tertiary-foreground-color-default: var(--gl-action-confirm-foreground-color-default); /** Used for the foreground of a borderless, tertiary confirm (positive) button in the default state. */
|
|
971
960
|
--gl-button-confirm-tertiary-foreground-color-hover: var(--gl-action-confirm-foreground-color-hover); /** Used for the foreground of a borderless, tertiary confirm (positive) button in the hover state. */
|
|
972
961
|
--gl-button-confirm-tertiary-foreground-color-active: var(--gl-action-confirm-foreground-color-active); /** Used for the foreground of a borderless, tertiary confirm (positive) button in the active state. */
|
|
973
|
-
--gl-button-confirm-tertiary-background-color-
|
|
962
|
+
--gl-button-confirm-tertiary-background-color-default: var(--gl-action-confirm-background-color-default); /** Used for the background of a borderless, tertiary confirm (positive) button in the default state. */
|
|
963
|
+
--gl-button-confirm-tertiary-background-color-hover: var(--gl-action-confirm-background-color-hover); /** Used for the background of a borderless, tertiary confirm (positive) button in the hover state. */
|
|
964
|
+
--gl-button-confirm-tertiary-background-color-active: var(--gl-action-confirm-background-color-active); /** Used for the background of a borderless, tertiary confirm (positive) button in the active state. */
|
|
974
965
|
--gl-button-confirm-tertiary-border-color-default: var(--gl-action-confirm-border-color-default); /** Used for the border of a borderless, tertiary confirm (positive) button in the default state. */
|
|
975
966
|
--gl-button-danger-primary-foreground-color-hover: var(--gl-button-danger-primary-foreground-color-default); /** Used for the foreground of a danger (destructive) primary button in the hover state. */
|
|
976
967
|
--gl-button-danger-primary-foreground-color-focus: var(--gl-button-danger-primary-foreground-color-default); /** Used for the foreground of a danger (destructive) primary button in the focus state. */
|
|
@@ -1005,13 +996,15 @@
|
|
|
1005
996
|
--gl-dropdown-option-text-color-disabled: var(--gl-action-disabled-foreground-color); /** Used for the text of a dropdown option in the disabled state. */
|
|
1006
997
|
--gl-dropdown-option-indicator-color-selected-default: var(--gl-control-background-color-selected-default); /** Used for the dropdown selected option indicator in the default state. */
|
|
1007
998
|
--gl-dropdown-option-indicator-color-selected-hover: var(--gl-control-background-color-selected-hover); /** Used for the dropdown selected option indicator in the hover state. */
|
|
1008
|
-
--gl-dropdown-option-
|
|
1009
|
-
--gl-dropdown-option-
|
|
1010
|
-
--gl-dropdown-option-background-color-unselected-
|
|
999
|
+
--gl-dropdown-option-background-color-unselected-default: var(--gl-action-neutral-background-color-default); /** Used for the background of an unselected dropdown option in the default state. */
|
|
1000
|
+
--gl-dropdown-option-background-color-unselected-hover: var(--gl-action-neutral-background-color-hover); /** Used for the background of an unselected dropdown option in the hover state. */
|
|
1001
|
+
--gl-dropdown-option-background-color-unselected-active: var(--gl-action-neutral-background-color-active); /** Used for the background of an unselected dropdown option in the active state. */
|
|
1011
1002
|
--gl-dropdown-option-background-color-selected-focus: var(--gl-dropdown-option-background-color-selected-hover); /** Used for the background of a selected dropdown option in the focus state. */
|
|
1012
1003
|
--gl-modal-border-radius: var(--gl-border-radius-2xl); /** Used for modal border radius. */
|
|
1013
1004
|
--gl-nav-item-foreground-color-default: var(--gl-action-neutral-foreground-color-default); /** Used for the foreground of a default navigation item in the default state. */
|
|
1014
|
-
--gl-nav-item-background-color-
|
|
1005
|
+
--gl-nav-item-background-color-default: var(--gl-action-neutral-background-color-default); /** Used for the background of a default navigation item in the default state. */
|
|
1006
|
+
--gl-nav-item-background-color-hover: var(--gl-action-neutral-background-color-hover); /** Used for the background of a default navigation item in the hover state. */
|
|
1007
|
+
--gl-nav-item-background-color-active: var(--gl-action-neutral-background-color-active); /** Used for the background of a default navigation item in the active state. */
|
|
1015
1008
|
--gl-nav-item-selected-foreground-color-default: var(--gl-action-selected-foreground-color-default); /** Used for the foreground of a selected navigation item in the default state. */
|
|
1016
1009
|
--gl-nav-item-selected-background-color-default: var(--gl-action-selected-background-color-default); /** Used for the background of a selected navigation item in the default state. */
|
|
1017
1010
|
--gl-nav-item-selected-background-color-hover: var(--gl-action-selected-background-color-hover); /** Used for the background of a selected navigation item in the hover state. */
|
|
@@ -1022,6 +1015,14 @@
|
|
|
1022
1015
|
--gl-progress-bar-indicator-color-danger: var(--gl-status-danger-icon-color); /** Used for the indicator color for the danger progress-bar variant. */
|
|
1023
1016
|
--gl-table-row-background-color-hover: var(--gl-highlight-target-background-color); /** Used for the background of a table row in hover state. */
|
|
1024
1017
|
--gl-table-sorting-icon-color: var(--gl-text-color-heading); /** Used for the color of the sorting icons in the column headers. */
|
|
1018
|
+
--gl-toggle-switch-track-color-unchecked-default: var(--gl-control-border-color-default); /** Used for the track color of an unchecked toggle switch in the default state. */
|
|
1019
|
+
--gl-toggle-switch-track-color-unchecked-hover: var(--gl-control-border-color-hover); /** Used for the track color of an unchecked toggle switch in the hover state. */
|
|
1020
|
+
--gl-toggle-switch-track-color-unchecked-focus: var(--gl-control-border-color-focus); /** Used for the track color of an unchecked toggle switch in the focus state. */
|
|
1021
|
+
--gl-toggle-switch-track-color-unchecked-active: var(--gl-control-border-color-focus); /** Used for the track color of an unchecked toggle switch in the active state. */
|
|
1022
|
+
--gl-toggle-switch-track-color-checked-focus: var(--gl-toggle-switch-track-color-checked-hover); /** Used for the track color of a checked toggle switch in the focus state. */
|
|
1023
|
+
--gl-toggle-switch-background-color-unchecked-default: var(--gl-control-indicator-color-selected); /** Used for the background color of the unchecked toggle switch thumb in the default state. */
|
|
1024
|
+
--gl-toggle-switch-background-color-checked-default: var(--gl-action-strong-confirm-foreground-color-default); /** Used for the background color of the checked toggle switch thumb in the default state. */
|
|
1025
|
+
--gl-toggle-switch-background-color-disabled: var(--gl-action-disabled-foreground-color); /** Used for the background color of the toggle switch thumb in the disabled state. */
|
|
1025
1026
|
--gl-toggle-switch-icon-color-unchecked-default: var(--gl-action-strong-neutral-background-color-default); /** Used for the icon color of an unchecked toggle switch in the default state. */
|
|
1026
1027
|
--gl-toggle-switch-icon-color-unchecked-hover: var(--gl-action-strong-neutral-background-color-hover); /** Used for the icon color of an unchecked toggle switch in the hover state. */
|
|
1027
1028
|
--gl-toggle-switch-icon-color-unchecked-active: var(--gl-action-strong-neutral-background-color-active); /** Used for the icon color of an unchecked toggle switch in the active state. */
|
|
@@ -1039,10 +1040,12 @@
|
|
|
1039
1040
|
--gl-action-neutral-foreground-color-hover: var(--gl-action-neutral-foreground-color-default); /** Used for the foreground of a neutral action in the hover state. */
|
|
1040
1041
|
--gl-action-neutral-foreground-color-focus: var(--gl-action-neutral-foreground-color-default); /** Used for the foreground of a neutral action in the focus state. */
|
|
1041
1042
|
--gl-action-neutral-foreground-color-active: var(--gl-action-neutral-foreground-color-default); /** Used for the foreground of a neutral action in the active state. */
|
|
1043
|
+
--gl-action-neutral-background-color-focus: var(--gl-action-neutral-background-color-hover); /** Used for the background of a neutral action in the focus state. */
|
|
1042
1044
|
--gl-action-neutral-border-color-hover: var(--gl-action-neutral-border-color-default); /** Used for the border of a neutral action in the hover state. */
|
|
1043
1045
|
--gl-action-neutral-border-color-focus: var(--gl-action-neutral-border-color-default); /** Used for the border of a neutral action in the focus state. */
|
|
1044
1046
|
--gl-action-neutral-border-color-active: var(--gl-action-neutral-border-color-default); /** Used for the border of a neutral action in the active state. */
|
|
1045
1047
|
--gl-action-confirm-foreground-color-focus: var(--gl-action-confirm-foreground-color-hover); /** Used for the foreground of a confirm (positive) action in the focus state. */
|
|
1048
|
+
--gl-action-confirm-background-color-focus: var(--gl-action-confirm-background-color-hover); /** Used for the background of a confirm (positive) action in the focus state. */
|
|
1046
1049
|
--gl-action-confirm-border-color-hover: var(--gl-action-confirm-border-color-default); /** Used for the border of a confirm action in the hover state. */
|
|
1047
1050
|
--gl-action-confirm-border-color-focus: var(--gl-action-confirm-border-color-default); /** Used for the border of a confirm action in the focus state. */
|
|
1048
1051
|
--gl-action-confirm-border-color-active: var(--gl-action-confirm-border-color-default); /** Used for the border of a confirm action in the active state. */
|
|
@@ -1056,7 +1059,10 @@
|
|
|
1056
1059
|
--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. */
|
|
1057
1060
|
--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. */
|
|
1058
1061
|
--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. */
|
|
1062
|
+
--gl-control-background-color-selected-focus: var(--gl-control-background-color-selected-hover); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) background on focus. */
|
|
1059
1063
|
--gl-control-border-color-error: var(--gl-feedback-danger-border-color); /** Used for invalid form control (input, textarea) border. */
|
|
1064
|
+
--gl-control-border-color-selected-default: var(--gl-control-background-color-selected-default); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border. */
|
|
1065
|
+
--gl-control-border-color-selected-hover: var(--gl-control-background-color-selected-hover); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover. */
|
|
1060
1066
|
--gl-control-border-radius: var(--gl-border-radius-lg); /** Used for form control (input, radio button, checkbox, textarea) default border radius. */
|
|
1061
1067
|
--gl-control-text-color-error: var(--gl-text-color-danger); /** Used for the helper text when the input is invalid. */
|
|
1062
1068
|
--gl-control-text-color-valid: var(--gl-text-color-success); /** Used for the helper text when the input is valid. */
|
|
@@ -1185,12 +1191,13 @@
|
|
|
1185
1191
|
--gl-button-default-tertiary-foreground-color-hover: var(--gl-action-neutral-foreground-color-hover); /** Used for the foreground of a default borderless, tertiary button in the hover state. */
|
|
1186
1192
|
--gl-button-default-tertiary-foreground-color-focus: var(--gl-action-neutral-foreground-color-focus); /** Used for the foreground of a default borderless, tertiary button in the focus state. */
|
|
1187
1193
|
--gl-button-default-tertiary-foreground-color-active: var(--gl-action-neutral-foreground-color-active); /** Used for the foreground of a default borderless, tertiary button in the active state. */
|
|
1194
|
+
--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. */
|
|
1188
1195
|
--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. */
|
|
1189
1196
|
--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. */
|
|
1190
1197
|
--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. */
|
|
1191
|
-
--gl-button-confirm-primary-foreground-color-
|
|
1192
|
-
--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. */
|
|
1198
|
+
--gl-button-confirm-primary-foreground-color-focus: var(--gl-button-confirm-primary-foreground-color-hover); /** Used for the foreground of a confirm (positive) primary button in the focus state. */
|
|
1193
1199
|
--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. */
|
|
1200
|
+
--gl-button-confirm-tertiary-background-color-focus: var(--gl-action-confirm-background-color-focus); /** Used for the background of a borderless, tertiary confirm (positive) button in the focus state. */
|
|
1194
1201
|
--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. */
|
|
1195
1202
|
--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. */
|
|
1196
1203
|
--gl-button-confirm-tertiary-border-color-active: var(--gl-action-confirm-border-color-active); /** Used for the border of a borderless, tertiary confirm (positive) button in the active state. */
|
|
@@ -1210,12 +1217,21 @@
|
|
|
1210
1217
|
--gl-dropdown-option-text-color-hover: var(--gl-action-neutral-foreground-color-hover); /** Used for the text of a dropdown option in the hover state. */
|
|
1211
1218
|
--gl-dropdown-option-text-color-focus: var(--gl-action-neutral-foreground-color-focus); /** Used for the text of a dropdown option in the focus state. */
|
|
1212
1219
|
--gl-dropdown-option-text-color-active: var(--gl-action-neutral-foreground-color-active); /** Used for the text of a dropdown option in the active state. */
|
|
1220
|
+
--gl-dropdown-option-indicator-color-selected-focus: var(--gl-control-background-color-selected-focus); /** Used for the dropdown selected option indicator in the focus state. */
|
|
1221
|
+
--gl-dropdown-option-indicator-color-selected-active: var(--gl-control-background-color-selected-focus); /** Used for the dropdown selected option indicator in the active state. */
|
|
1222
|
+
--gl-dropdown-option-background-color-unselected-focus: var(--gl-action-neutral-background-color-focus); /** Used for the background of an unselected dropdown option in the focus state. */
|
|
1213
1223
|
--gl-nav-item-border-radius: var(--gl-action-border-radius); /** Used for the border radius of a navigation item */
|
|
1214
1224
|
--gl-nav-item-foreground-color-hover: var(--gl-action-neutral-foreground-color-hover); /** Used for the foreground of a default navigation item in the hover state. */
|
|
1215
1225
|
--gl-nav-item-foreground-color-focus: var(--gl-action-neutral-foreground-color-focus); /** Used for the foreground of a default navigation item in the focus state. */
|
|
1216
1226
|
--gl-nav-item-foreground-color-active: var(--gl-action-neutral-foreground-color-active); /** Used for the foreground of a default navigation item in the active state. */
|
|
1227
|
+
--gl-nav-item-background-color-focus: var(--gl-action-neutral-background-color-focus); /** Used for the background of a default navigation item in the focus state. */
|
|
1217
1228
|
--gl-nav-item-selected-foreground-color-hover: var(--gl-action-selected-foreground-color-hover); /** Used for the foreground of a selected navigation item in the hover state. */
|
|
1218
1229
|
--gl-nav-item-selected-background-color-focus: var(--gl-action-selected-background-color-focus); /** Used for the background of a selected navigation item in the focus state. */
|
|
1230
|
+
--gl-tab-selected-indicator-color-default: var(--gl-action-selected-border-color-active); /** Used for the selected indicator of a tab. */
|
|
1231
|
+
--gl-toggle-switch-background-color-unchecked-hover: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the hover state. */
|
|
1232
|
+
--gl-toggle-switch-background-color-unchecked-focus: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the focus state. */
|
|
1233
|
+
--gl-toggle-switch-background-color-unchecked-active: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the active state. */
|
|
1234
|
+
--gl-toggle-switch-background-color-checked-hover: var(--gl-action-strong-confirm-foreground-color-hover); /** Used for the background color of the checked toggle switch thumb in the hover state. */
|
|
1219
1235
|
--gl-toggle-switch-icon-color-unchecked-focus: var(--gl-action-strong-neutral-background-color-focus); /** Used for the icon color of an unchecked toggle switch in the focus state. */
|
|
1220
1236
|
--gl-toggle-switch-icon-color-checked-focus: var(--gl-action-strong-confirm-background-color-focus); /** Used for the icon color of a checked toggle switch in the focus state. */
|
|
1221
1237
|
--gl-token-border-radius: var(--gl-border-radius-default); /** Used for token border radius. */
|
|
@@ -1225,13 +1241,15 @@
|
|
|
1225
1241
|
--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. */
|
|
1226
1242
|
--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. */
|
|
1227
1243
|
--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. */
|
|
1228
|
-
--gl-
|
|
1244
|
+
--gl-control-border-color-selected-focus: var(--gl-control-background-color-selected-focus); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus. */
|
|
1245
|
+
--gl-button-confirm-primary-foreground-color-active: var(--gl-button-confirm-primary-foreground-color-focus); /** Used for the foreground of a confirm (positive) primary button in the active state. */
|
|
1229
1246
|
--gl-nav-item-selected-foreground-color-focus: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected navigation item in the focus state. */
|
|
1247
|
+
--gl-toggle-switch-background-color-checked-focus: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the background color of the checked toggle switch thumb in the focus state. */
|
|
1230
1248
|
--gl-action-selected-foreground-color-active: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected action in the active state. */
|
|
1231
1249
|
--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. */
|
|
1232
1250
|
--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. */
|
|
1233
1251
|
--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. */
|
|
1234
1252
|
--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. */
|
|
1235
|
-
--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. */
|
|
1236
1253
|
--gl-nav-item-selected-foreground-color-active: var(--gl-action-selected-foreground-color-active); /** Used for the foreground of a selected navigation item in the active state. */
|
|
1254
|
+
--gl-toggle-switch-background-color-checked-active: var(--gl-action-strong-confirm-foreground-color-active); /** Used for the background color of the checked toggle switch thumb in the active state. */
|
|
1237
1255
|
}
|