@gitlab/ui 137.1.2 → 137.2.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/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +196 -191
- package/dist/tokens/build/js/tokens.js +218 -213
- package/dist/utils/constants.js +5 -5
- package/package.json +4 -4
- package/src/components/base/alert/alert.scss +13 -48
- package/src/scss/themes.scss +23 -5
- package/src/tokens/build/css/tokens.css +20 -15
- package/src/tokens/build/css/tokens.dark.css +32 -27
- package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +199 -199
- package/src/tokens/build/docs/tokens-tailwind-docs.json +198 -198
- package/src/tokens/build/figma/constants.dark.json +33 -33
- package/src/tokens/build/figma/constants.json +33 -33
- package/src/tokens/build/figma/mode.dark.json +66 -16
- package/src/tokens/build/figma/mode.json +54 -4
- package/src/tokens/build/js/tokens.dark.js +195 -190
- package/src/tokens/build/js/tokens.js +217 -212
- package/src/tokens/build/json/tokens.dark.json +378 -218
- package/src/tokens/build/json/tokens.json +388 -228
- package/src/tokens/build/scss/_tokens.dark.scss +32 -27
- package/src/tokens/build/scss/_tokens.scss +20 -15
- package/src/tokens/build/scss/_tokens_custom_properties.scss +5 -0
- package/src/tokens/constant/color.neutral.tokens.json +33 -33
- package/src/tokens/contextual/alert.tokens.json +80 -35
- package/src/tokens/semantic/action.tokens.json +3 -3
- package/src/tokens/semantic/feedback.tokens.json +6 -6
- package/src/utils/constants.js +5 -5
package/dist/utils/constants.js
CHANGED
|
@@ -337,23 +337,23 @@ const themes = [{
|
|
|
337
337
|
value: 'default',
|
|
338
338
|
title: 'Default'
|
|
339
339
|
}, {
|
|
340
|
-
class: '
|
|
340
|
+
class: 'ui-indigo',
|
|
341
341
|
value: 'indigo',
|
|
342
342
|
title: 'Indigo'
|
|
343
343
|
}, {
|
|
344
|
-
class: '
|
|
344
|
+
class: 'ui-blue',
|
|
345
345
|
value: 'blue',
|
|
346
346
|
title: 'Blue'
|
|
347
347
|
}, {
|
|
348
|
-
class: '
|
|
348
|
+
class: 'ui-green',
|
|
349
349
|
value: 'green',
|
|
350
350
|
title: 'Green'
|
|
351
351
|
}, {
|
|
352
|
-
class: '
|
|
352
|
+
class: 'ui-red',
|
|
353
353
|
value: 'red',
|
|
354
354
|
title: 'Red'
|
|
355
355
|
}, {
|
|
356
|
-
class: '
|
|
356
|
+
class: 'ui-gray',
|
|
357
357
|
value: 'gray',
|
|
358
358
|
title: 'Gray'
|
|
359
359
|
}];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "137.
|
|
3
|
+
"version": "137.2.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"chokidar": "^4.0.3",
|
|
94
94
|
"sane": "^5.0.1",
|
|
95
95
|
"jackspeak": "2.3.6",
|
|
96
|
-
"postcss": "8.5.
|
|
96
|
+
"postcss": "8.5.28",
|
|
97
97
|
"json5": "2.2.3",
|
|
98
98
|
"rollup-plugin-vue/@vue/component-compiler/postcss-modules-sync/generic-names/loader-utils": "3.3.1"
|
|
99
99
|
},
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"@yarnpkg/lockfile": "^1.1.0",
|
|
138
138
|
"acorn": "^8.18.0",
|
|
139
139
|
"acorn-walk": "^8.3.5",
|
|
140
|
-
"autoprefixer": "10.5.
|
|
140
|
+
"autoprefixer": "10.5.5",
|
|
141
141
|
"axe-playwright": "^2.2.2",
|
|
142
142
|
"babel-loader": "^9.2.1",
|
|
143
143
|
"cypress": "15.21.1",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"pikaday": "^1.8.0",
|
|
159
159
|
"playwright": "^1.62.1",
|
|
160
160
|
"playwright-core": "^1.62.1",
|
|
161
|
-
"postcss": "8.5.
|
|
161
|
+
"postcss": "8.5.28",
|
|
162
162
|
"postcss-loader": "8.2.1",
|
|
163
163
|
"postcss-scss": "4.0.9",
|
|
164
164
|
"react": "18.3.1",
|
|
@@ -7,28 +7,11 @@
|
|
|
7
7
|
*/
|
|
8
8
|
// stylelint-disable length-zero-no-unit
|
|
9
9
|
$gl-alert-padding-x: var(--gl-alert-padding-x, 0px);
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@mixin gl-alert-variant(
|
|
13
|
-
$variant,
|
|
14
|
-
$background-color,
|
|
15
|
-
$title-color,
|
|
16
|
-
$border-top-color,
|
|
17
|
-
$border-bottom-color,
|
|
18
|
-
$icon-color
|
|
19
|
-
) {
|
|
10
|
+
|
|
11
|
+
@mixin gl-alert-variant($variant, $background-color, $title-color, $border-color, $icon-color) {
|
|
20
12
|
.gl-alert-#{$variant} {
|
|
21
13
|
background-color: $background-color;
|
|
22
|
-
border-
|
|
23
|
-
|
|
24
|
-
&::before {
|
|
25
|
-
background: linear-gradient(
|
|
26
|
-
to right,
|
|
27
|
-
transparent 0%,
|
|
28
|
-
$border-top-color 50%,
|
|
29
|
-
transparent 100%
|
|
30
|
-
);
|
|
31
|
-
}
|
|
14
|
+
border-color: $border-color;
|
|
32
15
|
|
|
33
16
|
.gl-alert-title {
|
|
34
17
|
color: $title-color;
|
|
@@ -48,20 +31,7 @@ $gl-alert-top-border-size: 2px;
|
|
|
48
31
|
border-radius: var(--gl-alert-border-radius);
|
|
49
32
|
padding-inline: calc(#{$gl-spacing-scale-9} + #{$gl-alert-padding-x});
|
|
50
33
|
position: relative;
|
|
51
|
-
|
|
52
|
-
@media (forced-colors: active) {
|
|
53
|
-
border: 1px solid transparent;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&::before {
|
|
57
|
-
content: "";
|
|
58
|
-
display: block;
|
|
59
|
-
width: 100%;
|
|
60
|
-
height: $gl-alert-top-border-size;
|
|
61
|
-
position: absolute;
|
|
62
|
-
top: -1px; // To accumilate for the border width
|
|
63
|
-
left: 0;
|
|
64
|
-
}
|
|
34
|
+
border: 1px solid;
|
|
65
35
|
|
|
66
36
|
&-not-dismissible {
|
|
67
37
|
padding-right: calc(#{$gl-spacing-scale-5} + #{$gl-alert-padding-x});
|
|
@@ -83,14 +53,14 @@ $gl-alert-top-border-size: 2px;
|
|
|
83
53
|
|
|
84
54
|
.gl-alert-icon-container {
|
|
85
55
|
position: absolute;
|
|
86
|
-
top: $gl-spacing-scale-
|
|
56
|
+
top: #{$gl-spacing-scale-4 + $gl-spacing-scale-1};
|
|
87
57
|
left: calc(#{$gl-spacing-scale-5} + #{$gl-alert-padding-x});
|
|
88
58
|
@apply gl-flex;
|
|
89
59
|
@apply gl-items-center;
|
|
90
|
-
height: $gl-line-height-
|
|
60
|
+
height: $gl-line-height-24;
|
|
91
61
|
|
|
92
62
|
.gl-alert-has-title & {
|
|
93
|
-
top:
|
|
63
|
+
top: $gl-spacing-scale-4;
|
|
94
64
|
}
|
|
95
65
|
}
|
|
96
66
|
|
|
@@ -119,7 +89,7 @@ $gl-alert-top-border-size: 2px;
|
|
|
119
89
|
// This is the replacement for .gl-alert-dismiss
|
|
120
90
|
.gl-dismiss-btn {
|
|
121
91
|
position: absolute;
|
|
122
|
-
top:
|
|
92
|
+
top: $gl-spacing-scale-4;
|
|
123
93
|
right: calc(#{$gl-spacing-scale-4} + #{$gl-alert-padding-x});
|
|
124
94
|
|
|
125
95
|
.gl-alert-has-title & {
|
|
@@ -133,8 +103,7 @@ $gl-alert-top-border-size: 2px;
|
|
|
133
103
|
$variant: danger,
|
|
134
104
|
$background-color: var(--gl-alert-danger-background-color),
|
|
135
105
|
$title-color: var(--gl-alert-danger-title-color),
|
|
136
|
-
$border-
|
|
137
|
-
$border-bottom-color: var(--gl-alert-danger-border-bottom-color),
|
|
106
|
+
$border-color: var(--gl-alert-danger-border-color),
|
|
138
107
|
$icon-color: var(--gl-feedback-danger-icon-color)
|
|
139
108
|
);
|
|
140
109
|
|
|
@@ -142,8 +111,7 @@ $gl-alert-top-border-size: 2px;
|
|
|
142
111
|
$variant: warning,
|
|
143
112
|
$background-color: var(--gl-alert-warning-background-color),
|
|
144
113
|
$title-color: var(--gl-alert-warning-title-color),
|
|
145
|
-
$border-
|
|
146
|
-
$border-bottom-color: var(--gl-alert-warning-border-bottom-color),
|
|
114
|
+
$border-color: var(--gl-alert-warning-border-color),
|
|
147
115
|
$icon-color: var(--gl-feedback-warning-icon-color)
|
|
148
116
|
);
|
|
149
117
|
|
|
@@ -151,8 +119,7 @@ $gl-alert-top-border-size: 2px;
|
|
|
151
119
|
$variant: tip,
|
|
152
120
|
$background-color: var(--gl-alert-neutral-background-color),
|
|
153
121
|
$title-color: var(--gl-alert-neutral-title-color),
|
|
154
|
-
$border-
|
|
155
|
-
$border-bottom-color: var(--gl-alert-neutral-border-bottom-color),
|
|
122
|
+
$border-color: var(--gl-alert-neutral-border-color),
|
|
156
123
|
$icon-color: var(--gl-feedback-neutral-icon-color)
|
|
157
124
|
);
|
|
158
125
|
|
|
@@ -160,8 +127,7 @@ $gl-alert-top-border-size: 2px;
|
|
|
160
127
|
$variant: info,
|
|
161
128
|
$background-color: var(--gl-alert-info-background-color),
|
|
162
129
|
$title-color: var(--gl-alert-info-title-color),
|
|
163
|
-
$border-
|
|
164
|
-
$border-bottom-color: var(--gl-alert-info-border-bottom-color),
|
|
130
|
+
$border-color: var(--gl-alert-info-border-color),
|
|
165
131
|
$icon-color: var(--gl-feedback-info-icon-color)
|
|
166
132
|
);
|
|
167
133
|
|
|
@@ -169,7 +135,6 @@ $gl-alert-top-border-size: 2px;
|
|
|
169
135
|
$variant: success,
|
|
170
136
|
$background-color: var(--gl-alert-success-background-color),
|
|
171
137
|
$title-color: var(--gl-alert-success-title-color),
|
|
172
|
-
$border-
|
|
173
|
-
$border-bottom-color: var(--gl-alert-success-border-bottom-color),
|
|
138
|
+
$border-color: var(--gl-alert-success-border-color),
|
|
174
139
|
$icon-color: var(--gl-feedback-success-icon-color)
|
|
175
140
|
);
|
package/src/scss/themes.scss
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
:root.
|
|
1
|
+
:root.ui-neutral,
|
|
2
|
+
.ui-neutral-scope {
|
|
3
|
+
--gl-color-neutral-0: #fff;
|
|
4
|
+
--gl-color-neutral-10: #fbfafd;
|
|
5
|
+
--gl-color-neutral-50: #ececef;
|
|
6
|
+
--gl-color-neutral-100: #dcdcde;
|
|
7
|
+
--gl-color-neutral-200: #bfbfc3;
|
|
8
|
+
--gl-color-neutral-300: #a4a3a8;
|
|
9
|
+
--gl-color-neutral-400: #89888d;
|
|
10
|
+
--gl-color-neutral-500: #737278;
|
|
11
|
+
--gl-color-neutral-600: #626168;
|
|
12
|
+
--gl-color-neutral-700: #4c4b51;
|
|
13
|
+
--gl-color-neutral-800: #3a383f;
|
|
14
|
+
--gl-color-neutral-900: #28272d;
|
|
15
|
+
--gl-color-neutral-950: #18171d;
|
|
16
|
+
--gl-color-neutral-1000: #050506;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:root.ui-indigo,
|
|
2
20
|
.ui-indigo-scope {
|
|
3
21
|
--gl-color-neutral-0: #fff;
|
|
4
22
|
--gl-color-neutral-10: #f9f8fa;
|
|
@@ -16,7 +34,7 @@
|
|
|
16
34
|
--gl-color-neutral-1000: #09030e;
|
|
17
35
|
}
|
|
18
36
|
|
|
19
|
-
:root.
|
|
37
|
+
:root.ui-blue,
|
|
20
38
|
.ui-blue-scope {
|
|
21
39
|
--gl-color-neutral-0: #fff;
|
|
22
40
|
--gl-color-neutral-10: #f8f8fa;
|
|
@@ -34,7 +52,7 @@
|
|
|
34
52
|
--gl-color-neutral-1000: #03050d;
|
|
35
53
|
}
|
|
36
54
|
|
|
37
|
-
:root.
|
|
55
|
+
:root.ui-green,
|
|
38
56
|
.ui-green-scope {
|
|
39
57
|
--gl-color-neutral-0: #fff;
|
|
40
58
|
--gl-color-neutral-10: #f7f9f8;
|
|
@@ -52,7 +70,7 @@
|
|
|
52
70
|
--gl-color-neutral-1000: #010705;
|
|
53
71
|
}
|
|
54
72
|
|
|
55
|
-
:root.
|
|
73
|
+
:root.ui-red,
|
|
56
74
|
.ui-red-scope {
|
|
57
75
|
--gl-color-neutral-0: #fff;
|
|
58
76
|
--gl-color-neutral-10: #fbf7f9;
|
|
@@ -70,7 +88,7 @@
|
|
|
70
88
|
--gl-color-neutral-1000: #0b0306;
|
|
71
89
|
}
|
|
72
90
|
|
|
73
|
-
:root.
|
|
91
|
+
:root.ui-gray,
|
|
74
92
|
.ui-gray-scope {
|
|
75
93
|
--gl-color-neutral-0: #fff;
|
|
76
94
|
--gl-color-neutral-10: #f8f8f8;
|
|
@@ -113,19 +113,19 @@
|
|
|
113
113
|
--gl-color-green-900: #1e3e28;
|
|
114
114
|
--gl-color-green-950: #17291c;
|
|
115
115
|
--gl-color-neutral-0: #fff;
|
|
116
|
-
--gl-color-neutral-10: #
|
|
117
|
-
--gl-color-neutral-50: #
|
|
118
|
-
--gl-color-neutral-100: #
|
|
119
|
-
--gl-color-neutral-200: #
|
|
120
|
-
--gl-color-neutral-300: #
|
|
121
|
-
--gl-color-neutral-400: #
|
|
122
|
-
--gl-color-neutral-500: #
|
|
123
|
-
--gl-color-neutral-600: #
|
|
124
|
-
--gl-color-neutral-700: #
|
|
125
|
-
--gl-color-neutral-800: #
|
|
116
|
+
--gl-color-neutral-10: #f7f7f5;
|
|
117
|
+
--gl-color-neutral-50: #ecebea;
|
|
118
|
+
--gl-color-neutral-100: #dcdbd9;
|
|
119
|
+
--gl-color-neutral-200: #c1bfbe;
|
|
120
|
+
--gl-color-neutral-300: #a5a3a3;
|
|
121
|
+
--gl-color-neutral-400: #8a8888;
|
|
122
|
+
--gl-color-neutral-500: #747273;
|
|
123
|
+
--gl-color-neutral-600: #646163;
|
|
124
|
+
--gl-color-neutral-700: #4d4b4e;
|
|
125
|
+
--gl-color-neutral-800: #3a383d;
|
|
126
126
|
--gl-color-neutral-900: #28272d;
|
|
127
127
|
--gl-color-neutral-950: #18171d;
|
|
128
|
-
--gl-color-neutral-1000: #
|
|
128
|
+
--gl-color-neutral-1000: #050408;
|
|
129
129
|
--gl-color-orange-50: #fdf1dd;
|
|
130
130
|
--gl-color-orange-100: #f5d9a8;
|
|
131
131
|
--gl-color-orange-200: #e9be74;
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
--gl-heading-default-margin-top: var(--gl-spacing-scale-0);
|
|
424
424
|
--gl-heading-default-margin-bottom: var(--gl-spacing-scale-5);
|
|
425
425
|
--gl-shadow-color-default: var(--gl-color-alpha-dark-16); /** Used for the default shadow color. */
|
|
426
|
-
--gl-alert-neutral-border-top-color: var(--gl-color-alpha-0); /** Used for the border
|
|
426
|
+
--gl-alert-neutral-border-top-color: var(--gl-color-alpha-0); /** Used for the border color of a neutral alert. */
|
|
427
427
|
--gl-alert-neutral-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a neutral alert. */
|
|
428
428
|
--gl-alert-info-border-top-color: var(--gl-color-alpha-0); /** Used for the border color of an info alert. */
|
|
429
429
|
--gl-alert-info-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of an info alert. */
|
|
@@ -743,9 +743,9 @@
|
|
|
743
743
|
--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. */
|
|
744
744
|
--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. */
|
|
745
745
|
--gl-action-confirm-border-color-default: var(--gl-color-alpha-0); /** Used for the border of a confirm action in the default state. */
|
|
746
|
-
--gl-action-danger-foreground-color-default: var(--gl-color-red-
|
|
747
|
-
--gl-action-danger-foreground-color-hover: var(--gl-color-red-
|
|
748
|
-
--gl-action-danger-foreground-color-active: var(--gl-color-red-
|
|
746
|
+
--gl-action-danger-foreground-color-default: var(--gl-color-red-600); /** Used for the foreground of a danger (destructive) action in the default state. */
|
|
747
|
+
--gl-action-danger-foreground-color-hover: var(--gl-color-red-800); /** Used for the foreground of a danger (destructive) action in the hover state. */
|
|
748
|
+
--gl-action-danger-foreground-color-active: var(--gl-color-red-950); /** Used for the foreground of a danger (destructive) action in the active state. */
|
|
749
749
|
--gl-action-danger-background-color-focus: var(--gl-action-danger-background-color-hover); /** Used for the background of a danger (destructive) action in the focus state. */
|
|
750
750
|
--gl-action-danger-border-color-default: var(--gl-color-alpha-0); /** Used for the border of a danger action in the default state. */
|
|
751
751
|
--gl-action-strong-confirm-background-color-default: var(--gl-color-blue-500); /** Used for the background of a strong confirm action in the default state. */
|
|
@@ -916,14 +916,19 @@
|
|
|
916
916
|
--gl-alert-border-radius: var(--gl-border-radius-lg); /** Used for alert border radius. */
|
|
917
917
|
--gl-alert-neutral-title-color: var(--gl-text-color-heading); /** Used for the title color of a neutral alert. */
|
|
918
918
|
--gl-alert-neutral-background-color: var(--gl-feedback-neutral-background-color); /** Used for the background color of a neutral alert. */
|
|
919
|
+
--gl-alert-neutral-border-color: var(--gl-feedback-neutral-border-color); /** Used for the border color of a neutral alert. */
|
|
919
920
|
--gl-alert-info-title-color: var(--gl-text-color-heading); /** Used for the title color of an info alert. */
|
|
920
921
|
--gl-alert-info-background-color: var(--gl-feedback-info-background-color); /** Used for the background color of an info alert. */
|
|
922
|
+
--gl-alert-info-border-color: var(--gl-feedback-info-border-color); /** Used for the border color of an info alert. */
|
|
921
923
|
--gl-alert-success-title-color: var(--gl-text-color-heading); /** Used for the title color of a success alert. */
|
|
922
924
|
--gl-alert-success-background-color: var(--gl-feedback-success-background-color); /** Used for the background color of a success alert. */
|
|
925
|
+
--gl-alert-success-border-color: var(--gl-feedback-success-border-color); /** Used for the border color of a success alert. */
|
|
923
926
|
--gl-alert-warning-title-color: var(--gl-text-color-heading); /** Used for the title color of a warning alert. */
|
|
924
927
|
--gl-alert-warning-background-color: var(--gl-feedback-warning-background-color); /** Used for the background color of a warning alert. */
|
|
928
|
+
--gl-alert-warning-border-color: var(--gl-feedback-warning-border-color); /** Used for the border color of a warning alert. */
|
|
925
929
|
--gl-alert-danger-title-color: var(--gl-text-color-heading); /** Used for the title color of a danger alert. */
|
|
926
930
|
--gl-alert-danger-background-color: var(--gl-feedback-danger-background-color); /** Used for the background color of a danger alert. */
|
|
931
|
+
--gl-alert-danger-border-color: var(--gl-feedback-danger-border-color); /** Used for the border color of a danger alert. */
|
|
927
932
|
--gl-avatar-square-border-radius-lg: var(--gl-border-radius-lg); /** Border radius for square avatars at larger sizes (48px, 64px, 96px). */
|
|
928
933
|
--gl-badge-muted-background-color-hover: var(--gl-badge-muted-background-color-default); /** Used for the background of a muted badge in the hover state. */
|
|
929
934
|
--gl-badge-muted-text-color-focus: var(--gl-badge-muted-text-color-hover); /** Used for the text of a muted badge in the focus state. */
|
|
@@ -113,19 +113,19 @@
|
|
|
113
113
|
--gl-color-green-900: #1e3e28;
|
|
114
114
|
--gl-color-green-950: #17291c;
|
|
115
115
|
--gl-color-neutral-0: #fff;
|
|
116
|
-
--gl-color-neutral-10: #
|
|
117
|
-
--gl-color-neutral-50: #
|
|
118
|
-
--gl-color-neutral-100: #
|
|
119
|
-
--gl-color-neutral-200: #
|
|
120
|
-
--gl-color-neutral-300: #
|
|
121
|
-
--gl-color-neutral-400: #
|
|
122
|
-
--gl-color-neutral-500: #
|
|
123
|
-
--gl-color-neutral-600: #
|
|
124
|
-
--gl-color-neutral-700: #
|
|
125
|
-
--gl-color-neutral-800: #
|
|
116
|
+
--gl-color-neutral-10: #f7f7f5;
|
|
117
|
+
--gl-color-neutral-50: #ecebea;
|
|
118
|
+
--gl-color-neutral-100: #dcdbd9;
|
|
119
|
+
--gl-color-neutral-200: #c1bfbe;
|
|
120
|
+
--gl-color-neutral-300: #a5a3a3;
|
|
121
|
+
--gl-color-neutral-400: #8a8888;
|
|
122
|
+
--gl-color-neutral-500: #747273;
|
|
123
|
+
--gl-color-neutral-600: #646163;
|
|
124
|
+
--gl-color-neutral-700: #4d4b4e;
|
|
125
|
+
--gl-color-neutral-800: #3a383d;
|
|
126
126
|
--gl-color-neutral-900: #28272d;
|
|
127
127
|
--gl-color-neutral-950: #18171d;
|
|
128
|
-
--gl-color-neutral-1000: #
|
|
128
|
+
--gl-color-neutral-1000: #050408;
|
|
129
129
|
--gl-color-orange-50: #fdf1dd;
|
|
130
130
|
--gl-color-orange-100: #f5d9a8;
|
|
131
131
|
--gl-color-orange-200: #e9be74;
|
|
@@ -435,18 +435,18 @@
|
|
|
435
435
|
--gl-heading-default-margin-top: var(--gl-spacing-scale-0);
|
|
436
436
|
--gl-heading-default-margin-bottom: var(--gl-spacing-scale-5);
|
|
437
437
|
--gl-shadow-color-default: var(--gl-color-alpha-dark-40); /** Used for the default shadow color. */
|
|
438
|
-
--gl-alert-neutral-border-top-color: var(--gl-color-neutral-400); /** Used for the border
|
|
438
|
+
--gl-alert-neutral-border-top-color: var(--gl-color-neutral-400); /** Used for the border color of a neutral alert. */
|
|
439
439
|
--gl-alert-neutral-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a neutral alert. */
|
|
440
|
-
--gl-alert-info-title-color: var(--gl-color-blue-
|
|
440
|
+
--gl-alert-info-title-color: var(--gl-color-blue-200); /** Used for the title color of an info alert. */
|
|
441
441
|
--gl-alert-info-border-top-color: var(--gl-color-blue-400); /** Used for the border color of an info alert. */
|
|
442
442
|
--gl-alert-info-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of an info alert. */
|
|
443
|
-
--gl-alert-success-title-color: var(--gl-color-green-
|
|
443
|
+
--gl-alert-success-title-color: var(--gl-color-green-200); /** Used for the title color of a success alert. */
|
|
444
444
|
--gl-alert-success-border-top-color: var(--gl-color-green-400); /** Used for the border color of a success alert. */
|
|
445
445
|
--gl-alert-success-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a success alert. */
|
|
446
|
-
--gl-alert-warning-title-color: var(--gl-color-orange-
|
|
446
|
+
--gl-alert-warning-title-color: var(--gl-color-orange-200); /** Used for the title color of a warning alert. */
|
|
447
447
|
--gl-alert-warning-border-top-color: var(--gl-color-orange-400); /** Used for the border color of a warning alert. */
|
|
448
448
|
--gl-alert-warning-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a warning alert. */
|
|
449
|
-
--gl-alert-danger-title-color: var(--gl-color-red-
|
|
449
|
+
--gl-alert-danger-title-color: var(--gl-color-red-200); /** Used for the title color of a danger alert. */
|
|
450
450
|
--gl-alert-danger-border-top-color: var(--gl-color-red-400); /** Used for the border color of a danger alert. */
|
|
451
451
|
--gl-alert-danger-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a danger alert. */
|
|
452
452
|
--gl-application-chrome-background-color: var(--gl-color-neutral-1000); /** Used for the application chrome background, the lowest layer of the interface that sits beneath panels and contains global navigation, user actions, application navigation, and AI navigation. */
|
|
@@ -802,27 +802,27 @@
|
|
|
802
802
|
--gl-feedback-neutral-background-color: var(--gl-color-neutral-900); /** Used for the background of a neutral feedback item when there isn't a specific meaning or urgency. */
|
|
803
803
|
--gl-feedback-neutral-border-color: var(--gl-color-neutral-600); /** Used for the border of a neutral feedback item when there isn't a specific meaning or urgency. */
|
|
804
804
|
--gl-feedback-neutral-text-color: var(--gl-color-neutral-200); /** Used for the text of a neutral feedback item when there isn't a specific meaning or urgency. */
|
|
805
|
-
--gl-feedback-neutral-icon-color: var(--gl-color-neutral-
|
|
805
|
+
--gl-feedback-neutral-icon-color: var(--gl-color-neutral-200); /** Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency. */
|
|
806
806
|
--gl-feedback-info-background-color: var(--gl-color-blue-950); /** Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
|
|
807
807
|
--gl-feedback-info-border-color: var(--gl-color-blue-600); /** Used for the border of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
|
|
808
808
|
--gl-feedback-info-text-color: var(--gl-color-blue-200); /** Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
|
|
809
|
-
--gl-feedback-info-icon-color: var(--gl-color-blue-
|
|
809
|
+
--gl-feedback-info-icon-color: var(--gl-color-blue-200); /** Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
|
|
810
810
|
--gl-feedback-success-background-color: var(--gl-color-green-900); /** Used for the background of a success feedback item when confirming the successful completion of a user-initiated action. */
|
|
811
811
|
--gl-feedback-success-border-color: var(--gl-color-green-600); /** Used for the border of a success feedback item when confirming the successful completion of a user-initiated action. */
|
|
812
812
|
--gl-feedback-success-text-color: var(--gl-color-green-200); /** Used for the text of a success feedback item when confirming the successful completion of a user-initiated action. */
|
|
813
|
-
--gl-feedback-success-icon-color: var(--gl-color-green-
|
|
813
|
+
--gl-feedback-success-icon-color: var(--gl-color-green-200); /** Used for the icon of a success feedback item when confirming the successful completion of a user-initiated action. */
|
|
814
814
|
--gl-feedback-warning-background-color: var(--gl-color-orange-900); /** Used for the background of a warning feedback item when notifying about a potential issue or sensitive information. */
|
|
815
815
|
--gl-feedback-warning-border-color: var(--gl-color-orange-600); /** Used for the border of a warning feedback item when notifying about a potential issue or sensitive information. */
|
|
816
816
|
--gl-feedback-warning-text-color: var(--gl-color-orange-200); /** Used for the text of a warning feedback item when notifying about a potential issue or sensitive information. */
|
|
817
|
-
--gl-feedback-warning-icon-color: var(--gl-color-orange-
|
|
817
|
+
--gl-feedback-warning-icon-color: var(--gl-color-orange-200); /** Used for the icon of a warning feedback item when notifying about a potential issue or sensitive information. */
|
|
818
818
|
--gl-feedback-danger-background-color: var(--gl-color-red-900); /** Used for the background of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention. */
|
|
819
819
|
--gl-feedback-danger-border-color: var(--gl-color-red-300); /** Used for the border of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention. */
|
|
820
820
|
--gl-feedback-danger-text-color: var(--gl-color-red-200); /** Used for the text of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention. */
|
|
821
|
-
--gl-feedback-danger-icon-color: var(--gl-color-red-
|
|
821
|
+
--gl-feedback-danger-icon-color: var(--gl-color-red-200); /** Used for the icon of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention. */
|
|
822
822
|
--gl-feedback-brand-background-color: var(--gl-color-purple-950); /** Used for the background of a brand-related feedback item when highlighting information that pertains to GitLab. */
|
|
823
823
|
--gl-feedback-brand-border-color: var(--gl-color-purple-600); /** Used for the border of a brand-related feedback item when highlighting information that pertains to GitLab. */
|
|
824
824
|
--gl-feedback-brand-text-color: var(--gl-color-purple-200); /** Used for the text of a brand-related feedback item when highlighting information that pertains to GitLab. */
|
|
825
|
-
--gl-feedback-brand-icon-color: var(--gl-color-purple-
|
|
825
|
+
--gl-feedback-brand-icon-color: var(--gl-color-purple-200); /** Used for the icon of a brand-related feedback item when highlighting information that pertains to GitLab. */
|
|
826
826
|
--gl-focus-ring-outer-color: var(--gl-color-blue-400); /** Used for the outer color portion of the focus ring. */
|
|
827
827
|
--gl-highlight-match-background-color: var(--gl-color-orange-200); /** Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning. */
|
|
828
828
|
--gl-highlight-match-text-color: var(--gl-color-neutral-950); /** Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status. */
|
|
@@ -931,11 +931,16 @@
|
|
|
931
931
|
--gl-shadow-lg: 0 0 2px 0 var(--gl-shadow-color-default), 0 0 2px 0 var(--gl-shadow-color-default), 0 4px 12px 0 var(--gl-shadow-color-default); /** Used for large surfaces that present additional context to the user. */
|
|
932
932
|
--gl-alert-border-radius: var(--gl-border-radius-lg); /** Used for alert border radius. */
|
|
933
933
|
--gl-alert-neutral-title-color: var(--gl-text-color-heading); /** Used for the title color of a neutral alert. */
|
|
934
|
-
--gl-alert-neutral-background-color: var(--gl-background-color
|
|
935
|
-
--gl-alert-
|
|
936
|
-
--gl-alert-
|
|
937
|
-
--gl-alert-
|
|
938
|
-
--gl-alert-
|
|
934
|
+
--gl-alert-neutral-background-color: var(--gl-feedback-neutral-background-color); /** Used for the background color of a neutral alert. */
|
|
935
|
+
--gl-alert-neutral-border-color: var(--gl-feedback-neutral-border-color); /** Used for the border color of a neutral alert. */
|
|
936
|
+
--gl-alert-info-background-color: var(--gl-feedback-info-background-color); /** Used for the background color of an info alert. */
|
|
937
|
+
--gl-alert-info-border-color: var(--gl-feedback-info-border-color); /** Used for the border color of an info alert. */
|
|
938
|
+
--gl-alert-success-background-color: var(--gl-feedback-success-background-color); /** Used for the background color of a success alert. */
|
|
939
|
+
--gl-alert-success-border-color: var(--gl-feedback-success-border-color); /** Used for the border color of a success alert. */
|
|
940
|
+
--gl-alert-warning-background-color: var(--gl-feedback-warning-background-color); /** Used for the background color of a warning alert. */
|
|
941
|
+
--gl-alert-warning-border-color: var(--gl-feedback-warning-border-color); /** Used for the border color of a warning alert. */
|
|
942
|
+
--gl-alert-danger-background-color: var(--gl-feedback-danger-background-color); /** Used for the background color of a danger alert. */
|
|
943
|
+
--gl-alert-danger-border-color: var(--gl-feedback-danger-border-color); /** Used for the border color of a danger alert. */
|
|
939
944
|
--gl-avatar-square-border-radius-lg: var(--gl-border-radius-lg); /** Border radius for square avatars at larger sizes (48px, 64px, 96px). */
|
|
940
945
|
--gl-badge-muted-background-color-hover: var(--gl-badge-muted-background-color-default); /** Used for the background of a muted badge in the hover state. */
|
|
941
946
|
--gl-badge-muted-text-color-focus: var(--gl-badge-muted-text-color-hover); /** Used for the text of a muted badge in the focus state. */
|