@gitlab/ui 138.3.0 → 138.5.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/dashboards/dashboard_panel/dashboard_panel.js +1 -1
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +10 -7
- package/dist/tokens/build/js/tokens.js +5 -2
- package/package.json +4 -4
- package/src/components/base/form/form_checkbox/form_checkbox.scss +3 -3
- package/src/components/base/nav_item/nav_item.scss +1 -1
- package/src/components/dashboards/dashboard_panel/dashboard_panel.vue +8 -0
- package/src/scss/themes.scss +78 -5
- package/src/tokens/build/css/tokens.css +6 -3
- package/src/tokens/build/css/tokens.dark.css +8 -5
- package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +2 -2
- package/src/tokens/build/docs/tokens-tailwind-docs.json +2 -2
- package/src/tokens/build/figma/mode.dark.json +36 -5
- package/src/tokens/build/figma/mode.json +34 -3
- package/src/tokens/build/js/tokens.dark.js +9 -6
- package/src/tokens/build/js/tokens.js +4 -1
- package/src/tokens/build/json/tokens.dark.json +115 -12
- package/src/tokens/build/json/tokens.json +108 -5
- package/src/tokens/build/scss/_tokens.dark.scss +8 -5
- package/src/tokens/build/scss/_tokens.scss +6 -3
- package/src/tokens/build/scss/_tokens_custom_properties.scss +3 -0
- package/src/tokens/contextual/nav.tokens.json +18 -6
- package/src/tokens/semantic/control.tokens.json +23 -5
package/src/scss/themes.scss
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
--gl-color-neutral-800: #3f3546;
|
|
32
32
|
--gl-color-neutral-900: #2e2434;
|
|
33
33
|
--gl-color-neutral-950: #1d1424;
|
|
34
|
-
--gl-color-neutral-1000: #
|
|
34
|
+
--gl-color-neutral-1000: #120a18;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
:root.ui-blue,
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
--gl-color-neutral-800: #333945;
|
|
50
50
|
--gl-color-neutral-900: #222733;
|
|
51
51
|
--gl-color-neutral-950: #121722;
|
|
52
|
-
--gl-color-neutral-1000: #
|
|
52
|
+
--gl-color-neutral-1000: #090d17;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
:root.ui-green,
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
--gl-color-neutral-800: #313b38;
|
|
68
68
|
--gl-color-neutral-900: #1f2a26;
|
|
69
69
|
--gl-color-neutral-950: #101916;
|
|
70
|
-
--gl-color-neutral-1000: #
|
|
70
|
+
--gl-color-neutral-1000: #060f0c;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
:root.ui-red,
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
--gl-color-neutral-800: #423539;
|
|
86
86
|
--gl-color-neutral-900: #312428;
|
|
87
87
|
--gl-color-neutral-950: #201418;
|
|
88
|
-
--gl-color-neutral-1000: #
|
|
88
|
+
--gl-color-neutral-1000: #150a0e;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
:root.ui-gray,
|
|
@@ -103,5 +103,78 @@
|
|
|
103
103
|
--gl-color-neutral-800: #383839;
|
|
104
104
|
--gl-color-neutral-900: #272727;
|
|
105
105
|
--gl-color-neutral-950: #171717;
|
|
106
|
-
--gl-color-neutral-1000: #
|
|
106
|
+
--gl-color-neutral-1000: #0d0d0d;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// Theme overrides. Hand-maintained: keep these when regenerating the
|
|
110
|
+
// ramps above.
|
|
111
|
+
|
|
112
|
+
:root.ui-indigo,
|
|
113
|
+
.ui-indigo-scope {
|
|
114
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-purple-500);
|
|
115
|
+
--gl-nav-item-foreground-color-default: var(--gl-color-purple-800);
|
|
116
|
+
--gl-nav-item-foreground-color-hover: var(--gl-color-purple-950);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:root.ui-indigo.gl-dark,
|
|
120
|
+
.ui-indigo-scope.gl-dark-scope {
|
|
121
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-purple-300);
|
|
122
|
+
--gl-nav-item-foreground-color-default: var(--gl-color-purple-200);
|
|
123
|
+
--gl-nav-item-foreground-color-hover: var(--gl-color-purple-50);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:root.ui-blue,
|
|
127
|
+
.ui-blue-scope {
|
|
128
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-blue-500);
|
|
129
|
+
--gl-nav-item-foreground-color-default: var(--gl-color-blue-800);
|
|
130
|
+
--gl-nav-item-foreground-color-hover: var(--gl-color-blue-950);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
:root.ui-blue.gl-dark,
|
|
134
|
+
.ui-blue-scope.gl-dark-scope {
|
|
135
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-blue-300);
|
|
136
|
+
--gl-nav-item-foreground-color-default: var(--gl-color-blue-200);
|
|
137
|
+
--gl-nav-item-foreground-color-hover: var(--gl-color-blue-50);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
:root.ui-green,
|
|
141
|
+
.ui-green-scope {
|
|
142
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-green-500);
|
|
143
|
+
--gl-nav-item-foreground-color-default: var(--gl-color-green-800);
|
|
144
|
+
--gl-nav-item-foreground-color-hover: var(--gl-color-green-950);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
:root.ui-green.gl-dark,
|
|
148
|
+
.ui-green-scope.gl-dark-scope {
|
|
149
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-green-300);
|
|
150
|
+
--gl-nav-item-foreground-color-default: var(--gl-color-green-200);
|
|
151
|
+
--gl-nav-item-foreground-color-hover: var(--gl-color-green-50);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
:root.ui-red,
|
|
155
|
+
.ui-red-scope {
|
|
156
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-red-500);
|
|
157
|
+
--gl-nav-item-foreground-color-default: var(--gl-color-red-800);
|
|
158
|
+
--gl-nav-item-foreground-color-hover: var(--gl-color-red-950);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
:root.ui-red.gl-dark,
|
|
162
|
+
.ui-red-scope.gl-dark-scope {
|
|
163
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-red-300);
|
|
164
|
+
--gl-nav-item-foreground-color-default: var(--gl-color-red-200);
|
|
165
|
+
--gl-nav-item-foreground-color-hover: var(--gl-color-red-50);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
:root.ui-gray,
|
|
169
|
+
.ui-gray-scope {
|
|
170
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-neutral-500);
|
|
171
|
+
--gl-nav-item-foreground-color-default: var(--gl-color-neutral-800);
|
|
172
|
+
--gl-nav-item-foreground-color-hover: var(--gl-color-neutral-950);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
:root.ui-gray.gl-dark,
|
|
176
|
+
.ui-gray-scope.gl-dark-scope {
|
|
177
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-neutral-300);
|
|
178
|
+
--gl-nav-item-foreground-color-default: var(--gl-color-neutral-200);
|
|
179
|
+
--gl-nav-item-foreground-color-hover: var(--gl-color-neutral-50);
|
|
107
180
|
}
|
|
@@ -642,8 +642,8 @@
|
|
|
642
642
|
--gl-nav-item-background-color-hover: var(--gl-color-neutral-100); /** Used for the background of a default navigation item in the hover state. */
|
|
643
643
|
--gl-nav-item-background-color-active: var(--gl-color-neutral-200); /** Used for the background of a default navigation item in the active state. */
|
|
644
644
|
--gl-nav-item-selected-font-weight: var(--gl-font-weight-bold); /** Used for the font weight of a selected navigation item. */
|
|
645
|
-
--gl-nav-item-selected-foreground-color-default: var(--gl-color-neutral-950); /** Used for the foreground of a selected navigation item in the default state. */
|
|
646
645
|
--gl-nav-item-selected-background-color-default: var(--gl-color-neutral-100); /** Used for the background of a selected navigation item in the default state. */
|
|
646
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-orange-500); /** Used for the indicator beside a selected navigation item. Tinted themes override it in src/scss/themes.scss. */
|
|
647
647
|
--gl-progress-bar-track-color: var(--gl-color-neutral-200); /** Used for the track color for all progress-bar variants. */
|
|
648
648
|
--gl-skeleton-loader-background-color: var(--gl-color-neutral-100); /** Used for the skeleton loader background color. */
|
|
649
649
|
--gl-skeleton-loader-shimmer-color: var(--gl-color-neutral-50); /** Used for the animated shimmer effect in a skeleton loader. */
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
--gl-background-color-section: var(--gl-color-neutral-0); /** Used for containers, like a card header, that are visually distinct from the default page background only when necessary to maintain affordance and hierarchy in different modes. */
|
|
767
767
|
--gl-background-color-overlay: var(--gl-color-alpha-dark-24); /** Used for an overlay that covers other content. */
|
|
768
768
|
--gl-control-background-color-default: var(--gl-color-neutral-0); /** Used for form control (input, radio button, checkbox, textarea) default background. */
|
|
769
|
-
--gl-control-background-color-disabled: var(--gl-color-neutral-10); /** Used for disabled form control (
|
|
769
|
+
--gl-control-background-color-disabled: var(--gl-color-neutral-10); /** Used for disabled form control (input, textarea) background. */
|
|
770
770
|
--gl-control-background-color-concatenation: var(--gl-color-neutral-10); /** Used for the background of static content that prepends or appends a text input. */
|
|
771
771
|
--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. */
|
|
772
772
|
--gl-control-background-color-selected-default: var(--gl-color-neutral-800); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) background. */
|
|
@@ -777,7 +777,6 @@
|
|
|
777
777
|
--gl-control-border-color-disabled: var(--gl-color-neutral-100); /** Used for disabled form control (input, radio button, checkbox, textarea) border. */
|
|
778
778
|
--gl-control-placeholder-color: var(--gl-color-neutral-500); /** Used for placeholder text within inputs. */
|
|
779
779
|
--gl-control-indicator-color-selected: var(--gl-color-neutral-0); /** Used for checkbox and radio button state indicators. */
|
|
780
|
-
--gl-control-indicator-color-disabled: var(--gl-color-neutral-500); /** Used for disabled checkbox and radio button state indicators. */
|
|
781
780
|
--gl-feedback-strong-background-color: var(--gl-color-neutral-800); /** Used for a background associated with strong feedback like a tooltip or toast message. */
|
|
782
781
|
--gl-feedback-strong-border-color: var(--gl-color-neutral-1000); /** Used for the border associated with strong feedback. */
|
|
783
782
|
--gl-feedback-strong-text-color: var(--gl-color-neutral-0); /** Used for text on a strong feedback background. */
|
|
@@ -1016,6 +1015,7 @@
|
|
|
1016
1015
|
--gl-modal-border-radius: var(--gl-border-radius-2xl); /** Used for modal border radius. */
|
|
1017
1016
|
--gl-nav-item-foreground-color-focus: var(--gl-nav-item-foreground-color-hover); /** Used for the foreground of a default navigation item in the focus state. */
|
|
1018
1017
|
--gl-nav-item-background-color-focus: var(--gl-nav-item-background-color-hover); /** Used for the background of a default navigation item in the focus state. */
|
|
1018
|
+
--gl-nav-item-selected-foreground-color-default: var(--gl-nav-item-foreground-color-hover); /** Used for the foreground of a selected navigation item in the default state. */
|
|
1019
1019
|
--gl-nav-item-selected-foreground-color-hover: var(--gl-nav-item-foreground-color-hover); /** Used for the foreground of a selected navigation item in the hover state. */
|
|
1020
1020
|
--gl-nav-item-selected-background-color-hover: var(--gl-nav-item-background-color-hover); /** Used for the background of a selected navigation item in the hover state. */
|
|
1021
1021
|
--gl-nav-item-selected-background-color-active: var(--gl-nav-item-background-color-active); /** Used for the background of a selected navigation item in the active state. */
|
|
@@ -1075,12 +1075,14 @@
|
|
|
1075
1075
|
--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. */
|
|
1076
1076
|
--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. */
|
|
1077
1077
|
--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. */
|
|
1078
|
+
--gl-control-background-color-selected-disabled: var(--gl-action-selected-background-color-disabled); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) background when disabled. */
|
|
1078
1079
|
--gl-control-border-color-error: var(--gl-feedback-danger-border-color); /** Used for invalid form control (input, textarea) border. */
|
|
1079
1080
|
--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. */
|
|
1080
1081
|
--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. */
|
|
1081
1082
|
--gl-control-border-radius: var(--gl-border-radius-lg); /** Used for form control (input, radio button, checkbox, textarea) default border radius. */
|
|
1082
1083
|
--gl-control-text-color-error: var(--gl-text-color-danger); /** Used for the helper text when the input is invalid. */
|
|
1083
1084
|
--gl-control-text-color-valid: var(--gl-text-color-success); /** Used for the helper text when the input is valid. */
|
|
1085
|
+
--gl-control-indicator-color-disabled: var(--gl-control-indicator-color-selected); /** Used for disabled checkbox and radio button state indicators. */
|
|
1084
1086
|
--gl-feedback-border-radius: var(--gl-border-radius-lg); /** Used for the border radius of a feedback element. */
|
|
1085
1087
|
--gl-focus-ring-inner-color: var(--gl-background-color-default); /** Used for the inner neutral portion of the focus ring. */
|
|
1086
1088
|
--gl-icon-color-default: var(--gl-text-color-default); /** Used for the default icon color. Can be paired with default text. */
|
|
@@ -1263,6 +1265,7 @@
|
|
|
1263
1265
|
--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. */
|
|
1264
1266
|
--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. */
|
|
1265
1267
|
--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. */
|
|
1268
|
+
--gl-control-border-color-selected-disabled: var(--gl-control-background-color-selected-disabled); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border when disabled. */
|
|
1266
1269
|
--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. */
|
|
1267
1270
|
--gl-nav-item-selected-foreground-color-active: var(--gl-nav-item-foreground-color-active); /** Used for the foreground of a selected navigation item in the active state. */
|
|
1268
1271
|
--gl-toggle-switch-track-color-unchecked-focus: var(--gl-toggle-switch-track-color-unchecked-hover); /** Used for the track color of an unchecked toggle switch in the focus state. The track is deliberately unchanged from the default state; focus is carried by the focus ring, the track border and the thumb size. */
|
|
@@ -657,11 +657,11 @@
|
|
|
657
657
|
--gl-nav-item-foreground-color-default: var(--gl-color-neutral-200); /** Used for the foreground of a default navigation item in the default state. */
|
|
658
658
|
--gl-nav-item-foreground-color-hover: var(--gl-color-neutral-0); /** Used for the foreground of a default navigation item in the hover state. */
|
|
659
659
|
--gl-nav-item-background-color-default: var(--gl-color-alpha-0); /** Used for the background of a default navigation item in the default state. */
|
|
660
|
-
--gl-nav-item-background-color-hover: var(--gl-color-neutral-
|
|
660
|
+
--gl-nav-item-background-color-hover: var(--gl-color-neutral-800); /** Used for the background of a default navigation item in the hover state. */
|
|
661
661
|
--gl-nav-item-background-color-active: var(--gl-color-neutral-950); /** Used for the background of a default navigation item in the active state. */
|
|
662
662
|
--gl-nav-item-selected-font-weight: var(--gl-font-weight-bold); /** Used for the font weight of a selected navigation item. */
|
|
663
|
-
--gl-nav-item-selected-
|
|
664
|
-
--gl-nav-item-selected-
|
|
663
|
+
--gl-nav-item-selected-background-color-default: var(--gl-color-neutral-800); /** Used for the background of a selected navigation item in the default state. */
|
|
664
|
+
--gl-nav-item-selected-indicator-color: var(--gl-color-orange-300); /** Used for the indicator beside a selected navigation item. Tinted themes override it in src/scss/themes.scss. */
|
|
665
665
|
--gl-progress-bar-track-color: var(--gl-color-neutral-700); /** Used for the track color for all progress-bar variants. */
|
|
666
666
|
--gl-skeleton-loader-background-color: var(--gl-color-neutral-800); /** Used for the skeleton loader background color. */
|
|
667
667
|
--gl-skeleton-loader-shimmer-color: var(--gl-color-neutral-700); /** Used for the animated shimmer effect in a skeleton loader. */
|
|
@@ -782,7 +782,7 @@
|
|
|
782
782
|
--gl-background-color-overlap: var(--gl-color-neutral-900); /** Used for components, like tooltips and drawers, and content, like a sticky header, that overlap other content. */
|
|
783
783
|
--gl-background-color-section: var(--gl-color-neutral-800); /** Used for containers, like a card header, that are visually distinct from the default page background only when necessary to maintain affordance and hierarchy in different modes. */
|
|
784
784
|
--gl-control-background-color-default: var(--gl-color-alpha-dark-40); /** Used for form control (input, radio button, checkbox, textarea) default background. */
|
|
785
|
-
--gl-control-background-color-disabled: var(--gl-color-alpha-light-4); /** Used for disabled form control (
|
|
785
|
+
--gl-control-background-color-disabled: var(--gl-color-alpha-light-4); /** Used for disabled form control (input, textarea) background. */
|
|
786
786
|
--gl-control-background-color-concatenation: var(--gl-color-alpha-light-4); /** Used for the background of static content that prepends or appends a text input. */
|
|
787
787
|
--gl-control-background-color-readonly: var(--gl-color-alpha-light-8); /** Used for the background of static content that prepends or appends a text input. */
|
|
788
788
|
--gl-control-background-color-selected-default: var(--gl-color-neutral-50); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) background. */
|
|
@@ -793,7 +793,6 @@
|
|
|
793
793
|
--gl-control-border-color-disabled: var(--gl-color-neutral-800); /** Used for disabled form control (input, radio button, checkbox, textarea) border. */
|
|
794
794
|
--gl-control-placeholder-color: var(--gl-color-neutral-400); /** Used for placeholder text within inputs. */
|
|
795
795
|
--gl-control-indicator-color-selected: var(--gl-color-neutral-950); /** Used for checkbox and radio button state indicators. */
|
|
796
|
-
--gl-control-indicator-color-disabled: var(--gl-color-neutral-400); /** Used for disabled checkbox and radio button state indicators. */
|
|
797
796
|
--gl-feedback-strong-background-color: var(--gl-color-neutral-800); /** Used for a background associated with strong feedback like a tooltip or toast message. */
|
|
798
797
|
--gl-feedback-strong-border-color: var(--gl-color-neutral-300); /** Used for the border associated with strong feedback. */
|
|
799
798
|
--gl-feedback-strong-text-color: var(--gl-color-neutral-0); /** Used for text on a strong feedback background. */
|
|
@@ -1023,6 +1022,7 @@
|
|
|
1023
1022
|
--gl-modal-border-radius: var(--gl-border-radius-2xl); /** Used for modal border radius. */
|
|
1024
1023
|
--gl-nav-item-foreground-color-focus: var(--gl-nav-item-foreground-color-hover); /** Used for the foreground of a default navigation item in the focus state. */
|
|
1025
1024
|
--gl-nav-item-background-color-focus: var(--gl-nav-item-background-color-hover); /** Used for the background of a default navigation item in the focus state. */
|
|
1025
|
+
--gl-nav-item-selected-foreground-color-default: var(--gl-nav-item-foreground-color-hover); /** Used for the foreground of a selected navigation item in the default state. */
|
|
1026
1026
|
--gl-nav-item-selected-foreground-color-hover: var(--gl-nav-item-foreground-color-hover); /** Used for the foreground of a selected navigation item in the hover state. */
|
|
1027
1027
|
--gl-nav-item-selected-background-color-hover: var(--gl-nav-item-background-color-hover); /** Used for the background of a selected navigation item in the hover state. */
|
|
1028
1028
|
--gl-nav-item-selected-background-color-active: var(--gl-nav-item-background-color-active); /** Used for the background of a selected navigation item in the active state. */
|
|
@@ -1081,12 +1081,14 @@
|
|
|
1081
1081
|
--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. */
|
|
1082
1082
|
--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. */
|
|
1083
1083
|
--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. */
|
|
1084
|
+
--gl-control-background-color-selected-disabled: var(--gl-action-selected-background-color-disabled); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) background when disabled. */
|
|
1084
1085
|
--gl-control-border-color-error: var(--gl-feedback-danger-border-color); /** Used for invalid form control (input, textarea) border. */
|
|
1085
1086
|
--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. */
|
|
1086
1087
|
--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. */
|
|
1087
1088
|
--gl-control-border-radius: var(--gl-border-radius-lg); /** Used for form control (input, radio button, checkbox, textarea) default border radius. */
|
|
1088
1089
|
--gl-control-text-color-error: var(--gl-text-color-danger); /** Used for the helper text when the input is invalid. */
|
|
1089
1090
|
--gl-control-text-color-valid: var(--gl-text-color-success); /** Used for the helper text when the input is valid. */
|
|
1091
|
+
--gl-control-indicator-color-disabled: var(--gl-control-indicator-color-selected); /** Used for disabled checkbox and radio button state indicators. */
|
|
1090
1092
|
--gl-feedback-border-radius: var(--gl-border-radius-lg); /** Used for the border radius of a feedback element. */
|
|
1091
1093
|
--gl-focus-ring-inner-color: var(--gl-background-color-default); /** Used for the inner neutral portion of the focus ring. */
|
|
1092
1094
|
--gl-icon-color-default: var(--gl-text-color-default); /** Used for the default icon color. Can be paired with default text. */
|
|
@@ -1264,6 +1266,7 @@
|
|
|
1264
1266
|
--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. */
|
|
1265
1267
|
--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. */
|
|
1266
1268
|
--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. */
|
|
1269
|
+
--gl-control-border-color-selected-disabled: var(--gl-control-background-color-selected-disabled); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border when disabled. */
|
|
1267
1270
|
--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. */
|
|
1268
1271
|
--gl-nav-item-selected-foreground-color-active: var(--gl-nav-item-foreground-color-active); /** Used for the foreground of a selected navigation item in the active state. */
|
|
1269
1272
|
--gl-toggle-switch-track-color-unchecked-focus: var(--gl-toggle-switch-track-color-unchecked-hover); /** Used for the track color of an unchecked toggle switch in the focus state. The track is deliberately unchanged from the default state; focus is carried by the focus ring, the track border and the thumb size. */
|
|
@@ -5903,7 +5903,7 @@
|
|
|
5903
5903
|
"key": "{control.background.color.disabled}",
|
|
5904
5904
|
"$value": "rgba(255, 255, 255, 0.04)",
|
|
5905
5905
|
"$type": "color",
|
|
5906
|
-
"$description": "Used for disabled form control (
|
|
5906
|
+
"$description": "Used for disabled form control (input, textarea) background.",
|
|
5907
5907
|
"$extensions": {
|
|
5908
5908
|
"com.figma.scopes": [
|
|
5909
5909
|
"FRAME_FILL",
|
|
@@ -5915,7 +5915,7 @@
|
|
|
5915
5915
|
"original": {
|
|
5916
5916
|
"$value": "{color.alpha.light.4}",
|
|
5917
5917
|
"$type": "color",
|
|
5918
|
-
"$description": "Used for disabled form control (
|
|
5918
|
+
"$description": "Used for disabled form control (input, textarea) background.",
|
|
5919
5919
|
"$extensions": {
|
|
5920
5920
|
"com.figma.scopes": [
|
|
5921
5921
|
"FRAME_FILL",
|
|
@@ -5903,7 +5903,7 @@
|
|
|
5903
5903
|
"key": "{control.background.color.disabled}",
|
|
5904
5904
|
"$value": "#f7f7f5",
|
|
5905
5905
|
"$type": "color",
|
|
5906
|
-
"$description": "Used for disabled form control (
|
|
5906
|
+
"$description": "Used for disabled form control (input, textarea) background.",
|
|
5907
5907
|
"$extensions": {
|
|
5908
5908
|
"com.figma.scopes": [
|
|
5909
5909
|
"FRAME_FILL",
|
|
@@ -5915,7 +5915,7 @@
|
|
|
5915
5915
|
"original": {
|
|
5916
5916
|
"$value": "{color.neutral.10}",
|
|
5917
5917
|
"$type": "color",
|
|
5918
|
-
"$description": "Used for disabled form control (
|
|
5918
|
+
"$description": "Used for disabled form control (input, textarea) background.",
|
|
5919
5919
|
"$extensions": {
|
|
5920
5920
|
"com.figma.scopes": [
|
|
5921
5921
|
"FRAME_FILL",
|
|
@@ -4913,7 +4913,7 @@
|
|
|
4913
4913
|
}
|
|
4914
4914
|
},
|
|
4915
4915
|
"🔒/nav-item-background-color-hover": {
|
|
4916
|
-
"$value": "{color-neutral-
|
|
4916
|
+
"$value": "{color-neutral-800}",
|
|
4917
4917
|
"$type": "color",
|
|
4918
4918
|
"$description": "Used for the background of a default navigation item in the hover state.",
|
|
4919
4919
|
"$extensions": {
|
|
@@ -4953,7 +4953,7 @@
|
|
|
4953
4953
|
}
|
|
4954
4954
|
},
|
|
4955
4955
|
"🔒/nav-item-selected-foreground-color-default": {
|
|
4956
|
-
"$value": "{color-
|
|
4956
|
+
"$value": "{🔒/nav-item-foreground-color-hover}",
|
|
4957
4957
|
"$type": "color",
|
|
4958
4958
|
"$description": "Used for the foreground of a selected navigation item in the default state.",
|
|
4959
4959
|
"$extensions": {
|
|
@@ -4993,7 +4993,7 @@
|
|
|
4993
4993
|
}
|
|
4994
4994
|
},
|
|
4995
4995
|
"🔒/nav-item-selected-background-color-default": {
|
|
4996
|
-
"$value": "{color-neutral-
|
|
4996
|
+
"$value": "{color-neutral-800}",
|
|
4997
4997
|
"$type": "color",
|
|
4998
4998
|
"$description": "Used for the background of a selected navigation item in the default state.",
|
|
4999
4999
|
"$extensions": {
|
|
@@ -5032,6 +5032,16 @@
|
|
|
5032
5032
|
]
|
|
5033
5033
|
}
|
|
5034
5034
|
},
|
|
5035
|
+
"🔒/nav-item-selected-indicator-color": {
|
|
5036
|
+
"$value": "{color-orange-300}",
|
|
5037
|
+
"$type": "color",
|
|
5038
|
+
"$description": "Used for the indicator beside a selected navigation item. Tinted themes override it in src/scss/themes.scss.",
|
|
5039
|
+
"$extensions": {
|
|
5040
|
+
"com.figma.scopes": [
|
|
5041
|
+
"SHAPE_FILL"
|
|
5042
|
+
]
|
|
5043
|
+
}
|
|
5044
|
+
},
|
|
5035
5045
|
"🔒/progress-bar-indicator-color-default": {
|
|
5036
5046
|
"$value": "{status-info-icon-color}",
|
|
5037
5047
|
"$type": "color",
|
|
@@ -6608,7 +6618,7 @@
|
|
|
6608
6618
|
"control-background-color-disabled": {
|
|
6609
6619
|
"$value": "{color-alpha-light-4}",
|
|
6610
6620
|
"$type": "color",
|
|
6611
|
-
"$description": "Used for disabled form control (
|
|
6621
|
+
"$description": "Used for disabled form control (input, textarea) background.",
|
|
6612
6622
|
"$extensions": {
|
|
6613
6623
|
"com.figma.scopes": [
|
|
6614
6624
|
"FRAME_FILL",
|
|
@@ -6671,6 +6681,17 @@
|
|
|
6671
6681
|
]
|
|
6672
6682
|
}
|
|
6673
6683
|
},
|
|
6684
|
+
"control-background-color-selected-disabled": {
|
|
6685
|
+
"$value": "{action-selected-background-color-disabled}",
|
|
6686
|
+
"$type": "color",
|
|
6687
|
+
"$description": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background when disabled.",
|
|
6688
|
+
"$extensions": {
|
|
6689
|
+
"com.figma.scopes": [
|
|
6690
|
+
"FRAME_FILL",
|
|
6691
|
+
"SHAPE_FILL"
|
|
6692
|
+
]
|
|
6693
|
+
}
|
|
6694
|
+
},
|
|
6674
6695
|
"control-border-color-default": {
|
|
6675
6696
|
"$value": "{color-neutral-500}",
|
|
6676
6697
|
"$type": "color",
|
|
@@ -6751,6 +6772,16 @@
|
|
|
6751
6772
|
]
|
|
6752
6773
|
}
|
|
6753
6774
|
},
|
|
6775
|
+
"control-border-color-selected-disabled": {
|
|
6776
|
+
"$value": "{control-background-color-selected-disabled}",
|
|
6777
|
+
"$type": "color",
|
|
6778
|
+
"$description": "Used for checked and indeterminate (selected) form control (checkbox, radio button) border when disabled.",
|
|
6779
|
+
"$extensions": {
|
|
6780
|
+
"com.figma.scopes": [
|
|
6781
|
+
"STROKE_COLOR"
|
|
6782
|
+
]
|
|
6783
|
+
}
|
|
6784
|
+
},
|
|
6754
6785
|
"control-border-radius": {
|
|
6755
6786
|
"$value": "{border-radius-lg}",
|
|
6756
6787
|
"$type": "dimension",
|
|
@@ -6803,7 +6834,7 @@
|
|
|
6803
6834
|
}
|
|
6804
6835
|
},
|
|
6805
6836
|
"control-indicator-color-disabled": {
|
|
6806
|
-
"$value": "{color-
|
|
6837
|
+
"$value": "{control-indicator-color-selected}",
|
|
6807
6838
|
"$type": "color",
|
|
6808
6839
|
"$description": "Used for disabled checkbox and radio button state indicators.",
|
|
6809
6840
|
"$extensions": {
|
|
@@ -4897,7 +4897,7 @@
|
|
|
4897
4897
|
}
|
|
4898
4898
|
},
|
|
4899
4899
|
"🔒/nav-item-selected-foreground-color-default": {
|
|
4900
|
-
"$value": "{color-
|
|
4900
|
+
"$value": "{🔒/nav-item-foreground-color-hover}",
|
|
4901
4901
|
"$type": "color",
|
|
4902
4902
|
"$description": "Used for the foreground of a selected navigation item in the default state.",
|
|
4903
4903
|
"$extensions": {
|
|
@@ -4976,6 +4976,16 @@
|
|
|
4976
4976
|
]
|
|
4977
4977
|
}
|
|
4978
4978
|
},
|
|
4979
|
+
"🔒/nav-item-selected-indicator-color": {
|
|
4980
|
+
"$value": "{color-orange-500}",
|
|
4981
|
+
"$type": "color",
|
|
4982
|
+
"$description": "Used for the indicator beside a selected navigation item. Tinted themes override it in src/scss/themes.scss.",
|
|
4983
|
+
"$extensions": {
|
|
4984
|
+
"com.figma.scopes": [
|
|
4985
|
+
"SHAPE_FILL"
|
|
4986
|
+
]
|
|
4987
|
+
}
|
|
4988
|
+
},
|
|
4979
4989
|
"🔒/progress-bar-indicator-color-default": {
|
|
4980
4990
|
"$value": "{status-info-icon-color}",
|
|
4981
4991
|
"$type": "color",
|
|
@@ -6544,7 +6554,7 @@
|
|
|
6544
6554
|
"control-background-color-disabled": {
|
|
6545
6555
|
"$value": "{color-neutral-10}",
|
|
6546
6556
|
"$type": "color",
|
|
6547
|
-
"$description": "Used for disabled form control (
|
|
6557
|
+
"$description": "Used for disabled form control (input, textarea) background.",
|
|
6548
6558
|
"$extensions": {
|
|
6549
6559
|
"com.figma.scopes": [
|
|
6550
6560
|
"FRAME_FILL",
|
|
@@ -6607,6 +6617,17 @@
|
|
|
6607
6617
|
]
|
|
6608
6618
|
}
|
|
6609
6619
|
},
|
|
6620
|
+
"control-background-color-selected-disabled": {
|
|
6621
|
+
"$value": "{action-selected-background-color-disabled}",
|
|
6622
|
+
"$type": "color",
|
|
6623
|
+
"$description": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background when disabled.",
|
|
6624
|
+
"$extensions": {
|
|
6625
|
+
"com.figma.scopes": [
|
|
6626
|
+
"FRAME_FILL",
|
|
6627
|
+
"SHAPE_FILL"
|
|
6628
|
+
]
|
|
6629
|
+
}
|
|
6630
|
+
},
|
|
6610
6631
|
"control-border-color-default": {
|
|
6611
6632
|
"$value": "{color-neutral-400}",
|
|
6612
6633
|
"$type": "color",
|
|
@@ -6687,6 +6708,16 @@
|
|
|
6687
6708
|
]
|
|
6688
6709
|
}
|
|
6689
6710
|
},
|
|
6711
|
+
"control-border-color-selected-disabled": {
|
|
6712
|
+
"$value": "{control-background-color-selected-disabled}",
|
|
6713
|
+
"$type": "color",
|
|
6714
|
+
"$description": "Used for checked and indeterminate (selected) form control (checkbox, radio button) border when disabled.",
|
|
6715
|
+
"$extensions": {
|
|
6716
|
+
"com.figma.scopes": [
|
|
6717
|
+
"STROKE_COLOR"
|
|
6718
|
+
]
|
|
6719
|
+
}
|
|
6720
|
+
},
|
|
6690
6721
|
"control-border-radius": {
|
|
6691
6722
|
"$value": "{border-radius-lg}",
|
|
6692
6723
|
"$type": "dimension",
|
|
@@ -6739,7 +6770,7 @@
|
|
|
6739
6770
|
}
|
|
6740
6771
|
},
|
|
6741
6772
|
"control-indicator-color-disabled": {
|
|
6742
|
-
"$value": "{color-
|
|
6773
|
+
"$value": "{control-indicator-color-selected}",
|
|
6743
6774
|
"$type": "color",
|
|
6744
6775
|
"$description": "Used for disabled checkbox and radio button state indicators.",
|
|
6745
6776
|
"$extensions": {
|
|
@@ -777,18 +777,19 @@ export const GL_NAV_ITEM_FOREGROUND_COLOR_HOVER = '#fff';
|
|
|
777
777
|
export const GL_NAV_ITEM_FOREGROUND_COLOR_FOCUS = '#fff';
|
|
778
778
|
export const GL_NAV_ITEM_FOREGROUND_COLOR_ACTIVE = '#fff';
|
|
779
779
|
export const GL_NAV_ITEM_BACKGROUND_COLOR_DEFAULT = 'rgba(0, 0, 0, 0)';
|
|
780
|
-
export const GL_NAV_ITEM_BACKGROUND_COLOR_HOVER = '#
|
|
781
|
-
export const GL_NAV_ITEM_BACKGROUND_COLOR_FOCUS = '#
|
|
780
|
+
export const GL_NAV_ITEM_BACKGROUND_COLOR_HOVER = '#3a383d';
|
|
781
|
+
export const GL_NAV_ITEM_BACKGROUND_COLOR_FOCUS = '#3a383d';
|
|
782
782
|
export const GL_NAV_ITEM_BACKGROUND_COLOR_ACTIVE = '#18171d';
|
|
783
783
|
export const GL_NAV_ITEM_SELECTED_FONT_WEIGHT = 600;
|
|
784
784
|
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_DEFAULT = '#fff';
|
|
785
785
|
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_HOVER = '#fff';
|
|
786
786
|
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_FOCUS = '#fff';
|
|
787
787
|
export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_ACTIVE = '#fff';
|
|
788
|
-
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_DEFAULT = '#
|
|
789
|
-
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_HOVER = '#
|
|
790
|
-
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_FOCUS = '#
|
|
788
|
+
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_DEFAULT = '#3a383d';
|
|
789
|
+
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_HOVER = '#3a383d';
|
|
790
|
+
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_FOCUS = '#3a383d';
|
|
791
791
|
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_ACTIVE = '#18171d';
|
|
792
|
+
export const GL_NAV_ITEM_SELECTED_INDICATOR_COLOR = '#fb8017';
|
|
792
793
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_DEFAULT = '#64a7e9';
|
|
793
794
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_SUCCESS = '#35b597';
|
|
794
795
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_WARNING = '#fb8017';
|
|
@@ -1089,6 +1090,7 @@ export const GL_CONTROL_BACKGROUND_COLOR_READONLY = 'rgba(255, 255, 255, 0.08)';
|
|
|
1089
1090
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#ecebea';
|
|
1090
1091
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#f7f7f5';
|
|
1091
1092
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#f7f7f5';
|
|
1093
|
+
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DISABLED = '#747273';
|
|
1092
1094
|
export const GL_CONTROL_BORDER_COLOR_DEFAULT = '#747273';
|
|
1093
1095
|
export const GL_CONTROL_BORDER_COLOR_HOVER = '#a5a3a3';
|
|
1094
1096
|
export const GL_CONTROL_BORDER_COLOR_FOCUS = '#ecebea';
|
|
@@ -1097,12 +1099,13 @@ export const GL_CONTROL_BORDER_COLOR_ERROR = '#fc7988';
|
|
|
1097
1099
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_DEFAULT = '#ecebea';
|
|
1098
1100
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_HOVER = '#f7f7f5';
|
|
1099
1101
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_FOCUS = '#f7f7f5';
|
|
1102
|
+
export const GL_CONTROL_BORDER_COLOR_SELECTED_DISABLED = '#747273';
|
|
1100
1103
|
export const GL_CONTROL_BORDER_RADIUS = '0.5rem';
|
|
1101
1104
|
export const GL_CONTROL_TEXT_COLOR_ERROR = '#fc7988';
|
|
1102
1105
|
export const GL_CONTROL_TEXT_COLOR_VALID = '#35b597';
|
|
1103
1106
|
export const GL_CONTROL_PLACEHOLDER_COLOR = '#8a8888';
|
|
1104
1107
|
export const GL_CONTROL_INDICATOR_COLOR_SELECTED = '#18171d';
|
|
1105
|
-
export const GL_CONTROL_INDICATOR_COLOR_DISABLED = '#
|
|
1108
|
+
export const GL_CONTROL_INDICATOR_COLOR_DISABLED = '#18171d';
|
|
1106
1109
|
export const GL_FEEDBACK_BORDER_RADIUS = '0.5rem';
|
|
1107
1110
|
export const GL_FEEDBACK_STRONG_BACKGROUND_COLOR = '#3a383d';
|
|
1108
1111
|
export const GL_FEEDBACK_STRONG_BORDER_COLOR = '#a5a3a3';
|
|
@@ -789,6 +789,7 @@ export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_DEFAULT = '#dcdbd9';
|
|
|
789
789
|
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_HOVER = '#dcdbd9';
|
|
790
790
|
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_FOCUS = '#dcdbd9';
|
|
791
791
|
export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_ACTIVE = '#c1bfbe';
|
|
792
|
+
export const GL_NAV_ITEM_SELECTED_INDICATOR_COLOR = '#c74816';
|
|
792
793
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_DEFAULT = '#1f73ca';
|
|
793
794
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_SUCCESS = '#0d8070';
|
|
794
795
|
export const GL_PROGRESS_BAR_INDICATOR_COLOR_WARNING = '#c74816';
|
|
@@ -1089,6 +1090,7 @@ export const GL_CONTROL_BACKGROUND_COLOR_READONLY = 'rgba(5, 5, 6, 0.02)';
|
|
|
1089
1090
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#3a383d';
|
|
1090
1091
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#18171d';
|
|
1091
1092
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#18171d';
|
|
1093
|
+
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DISABLED = '#8a8888';
|
|
1092
1094
|
export const GL_CONTROL_BORDER_COLOR_DEFAULT = '#8a8888';
|
|
1093
1095
|
export const GL_CONTROL_BORDER_COLOR_HOVER = '#646163';
|
|
1094
1096
|
export const GL_CONTROL_BORDER_COLOR_FOCUS = '#28272d';
|
|
@@ -1097,12 +1099,13 @@ export const GL_CONTROL_BORDER_COLOR_ERROR = '#de1d4b';
|
|
|
1097
1099
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_DEFAULT = '#3a383d';
|
|
1098
1100
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_HOVER = '#18171d';
|
|
1099
1101
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_FOCUS = '#18171d';
|
|
1102
|
+
export const GL_CONTROL_BORDER_COLOR_SELECTED_DISABLED = '#8a8888';
|
|
1100
1103
|
export const GL_CONTROL_BORDER_RADIUS = '0.5rem';
|
|
1101
1104
|
export const GL_CONTROL_TEXT_COLOR_ERROR = '#c52042';
|
|
1102
1105
|
export const GL_CONTROL_TEXT_COLOR_VALID = '#0c7265';
|
|
1103
1106
|
export const GL_CONTROL_PLACEHOLDER_COLOR = '#747273';
|
|
1104
1107
|
export const GL_CONTROL_INDICATOR_COLOR_SELECTED = '#fff';
|
|
1105
|
-
export const GL_CONTROL_INDICATOR_COLOR_DISABLED = '#
|
|
1108
|
+
export const GL_CONTROL_INDICATOR_COLOR_DISABLED = '#fff';
|
|
1106
1109
|
export const GL_FEEDBACK_BORDER_RADIUS = '0.5rem';
|
|
1107
1110
|
export const GL_FEEDBACK_STRONG_BACKGROUND_COLOR = '#3a383d';
|
|
1108
1111
|
export const GL_FEEDBACK_STRONG_BORDER_COLOR = '#050408';
|