@gitlab/ui 86.0.0 → 86.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/bin/migrate_custom_utils_to_tw.bundled.mjs +184558 -0
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +1 -1
- package/dist/tokens/build/js/tokens.js +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/css/tokens.dark.css +1 -1
- package/dist/tokens/js/tokens.dark.js +1 -1
- package/dist/tokens/js/tokens.js +1 -1
- package/dist/tokens/json/tokens.dark.json +2 -2
- package/dist/tokens/json/tokens.json +2 -2
- package/dist/tokens/scss/_tokens.dark.scss +1 -1
- package/dist/tokens/scss/_tokens.scss +1 -1
- package/dist/tokens/tailwind/tokens.cjs +8 -16
- package/package.json +1 -1
- package/src/tokens/border.tokens.json +1 -1
- package/src/tokens/build/css/tokens.css +1 -1
- package/src/tokens/build/css/tokens.dark.css +1 -1
- package/src/tokens/build/js/tokens.dark.js +1 -1
- package/src/tokens/build/js/tokens.js +1 -1
- package/src/tokens/build/json/tokens.dark.json +2 -2
- package/src/tokens/build/json/tokens.json +2 -2
- package/src/tokens/build/scss/_tokens.dark.scss +1 -1
- package/src/tokens/build/scss/_tokens.scss +1 -1
- package/src/tokens/build/tailwind/tokens.cjs +8 -16
|
@@ -106,7 +106,7 @@ const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the background eas
|
|
|
106
106
|
const GL_BACKGROUND_COLOR_DISABLED = '#333238'; // Used to identify a disabled section.
|
|
107
107
|
const GL_BACKGROUND_COLOR_OVERLAY = 'rgba(0,0,0,0.64)'; // Used for an overlay that covers other content.
|
|
108
108
|
const GL_BORDER_COLOR_DEFAULT = '#434248'; // Used for the default border color.
|
|
109
|
-
const GL_BORDER_COLOR_SUBTLE = '#333238'; // Used for a border
|
|
109
|
+
const GL_BORDER_COLOR_SUBTLE = '#333238'; // Used for a subtle border in combination with the default background.
|
|
110
110
|
const GL_BORDER_COLOR_STRONG = '#89888d'; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
111
111
|
const GL_BORDER_COLOR_TRANSPARENT = 'transparent'; // Used when a border needs to be present, but not visibly perceived.
|
|
112
112
|
const GL_COLOR_ALPHA_0 = 'transparent';
|
|
@@ -106,7 +106,7 @@ const GL_BACKGROUND_COLOR_STRONG = '#ececef'; // Used to make the background eas
|
|
|
106
106
|
const GL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used to identify a disabled section.
|
|
107
107
|
const GL_BACKGROUND_COLOR_OVERLAY = 'rgba(31, 30, 36, 0.24)'; // Used for an overlay that covers other content.
|
|
108
108
|
const GL_BORDER_COLOR_DEFAULT = '#dcdcde'; // Used for the default border color.
|
|
109
|
-
const GL_BORDER_COLOR_SUBTLE = '#ececef'; // Used for a border
|
|
109
|
+
const GL_BORDER_COLOR_SUBTLE = '#ececef'; // Used for a subtle border in combination with the default background.
|
|
110
110
|
const GL_BORDER_COLOR_STRONG = '#89888d'; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
111
111
|
const GL_BORDER_COLOR_TRANSPARENT = 'transparent'; // Used when a border needs to be present, but not visibly perceived.
|
|
112
112
|
const GL_COLOR_ALPHA_0 = 'transparent';
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
--gl-avatar-border-color-default: var(--gl-color-alpha-dark-8); /* Used to define the edge of an avatar. */
|
|
536
536
|
--gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
|
|
537
537
|
--gl-border-color-strong: var(--gl-color-neutral-400); /* Used for a distinct border that emphasizes an edge or boundaries. */
|
|
538
|
-
--gl-border-color-subtle: var(--gl-color-neutral-50); /* Used for a border
|
|
538
|
+
--gl-border-color-subtle: var(--gl-color-neutral-50); /* Used for a subtle border in combination with the default background. */
|
|
539
539
|
--gl-border-color-default: var(--gl-color-neutral-100); /* Used for the default border color. */
|
|
540
540
|
--gl-background-color-overlay: var(--gl-color-alpha-dark-24); /* Used for an overlay that covers other content. */
|
|
541
541
|
--gl-background-color-disabled: var(--gl-color-neutral-10); /* Used to identify a disabled section. */
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
--gl-avatar-border-color-default: var(--gl-color-alpha-dark-8); /* Used to define the edge of an avatar. */
|
|
536
536
|
--gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
|
|
537
537
|
--gl-border-color-strong: var(--gl-color-neutral-400); /* Used for a distinct border that emphasizes an edge or boundaries. */
|
|
538
|
-
--gl-border-color-subtle: var(--gl-color-neutral-900); /* Used for a border
|
|
538
|
+
--gl-border-color-subtle: var(--gl-color-neutral-900); /* Used for a subtle border in combination with the default background. */
|
|
539
539
|
--gl-border-color-default: var(--gl-color-neutral-800); /* Used for the default border color. */
|
|
540
540
|
--gl-background-color-overlay: rgba(0,0,0,0.64); /* Used for an overlay that covers other content. */
|
|
541
541
|
--gl-background-color-disabled: var(--gl-color-neutral-900); /* Used to identify a disabled section. */
|
|
@@ -106,7 +106,7 @@ export const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the backgro
|
|
|
106
106
|
export const GL_BACKGROUND_COLOR_DISABLED = '#333238'; // Used to identify a disabled section.
|
|
107
107
|
export const GL_BACKGROUND_COLOR_OVERLAY = 'rgba(0,0,0,0.64)'; // Used for an overlay that covers other content.
|
|
108
108
|
export const GL_BORDER_COLOR_DEFAULT = '#434248'; // Used for the default border color.
|
|
109
|
-
export const GL_BORDER_COLOR_SUBTLE = '#333238'; // Used for a border
|
|
109
|
+
export const GL_BORDER_COLOR_SUBTLE = '#333238'; // Used for a subtle border in combination with the default background.
|
|
110
110
|
export const GL_BORDER_COLOR_STRONG = '#89888d'; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
111
111
|
export const GL_BORDER_COLOR_TRANSPARENT = 'transparent'; // Used when a border needs to be present, but not visibly perceived.
|
|
112
112
|
export const GL_COLOR_ALPHA_0 = 'transparent';
|
package/dist/tokens/js/tokens.js
CHANGED
|
@@ -106,7 +106,7 @@ export const GL_BACKGROUND_COLOR_STRONG = '#ececef'; // Used to make the backgro
|
|
|
106
106
|
export const GL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used to identify a disabled section.
|
|
107
107
|
export const GL_BACKGROUND_COLOR_OVERLAY = 'rgba(31, 30, 36, 0.24)'; // Used for an overlay that covers other content.
|
|
108
108
|
export const GL_BORDER_COLOR_DEFAULT = '#dcdcde'; // Used for the default border color.
|
|
109
|
-
export const GL_BORDER_COLOR_SUBTLE = '#ececef'; // Used for a border
|
|
109
|
+
export const GL_BORDER_COLOR_SUBTLE = '#ececef'; // Used for a subtle border in combination with the default background.
|
|
110
110
|
export const GL_BORDER_COLOR_STRONG = '#89888d'; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
111
111
|
export const GL_BORDER_COLOR_TRANSPARENT = 'transparent'; // Used when a border needs to be present, but not visibly perceived.
|
|
112
112
|
export const GL_COLOR_ALPHA_0 = 'transparent';
|
|
@@ -2580,7 +2580,7 @@
|
|
|
2580
2580
|
"subtle": {
|
|
2581
2581
|
"value": "#333238",
|
|
2582
2582
|
"$type": "color",
|
|
2583
|
-
"comment": "Used for a border
|
|
2583
|
+
"comment": "Used for a subtle border in combination with the default background.",
|
|
2584
2584
|
"filePath": "src/tokens/border.tokens.json",
|
|
2585
2585
|
"isSource": true,
|
|
2586
2586
|
"original": {
|
|
@@ -2589,7 +2589,7 @@
|
|
|
2589
2589
|
"dark": "{color.neutral.900}"
|
|
2590
2590
|
},
|
|
2591
2591
|
"$type": "color",
|
|
2592
|
-
"comment": "Used for a border
|
|
2592
|
+
"comment": "Used for a subtle border in combination with the default background."
|
|
2593
2593
|
},
|
|
2594
2594
|
"name": "BORDER_COLOR_SUBTLE",
|
|
2595
2595
|
"attributes": {},
|
|
@@ -2580,7 +2580,7 @@
|
|
|
2580
2580
|
"subtle": {
|
|
2581
2581
|
"value": "#ececef",
|
|
2582
2582
|
"$type": "color",
|
|
2583
|
-
"comment": "Used for a border
|
|
2583
|
+
"comment": "Used for a subtle border in combination with the default background.",
|
|
2584
2584
|
"filePath": "src/tokens/border.tokens.json",
|
|
2585
2585
|
"isSource": true,
|
|
2586
2586
|
"original": {
|
|
@@ -2589,7 +2589,7 @@
|
|
|
2589
2589
|
"dark": "{color.neutral.900}"
|
|
2590
2590
|
},
|
|
2591
2591
|
"$type": "color",
|
|
2592
|
-
"comment": "Used for a border
|
|
2592
|
+
"comment": "Used for a subtle border in combination with the default background."
|
|
2593
2593
|
},
|
|
2594
2594
|
"name": "BORDER_COLOR_SUBTLE",
|
|
2595
2595
|
"attributes": {},
|
|
@@ -533,7 +533,7 @@ $gl-avatar-border-color-hover: $gl-color-alpha-dark-24; // Used to increase the
|
|
|
533
533
|
$gl-avatar-border-color-default: $gl-color-alpha-dark-8; // Used to define the edge of an avatar.
|
|
534
534
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
535
535
|
$gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
536
|
-
$gl-border-color-subtle: $gl-color-neutral-900; // Used for a border
|
|
536
|
+
$gl-border-color-subtle: $gl-color-neutral-900; // Used for a subtle border in combination with the default background.
|
|
537
537
|
$gl-border-color-default: $gl-color-neutral-800; // Used for the default border color.
|
|
538
538
|
$gl-background-color-overlay: rgba(0,0,0,0.64); // Used for an overlay that covers other content.
|
|
539
539
|
$gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disabled section.
|
|
@@ -533,7 +533,7 @@ $gl-avatar-border-color-hover: $gl-color-alpha-dark-24; // Used to increase the
|
|
|
533
533
|
$gl-avatar-border-color-default: $gl-color-alpha-dark-8; // Used to define the edge of an avatar.
|
|
534
534
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
535
535
|
$gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
536
|
-
$gl-border-color-subtle: $gl-color-neutral-50; // Used for a border
|
|
536
|
+
$gl-border-color-subtle: $gl-color-neutral-50; // Used for a subtle border in combination with the default background.
|
|
537
537
|
$gl-border-color-default: $gl-color-neutral-100; // Used for the default border color.
|
|
538
538
|
$gl-background-color-overlay: $gl-color-alpha-dark-24; // Used for an overlay that covers other content.
|
|
539
539
|
$gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disabled section.
|
|
@@ -211,35 +211,27 @@ const textColors = {
|
|
|
211
211
|
link: 'var(--gl-text-color-link, var(--gl-color-blue-700, #0b5cad))',
|
|
212
212
|
danger: 'var(--gl-text-color-danger, var(--gl-color-red-600, #c91c00))',
|
|
213
213
|
success: 'var(--gl-text-color-success, var(--gl-color-green-600, #217645))',
|
|
214
|
-
disabled:
|
|
215
|
-
'var(--gl-text-color-disabled, var(--gl-color-neutral-400, #89888d))',
|
|
214
|
+
disabled: 'var(--gl-text-color-disabled, var(--gl-color-neutral-400, #89888d))',
|
|
216
215
|
};
|
|
217
216
|
const backgroundColors = {
|
|
218
|
-
default:
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
strong:
|
|
223
|
-
'var(--gl-background-color-strong, var(--gl-color-neutral-50, #ececef))',
|
|
224
|
-
disabled:
|
|
225
|
-
'var(--gl-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))',
|
|
217
|
+
default: 'var(--gl-background-color-default, var(--gl-color-neutral-0, #fff))',
|
|
218
|
+
subtle: 'var(--gl-background-color-subtle, var(--gl-color-neutral-10, #fbfafd))',
|
|
219
|
+
strong: 'var(--gl-background-color-strong, var(--gl-color-neutral-50, #ececef))',
|
|
220
|
+
disabled: 'var(--gl-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))',
|
|
226
221
|
overlay:
|
|
227
222
|
'var(--gl-background-color-overlay, var(--gl-color-alpha-dark-24, rgba(31, 30, 36, 0.24)))',
|
|
228
223
|
};
|
|
229
224
|
const borderColors = {
|
|
230
|
-
default:
|
|
231
|
-
'var(--gl-border-color-default, var(--gl-color-neutral-100, #dcdcde))',
|
|
225
|
+
default: 'var(--gl-border-color-default, var(--gl-color-neutral-100, #dcdcde))',
|
|
232
226
|
subtle: 'var(--gl-border-color-subtle, var(--gl-color-neutral-50, #ececef))',
|
|
233
227
|
strong: 'var(--gl-border-color-strong, var(--gl-color-neutral-400, #89888d))',
|
|
234
|
-
transparent:
|
|
235
|
-
'var(--gl-border-color-transparent, var(--gl-color-alpha-0, transparent))',
|
|
228
|
+
transparent: 'var(--gl-border-color-transparent, var(--gl-color-alpha-0, transparent))',
|
|
236
229
|
};
|
|
237
230
|
const iconColors = {
|
|
238
231
|
default: 'var(--gl-icon-color-default, var(--gl-color-neutral-700, #535158))',
|
|
239
232
|
subtle: 'var(--gl-icon-color-subtle, var(--gl-color-neutral-500, #737278))',
|
|
240
233
|
strong: 'var(--gl-icon-color-strong, var(--gl-color-neutral-900, #333238))',
|
|
241
|
-
disabled:
|
|
242
|
-
'var(--gl-icon-color-disabled, var(--gl-color-neutral-300, #a4a3a8))',
|
|
234
|
+
disabled: 'var(--gl-icon-color-disabled, var(--gl-color-neutral-300, #a4a3a8))',
|
|
243
235
|
link: 'var(--gl-icon-color-link, var(--gl-color-blue-600, #1068bf))',
|
|
244
236
|
info: 'var(--gl-icon-color-info, var(--gl-color-blue-600, #1068bf))',
|
|
245
237
|
warning: 'var(--gl-icon-color-warning, var(--gl-color-orange-600, #9e5400))',
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dark": "{color.neutral.900}"
|
|
16
16
|
},
|
|
17
17
|
"$type": "color",
|
|
18
|
-
"$description": "Used for a border
|
|
18
|
+
"$description": "Used for a subtle border in combination with the default background."
|
|
19
19
|
},
|
|
20
20
|
"strong": {
|
|
21
21
|
"$value": {
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
--gl-avatar-border-color-default: var(--gl-color-alpha-dark-8); /* Used to define the edge of an avatar. */
|
|
536
536
|
--gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
|
|
537
537
|
--gl-border-color-strong: var(--gl-color-neutral-400); /* Used for a distinct border that emphasizes an edge or boundaries. */
|
|
538
|
-
--gl-border-color-subtle: var(--gl-color-neutral-50); /* Used for a border
|
|
538
|
+
--gl-border-color-subtle: var(--gl-color-neutral-50); /* Used for a subtle border in combination with the default background. */
|
|
539
539
|
--gl-border-color-default: var(--gl-color-neutral-100); /* Used for the default border color. */
|
|
540
540
|
--gl-background-color-overlay: var(--gl-color-alpha-dark-24); /* Used for an overlay that covers other content. */
|
|
541
541
|
--gl-background-color-disabled: var(--gl-color-neutral-10); /* Used to identify a disabled section. */
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
--gl-avatar-border-color-default: var(--gl-color-alpha-dark-8); /* Used to define the edge of an avatar. */
|
|
536
536
|
--gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
|
|
537
537
|
--gl-border-color-strong: var(--gl-color-neutral-400); /* Used for a distinct border that emphasizes an edge or boundaries. */
|
|
538
|
-
--gl-border-color-subtle: var(--gl-color-neutral-900); /* Used for a border
|
|
538
|
+
--gl-border-color-subtle: var(--gl-color-neutral-900); /* Used for a subtle border in combination with the default background. */
|
|
539
539
|
--gl-border-color-default: var(--gl-color-neutral-800); /* Used for the default border color. */
|
|
540
540
|
--gl-background-color-overlay: rgba(0,0,0,0.64); /* Used for an overlay that covers other content. */
|
|
541
541
|
--gl-background-color-disabled: var(--gl-color-neutral-900); /* Used to identify a disabled section. */
|
|
@@ -106,7 +106,7 @@ export const GL_BACKGROUND_COLOR_STRONG = '#434248'; // Used to make the backgro
|
|
|
106
106
|
export const GL_BACKGROUND_COLOR_DISABLED = '#333238'; // Used to identify a disabled section.
|
|
107
107
|
export const GL_BACKGROUND_COLOR_OVERLAY = 'rgba(0,0,0,0.64)'; // Used for an overlay that covers other content.
|
|
108
108
|
export const GL_BORDER_COLOR_DEFAULT = '#434248'; // Used for the default border color.
|
|
109
|
-
export const GL_BORDER_COLOR_SUBTLE = '#333238'; // Used for a border
|
|
109
|
+
export const GL_BORDER_COLOR_SUBTLE = '#333238'; // Used for a subtle border in combination with the default background.
|
|
110
110
|
export const GL_BORDER_COLOR_STRONG = '#89888d'; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
111
111
|
export const GL_BORDER_COLOR_TRANSPARENT = 'transparent'; // Used when a border needs to be present, but not visibly perceived.
|
|
112
112
|
export const GL_COLOR_ALPHA_0 = 'transparent';
|
|
@@ -106,7 +106,7 @@ export const GL_BACKGROUND_COLOR_STRONG = '#ececef'; // Used to make the backgro
|
|
|
106
106
|
export const GL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used to identify a disabled section.
|
|
107
107
|
export const GL_BACKGROUND_COLOR_OVERLAY = 'rgba(31, 30, 36, 0.24)'; // Used for an overlay that covers other content.
|
|
108
108
|
export const GL_BORDER_COLOR_DEFAULT = '#dcdcde'; // Used for the default border color.
|
|
109
|
-
export const GL_BORDER_COLOR_SUBTLE = '#ececef'; // Used for a border
|
|
109
|
+
export const GL_BORDER_COLOR_SUBTLE = '#ececef'; // Used for a subtle border in combination with the default background.
|
|
110
110
|
export const GL_BORDER_COLOR_STRONG = '#89888d'; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
111
111
|
export const GL_BORDER_COLOR_TRANSPARENT = 'transparent'; // Used when a border needs to be present, but not visibly perceived.
|
|
112
112
|
export const GL_COLOR_ALPHA_0 = 'transparent';
|
|
@@ -2580,7 +2580,7 @@
|
|
|
2580
2580
|
"subtle": {
|
|
2581
2581
|
"value": "#333238",
|
|
2582
2582
|
"$type": "color",
|
|
2583
|
-
"comment": "Used for a border
|
|
2583
|
+
"comment": "Used for a subtle border in combination with the default background.",
|
|
2584
2584
|
"filePath": "src/tokens/border.tokens.json",
|
|
2585
2585
|
"isSource": true,
|
|
2586
2586
|
"original": {
|
|
@@ -2589,7 +2589,7 @@
|
|
|
2589
2589
|
"dark": "{color.neutral.900}"
|
|
2590
2590
|
},
|
|
2591
2591
|
"$type": "color",
|
|
2592
|
-
"comment": "Used for a border
|
|
2592
|
+
"comment": "Used for a subtle border in combination with the default background."
|
|
2593
2593
|
},
|
|
2594
2594
|
"name": "BORDER_COLOR_SUBTLE",
|
|
2595
2595
|
"attributes": {},
|
|
@@ -2580,7 +2580,7 @@
|
|
|
2580
2580
|
"subtle": {
|
|
2581
2581
|
"value": "#ececef",
|
|
2582
2582
|
"$type": "color",
|
|
2583
|
-
"comment": "Used for a border
|
|
2583
|
+
"comment": "Used for a subtle border in combination with the default background.",
|
|
2584
2584
|
"filePath": "src/tokens/border.tokens.json",
|
|
2585
2585
|
"isSource": true,
|
|
2586
2586
|
"original": {
|
|
@@ -2589,7 +2589,7 @@
|
|
|
2589
2589
|
"dark": "{color.neutral.900}"
|
|
2590
2590
|
},
|
|
2591
2591
|
"$type": "color",
|
|
2592
|
-
"comment": "Used for a border
|
|
2592
|
+
"comment": "Used for a subtle border in combination with the default background."
|
|
2593
2593
|
},
|
|
2594
2594
|
"name": "BORDER_COLOR_SUBTLE",
|
|
2595
2595
|
"attributes": {},
|
|
@@ -533,7 +533,7 @@ $gl-avatar-border-color-hover: $gl-color-alpha-dark-24; // Used to increase the
|
|
|
533
533
|
$gl-avatar-border-color-default: $gl-color-alpha-dark-8; // Used to define the edge of an avatar.
|
|
534
534
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
535
535
|
$gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
536
|
-
$gl-border-color-subtle: $gl-color-neutral-900; // Used for a border
|
|
536
|
+
$gl-border-color-subtle: $gl-color-neutral-900; // Used for a subtle border in combination with the default background.
|
|
537
537
|
$gl-border-color-default: $gl-color-neutral-800; // Used for the default border color.
|
|
538
538
|
$gl-background-color-overlay: rgba(0,0,0,0.64); // Used for an overlay that covers other content.
|
|
539
539
|
$gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disabled section.
|
|
@@ -533,7 +533,7 @@ $gl-avatar-border-color-hover: $gl-color-alpha-dark-24; // Used to increase the
|
|
|
533
533
|
$gl-avatar-border-color-default: $gl-color-alpha-dark-8; // Used to define the edge of an avatar.
|
|
534
534
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
535
535
|
$gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
536
|
-
$gl-border-color-subtle: $gl-color-neutral-50; // Used for a border
|
|
536
|
+
$gl-border-color-subtle: $gl-color-neutral-50; // Used for a subtle border in combination with the default background.
|
|
537
537
|
$gl-border-color-default: $gl-color-neutral-100; // Used for the default border color.
|
|
538
538
|
$gl-background-color-overlay: $gl-color-alpha-dark-24; // Used for an overlay that covers other content.
|
|
539
539
|
$gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disabled section.
|
|
@@ -211,35 +211,27 @@ const textColors = {
|
|
|
211
211
|
link: 'var(--gl-text-color-link, var(--gl-color-blue-700, #0b5cad))',
|
|
212
212
|
danger: 'var(--gl-text-color-danger, var(--gl-color-red-600, #c91c00))',
|
|
213
213
|
success: 'var(--gl-text-color-success, var(--gl-color-green-600, #217645))',
|
|
214
|
-
disabled:
|
|
215
|
-
'var(--gl-text-color-disabled, var(--gl-color-neutral-400, #89888d))',
|
|
214
|
+
disabled: 'var(--gl-text-color-disabled, var(--gl-color-neutral-400, #89888d))',
|
|
216
215
|
};
|
|
217
216
|
const backgroundColors = {
|
|
218
|
-
default:
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
strong:
|
|
223
|
-
'var(--gl-background-color-strong, var(--gl-color-neutral-50, #ececef))',
|
|
224
|
-
disabled:
|
|
225
|
-
'var(--gl-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))',
|
|
217
|
+
default: 'var(--gl-background-color-default, var(--gl-color-neutral-0, #fff))',
|
|
218
|
+
subtle: 'var(--gl-background-color-subtle, var(--gl-color-neutral-10, #fbfafd))',
|
|
219
|
+
strong: 'var(--gl-background-color-strong, var(--gl-color-neutral-50, #ececef))',
|
|
220
|
+
disabled: 'var(--gl-background-color-disabled, var(--gl-color-neutral-10, #fbfafd))',
|
|
226
221
|
overlay:
|
|
227
222
|
'var(--gl-background-color-overlay, var(--gl-color-alpha-dark-24, rgba(31, 30, 36, 0.24)))',
|
|
228
223
|
};
|
|
229
224
|
const borderColors = {
|
|
230
|
-
default:
|
|
231
|
-
'var(--gl-border-color-default, var(--gl-color-neutral-100, #dcdcde))',
|
|
225
|
+
default: 'var(--gl-border-color-default, var(--gl-color-neutral-100, #dcdcde))',
|
|
232
226
|
subtle: 'var(--gl-border-color-subtle, var(--gl-color-neutral-50, #ececef))',
|
|
233
227
|
strong: 'var(--gl-border-color-strong, var(--gl-color-neutral-400, #89888d))',
|
|
234
|
-
transparent:
|
|
235
|
-
'var(--gl-border-color-transparent, var(--gl-color-alpha-0, transparent))',
|
|
228
|
+
transparent: 'var(--gl-border-color-transparent, var(--gl-color-alpha-0, transparent))',
|
|
236
229
|
};
|
|
237
230
|
const iconColors = {
|
|
238
231
|
default: 'var(--gl-icon-color-default, var(--gl-color-neutral-700, #535158))',
|
|
239
232
|
subtle: 'var(--gl-icon-color-subtle, var(--gl-color-neutral-500, #737278))',
|
|
240
233
|
strong: 'var(--gl-icon-color-strong, var(--gl-color-neutral-900, #333238))',
|
|
241
|
-
disabled:
|
|
242
|
-
'var(--gl-icon-color-disabled, var(--gl-color-neutral-300, #a4a3a8))',
|
|
234
|
+
disabled: 'var(--gl-icon-color-disabled, var(--gl-color-neutral-300, #a4a3a8))',
|
|
243
235
|
link: 'var(--gl-icon-color-link, var(--gl-color-blue-600, #1068bf))',
|
|
244
236
|
info: 'var(--gl-icon-color-info, var(--gl-color-blue-600, #1068bf))',
|
|
245
237
|
warning: 'var(--gl-icon-color-warning, var(--gl-color-orange-600, #9e5400))',
|