@gitlab/ui 85.7.0 → 85.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +9 -1
- package/dist/tokens/build/js/tokens.js +9 -1
- package/dist/tokens/css/tokens.css +8 -0
- package/dist/tokens/css/tokens.dark.css +8 -0
- package/dist/tokens/js/tokens.dark.js +8 -0
- package/dist/tokens/js/tokens.js +8 -0
- package/dist/tokens/json/tokens.dark.json +196 -0
- package/dist/tokens/json/tokens.json +196 -0
- package/dist/tokens/scss/_tokens.dark.scss +8 -0
- package/dist/tokens/scss/_tokens.scss +8 -0
- package/dist/tokens/scss/_tokens_custom_properties.scss +8 -0
- package/package.json +1 -1
- package/src/components/base/avatar/avatar.scss +15 -4
- package/src/components/base/avatar_labeled/avatar_labeled.scss +3 -3
- package/src/components/base/avatar_link/avatar_link.scss +1 -1
- package/src/components/base/avatars_inline/avatars_inline.scss +3 -3
- package/src/tokens/build/css/tokens.css +8 -0
- package/src/tokens/build/css/tokens.dark.css +8 -0
- package/src/tokens/build/js/tokens.dark.js +8 -0
- package/src/tokens/build/js/tokens.js +8 -0
- package/src/tokens/build/json/tokens.dark.json +196 -0
- package/src/tokens/build/json/tokens.json +196 -0
- package/src/tokens/build/scss/_tokens.dark.scss +8 -0
- package/src/tokens/build/scss/_tokens.scss +8 -0
- package/src/tokens/build/scss/_tokens_custom_properties.scss +8 -0
- package/src/tokens/contextual/avatar.tokens.json +72 -0
|
@@ -518,6 +518,14 @@ $gl-popover-background-color: $gl-color-neutral-900; // Used for the background
|
|
|
518
518
|
$gl-breadcrumb-separator-color: $gl-color-neutral-700; // Used for the breadcrumb level separator.
|
|
519
519
|
$gl-banner-promo-background-color: $gl-color-neutral-900; // Used as background for the default banner type.
|
|
520
520
|
$gl-banner-intro-border-color: $gl-color-blue-600; // Used to compliment the info banner.
|
|
521
|
+
$gl-avatar-fallback-background-color-neutral: $gl-color-neutral-900; // Neutral background for avatar fallback with no particular meaning.
|
|
522
|
+
$gl-avatar-fallback-background-color-orange: $gl-color-orange-900; // Orange background for avatar fallback with no particular meaning.
|
|
523
|
+
$gl-avatar-fallback-background-color-green: $gl-color-green-900; // Green background for avatar fallback with no particular meaning.
|
|
524
|
+
$gl-avatar-fallback-background-color-blue: $gl-color-blue-900; // Blue background for avatar fallback with no particular meaning.
|
|
525
|
+
$gl-avatar-fallback-background-color-purple: $gl-color-purple-950; // Purple background for avatar fallback with no particular meaning.
|
|
526
|
+
$gl-avatar-fallback-background-color-red: $gl-color-red-900; // Red background for avatar fallback with no particular meaning.
|
|
527
|
+
$gl-avatar-border-color-hover: $gl-color-alpha-dark-24; // Used to increase the edge definition of an avatar in the hover state.
|
|
528
|
+
$gl-avatar-border-color-default: $gl-color-alpha-dark-8; // Used to define the edge of an avatar.
|
|
521
529
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
522
530
|
$gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
523
531
|
$gl-border-color-subtle: $gl-color-neutral-900; // Used for a border that has a little more definition, or is used in combination with a subtle background.
|
|
@@ -518,6 +518,14 @@ $gl-popover-background-color: $gl-color-neutral-0; // Used for the background co
|
|
|
518
518
|
$gl-breadcrumb-separator-color: $gl-color-neutral-200; // Used for the breadcrumb level separator.
|
|
519
519
|
$gl-banner-promo-background-color: $gl-color-neutral-10; // Used as background for the default banner type.
|
|
520
520
|
$gl-banner-intro-border-color: $gl-color-blue-300; // Used to compliment the info banner.
|
|
521
|
+
$gl-avatar-fallback-background-color-neutral: $gl-color-neutral-50; // Neutral background for avatar fallback with no particular meaning.
|
|
522
|
+
$gl-avatar-fallback-background-color-orange: $gl-color-orange-50; // Orange background for avatar fallback with no particular meaning.
|
|
523
|
+
$gl-avatar-fallback-background-color-green: $gl-color-green-50; // Green background for avatar fallback with no particular meaning.
|
|
524
|
+
$gl-avatar-fallback-background-color-blue: $gl-color-blue-50; // Blue background for avatar fallback with no particular meaning.
|
|
525
|
+
$gl-avatar-fallback-background-color-purple: $gl-color-purple-50; // Purple background for avatar fallback with no particular meaning.
|
|
526
|
+
$gl-avatar-fallback-background-color-red: $gl-color-red-50; // Red background for avatar fallback with no particular meaning.
|
|
527
|
+
$gl-avatar-border-color-hover: $gl-color-alpha-dark-24; // Used to increase the edge definition of an avatar in the hover state.
|
|
528
|
+
$gl-avatar-border-color-default: $gl-color-alpha-dark-8; // Used to define the edge of an avatar.
|
|
521
529
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
522
530
|
$gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
523
531
|
$gl-border-color-subtle: $gl-color-neutral-50; // Used for a border that has a little more definition, or is used in combination with a subtle background.
|
|
@@ -421,6 +421,14 @@ $t-white-a-02: var(--t-white-a-02);
|
|
|
421
421
|
$t-white-a-04: var(--t-white-a-04);
|
|
422
422
|
$t-white-a-06: var(--t-white-a-06);
|
|
423
423
|
$t-white-a-08: var(--t-white-a-08);
|
|
424
|
+
$gl-avatar-border-color-default: var(--gl-avatar-border-color-default);
|
|
425
|
+
$gl-avatar-border-color-hover: var(--gl-avatar-border-color-hover);
|
|
426
|
+
$gl-avatar-fallback-background-color-red: var(--gl-avatar-fallback-background-color-red);
|
|
427
|
+
$gl-avatar-fallback-background-color-purple: var(--gl-avatar-fallback-background-color-purple);
|
|
428
|
+
$gl-avatar-fallback-background-color-blue: var(--gl-avatar-fallback-background-color-blue);
|
|
429
|
+
$gl-avatar-fallback-background-color-green: var(--gl-avatar-fallback-background-color-green);
|
|
430
|
+
$gl-avatar-fallback-background-color-orange: var(--gl-avatar-fallback-background-color-orange);
|
|
431
|
+
$gl-avatar-fallback-background-color-neutral: var(--gl-avatar-fallback-background-color-neutral);
|
|
424
432
|
$gl-banner-intro-border-color: var(--gl-banner-intro-border-color);
|
|
425
433
|
$gl-banner-promo-background-color: var(--gl-banner-promo-background-color);
|
|
426
434
|
$gl-breadcrumb-separator-color: var(--gl-breadcrumb-separator-color);
|
package/package.json
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// Available background colors for the identicon fallback for avatars
|
|
2
|
+
//
|
|
3
|
+
// Purple is duplicated on purpose. We have replaced indigo with it.
|
|
4
|
+
// If we had simply removed it, the total number of colors would have
|
|
5
|
+
// changed, resulting in changing the color of all identicons, because
|
|
6
|
+
// we do a modulo division with the total number of colors on the
|
|
7
|
+
// object's id to always give it the same "random" color.
|
|
8
|
+
$gl-avatar-identicon-bgs: var(--gl-avatar-fallback-background-color-red),
|
|
9
|
+
var(--gl-avatar-fallback-background-color-purple),
|
|
10
|
+
var(--gl-avatar-fallback-background-color-purple), var(--gl-avatar-fallback-background-color-blue),
|
|
11
|
+
var(--gl-avatar-fallback-background-color-green),
|
|
12
|
+
var(--gl-avatar-fallback-background-color-orange),
|
|
13
|
+
var(--gl-avatar-fallback-background-color-neutral);
|
|
3
14
|
|
|
4
15
|
@mixin gl-avatar {
|
|
5
16
|
@include gl-display-inline-flex;
|
|
@@ -7,7 +18,7 @@ $gl-avatar-identicon-bgs: $red-50, $purple-50, $theme-indigo-50, $blue-50, $gree
|
|
|
7
18
|
@include gl-flex-shrink-0;
|
|
8
19
|
@include gl-line-height-ratio-1000;
|
|
9
20
|
@include gl-object-fit-contain;
|
|
10
|
-
outline: 1px solid var(--
|
|
21
|
+
outline: 1px solid var(--gl-avatar-border-color-default);
|
|
11
22
|
outline-offset: -1px;
|
|
12
23
|
}
|
|
13
24
|
|
|
@@ -196,9 +207,9 @@ $gl-avatar-identicon-bgs: $red-50, $purple-50, $theme-indigo-50, $blue-50, $gree
|
|
|
196
207
|
.gl-avatar-identicon {
|
|
197
208
|
@include gl-text-center;
|
|
198
209
|
@include gl-vertical-align-top;
|
|
199
|
-
@include gl-text-gray-900;
|
|
200
210
|
@include gl-justify-content-center;
|
|
201
211
|
@include gl-align-items-center;
|
|
212
|
+
color: var(--gl-text-color-strong);
|
|
202
213
|
}
|
|
203
214
|
|
|
204
215
|
// Background colors
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@include gl-justify-content-center;
|
|
9
9
|
@include gl-font-base;
|
|
10
10
|
@include gl-line-height-normal;
|
|
11
|
-
|
|
11
|
+
color: var(--gl-text-color-strong);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
&-labels.inline-labels {
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
&-label {
|
|
21
21
|
@include gl-font-weight-bold;
|
|
22
22
|
@include gl-p-1;
|
|
23
|
-
|
|
23
|
+
color: var(--gl-text-color-strong);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&-sublabel {
|
|
27
|
-
color:
|
|
27
|
+
color: var(--gl-text-color-subtle);
|
|
28
28
|
overflow-wrap: anywhere;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
@include gl-display-inline-flex;
|
|
49
49
|
@include gl-align-items-center;
|
|
50
50
|
@include gl-justify-content-center;
|
|
51
|
-
@include gl-bg-gray-100;
|
|
52
|
-
@include gl-text-gray-900;
|
|
53
51
|
@include gl-font-sm;
|
|
54
52
|
@include gl-px-2;
|
|
55
53
|
@include gl-line-height-normal;
|
|
56
54
|
@include gl-rounded-pill;
|
|
55
|
+
background-color: var(--gl-status-neutral-background-color-default);
|
|
56
|
+
color: var(--gl-status-neutral-text-color-default);
|
|
57
57
|
height: var(--avatar-size);
|
|
58
58
|
min-width: var(--avatar-size);
|
|
59
|
-
|
|
59
|
+
|
|
60
60
|
&.lg {
|
|
61
61
|
@include gl-font-base;
|
|
62
62
|
@include gl-rounded-6;
|
|
@@ -520,6 +520,14 @@
|
|
|
520
520
|
--gl-breadcrumb-separator-color: var(--gl-color-neutral-200); /* Used for the breadcrumb level separator. */
|
|
521
521
|
--gl-banner-promo-background-color: var(--gl-color-neutral-10); /* Used as background for the default banner type. */
|
|
522
522
|
--gl-banner-intro-border-color: var(--gl-color-blue-300); /* Used to compliment the info banner. */
|
|
523
|
+
--gl-avatar-fallback-background-color-neutral: var(--gl-color-neutral-50); /* Neutral background for avatar fallback with no particular meaning. */
|
|
524
|
+
--gl-avatar-fallback-background-color-orange: var(--gl-color-orange-50); /* Orange background for avatar fallback with no particular meaning. */
|
|
525
|
+
--gl-avatar-fallback-background-color-green: var(--gl-color-green-50); /* Green background for avatar fallback with no particular meaning. */
|
|
526
|
+
--gl-avatar-fallback-background-color-blue: var(--gl-color-blue-50); /* Blue background for avatar fallback with no particular meaning. */
|
|
527
|
+
--gl-avatar-fallback-background-color-purple: var(--gl-color-purple-50); /* Purple background for avatar fallback with no particular meaning. */
|
|
528
|
+
--gl-avatar-fallback-background-color-red: var(--gl-color-red-50); /* Red background for avatar fallback with no particular meaning. */
|
|
529
|
+
--gl-avatar-border-color-hover: var(--gl-color-alpha-dark-24); /* Used to increase the edge definition of an avatar in the hover state. */
|
|
530
|
+
--gl-avatar-border-color-default: var(--gl-color-alpha-dark-8); /* Used to define the edge of an avatar. */
|
|
523
531
|
--gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
|
|
524
532
|
--gl-border-color-strong: var(--gl-color-neutral-400); /* Used for a distinct border that emphasizes an edge or boundaries. */
|
|
525
533
|
--gl-border-color-subtle: var(--gl-color-neutral-50); /* Used for a border that has a little more definition, or is used in combination with a subtle background. */
|
|
@@ -520,6 +520,14 @@
|
|
|
520
520
|
--gl-breadcrumb-separator-color: var(--gl-color-neutral-700); /* Used for the breadcrumb level separator. */
|
|
521
521
|
--gl-banner-promo-background-color: var(--gl-color-neutral-900); /* Used as background for the default banner type. */
|
|
522
522
|
--gl-banner-intro-border-color: var(--gl-color-blue-600); /* Used to compliment the info banner. */
|
|
523
|
+
--gl-avatar-fallback-background-color-neutral: var(--gl-color-neutral-900); /* Neutral background for avatar fallback with no particular meaning. */
|
|
524
|
+
--gl-avatar-fallback-background-color-orange: var(--gl-color-orange-900); /* Orange background for avatar fallback with no particular meaning. */
|
|
525
|
+
--gl-avatar-fallback-background-color-green: var(--gl-color-green-900); /* Green background for avatar fallback with no particular meaning. */
|
|
526
|
+
--gl-avatar-fallback-background-color-blue: var(--gl-color-blue-900); /* Blue background for avatar fallback with no particular meaning. */
|
|
527
|
+
--gl-avatar-fallback-background-color-purple: var(--gl-color-purple-950); /* Purple background for avatar fallback with no particular meaning. */
|
|
528
|
+
--gl-avatar-fallback-background-color-red: var(--gl-color-red-900); /* Red background for avatar fallback with no particular meaning. */
|
|
529
|
+
--gl-avatar-border-color-hover: var(--gl-color-alpha-dark-24); /* Used to increase the edge definition of an avatar in the hover state. */
|
|
530
|
+
--gl-avatar-border-color-default: var(--gl-color-alpha-dark-8); /* Used to define the edge of an avatar. */
|
|
523
531
|
--gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
|
|
524
532
|
--gl-border-color-strong: var(--gl-color-neutral-400); /* Used for a distinct border that emphasizes an edge or boundaries. */
|
|
525
533
|
--gl-border-color-subtle: var(--gl-color-neutral-900); /* Used for a border that has a little more definition, or is used in combination with a subtle background. */
|
|
@@ -421,6 +421,14 @@ export const T_WHITE_A_02 = 'rgba(255, 255, 255, 0.02)';
|
|
|
421
421
|
export const T_WHITE_A_04 = 'rgba(255, 255, 255, 0.04)';
|
|
422
422
|
export const T_WHITE_A_06 = 'rgba(255, 255, 255, 0.06)';
|
|
423
423
|
export const T_WHITE_A_08 = 'rgba(255, 255, 255, 0.08)';
|
|
424
|
+
export const GL_AVATAR_BORDER_COLOR_DEFAULT = 'rgba(31, 30, 36, 0.08)'; // Used to define the edge of an avatar.
|
|
425
|
+
export const GL_AVATAR_BORDER_COLOR_HOVER = 'rgba(31, 30, 36, 0.24)'; // Used to increase the edge definition of an avatar in the hover state.
|
|
426
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_RED = '#660e00'; // Red background for avatar fallback with no particular meaning.
|
|
427
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_PURPLE = '#232150'; // Purple background for avatar fallback with no particular meaning.
|
|
428
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_BLUE = '#033464'; // Blue background for avatar fallback with no particular meaning.
|
|
429
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_GREEN = '#0a4020'; // Green background for avatar fallback with no particular meaning.
|
|
430
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_ORANGE = '#5c2900'; // Orange background for avatar fallback with no particular meaning.
|
|
431
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_NEUTRAL = '#333238'; // Neutral background for avatar fallback with no particular meaning.
|
|
424
432
|
export const GL_BANNER_INTRO_BORDER_COLOR = '#1068bf'; // Used to compliment the info banner.
|
|
425
433
|
export const GL_BANNER_PROMO_BACKGROUND_COLOR = '#333238'; // Used as background for the default banner type.
|
|
426
434
|
export const GL_BREADCRUMB_SEPARATOR_COLOR = '#535158'; // Used for the breadcrumb level separator.
|
|
@@ -421,6 +421,14 @@ export const T_WHITE_A_02 = 'rgba(255, 255, 255, 0.02)';
|
|
|
421
421
|
export const T_WHITE_A_04 = 'rgba(255, 255, 255, 0.04)';
|
|
422
422
|
export const T_WHITE_A_06 = 'rgba(255, 255, 255, 0.06)';
|
|
423
423
|
export const T_WHITE_A_08 = 'rgba(255, 255, 255, 0.08)';
|
|
424
|
+
export const GL_AVATAR_BORDER_COLOR_DEFAULT = 'rgba(31, 30, 36, 0.08)'; // Used to define the edge of an avatar.
|
|
425
|
+
export const GL_AVATAR_BORDER_COLOR_HOVER = 'rgba(31, 30, 36, 0.24)'; // Used to increase the edge definition of an avatar in the hover state.
|
|
426
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_RED = '#fcf1ef'; // Red background for avatar fallback with no particular meaning.
|
|
427
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_PURPLE = '#f4f0ff'; // Purple background for avatar fallback with no particular meaning.
|
|
428
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_BLUE = '#e9f3fc'; // Blue background for avatar fallback with no particular meaning.
|
|
429
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_GREEN = '#ecf4ee'; // Green background for avatar fallback with no particular meaning.
|
|
430
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_ORANGE = '#fdf1dd'; // Orange background for avatar fallback with no particular meaning.
|
|
431
|
+
export const GL_AVATAR_FALLBACK_BACKGROUND_COLOR_NEUTRAL = '#ececef'; // Neutral background for avatar fallback with no particular meaning.
|
|
424
432
|
export const GL_BANNER_INTRO_BORDER_COLOR = '#63a6e9'; // Used to compliment the info banner.
|
|
425
433
|
export const GL_BANNER_PROMO_BACKGROUND_COLOR = '#fbfafd'; // Used as background for the default banner type.
|
|
426
434
|
export const GL_BREADCRUMB_SEPARATOR_COLOR = '#bfbfc3'; // Used for the breadcrumb level separator.
|
|
@@ -8943,6 +8943,202 @@
|
|
|
8943
8943
|
]
|
|
8944
8944
|
}
|
|
8945
8945
|
},
|
|
8946
|
+
"avatar": {
|
|
8947
|
+
"border": {
|
|
8948
|
+
"color": {
|
|
8949
|
+
"default": {
|
|
8950
|
+
"value": "rgba(31, 30, 36, 0.08)",
|
|
8951
|
+
"$type": "color",
|
|
8952
|
+
"comment": "Used to define the edge of an avatar.",
|
|
8953
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
8954
|
+
"isSource": true,
|
|
8955
|
+
"original": {
|
|
8956
|
+
"value": "{color.alpha.dark.8}",
|
|
8957
|
+
"$type": "color",
|
|
8958
|
+
"comment": "Used to define the edge of an avatar."
|
|
8959
|
+
},
|
|
8960
|
+
"name": "AVATAR_BORDER_COLOR_DEFAULT",
|
|
8961
|
+
"attributes": {},
|
|
8962
|
+
"path": [
|
|
8963
|
+
"avatar",
|
|
8964
|
+
"border",
|
|
8965
|
+
"color",
|
|
8966
|
+
"default"
|
|
8967
|
+
]
|
|
8968
|
+
},
|
|
8969
|
+
"hover": {
|
|
8970
|
+
"value": "rgba(31, 30, 36, 0.24)",
|
|
8971
|
+
"$type": "color",
|
|
8972
|
+
"comment": "Used to increase the edge definition of an avatar in the hover state.",
|
|
8973
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
8974
|
+
"isSource": true,
|
|
8975
|
+
"original": {
|
|
8976
|
+
"value": "{color.alpha.dark.24}",
|
|
8977
|
+
"$type": "color",
|
|
8978
|
+
"comment": "Used to increase the edge definition of an avatar in the hover state."
|
|
8979
|
+
},
|
|
8980
|
+
"name": "AVATAR_BORDER_COLOR_HOVER",
|
|
8981
|
+
"attributes": {},
|
|
8982
|
+
"path": [
|
|
8983
|
+
"avatar",
|
|
8984
|
+
"border",
|
|
8985
|
+
"color",
|
|
8986
|
+
"hover"
|
|
8987
|
+
]
|
|
8988
|
+
}
|
|
8989
|
+
}
|
|
8990
|
+
},
|
|
8991
|
+
"fallback": {
|
|
8992
|
+
"background": {
|
|
8993
|
+
"color": {
|
|
8994
|
+
"red": {
|
|
8995
|
+
"value": "#660e00",
|
|
8996
|
+
"$type": "color",
|
|
8997
|
+
"comment": "Red background for avatar fallback with no particular meaning.",
|
|
8998
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
8999
|
+
"isSource": true,
|
|
9000
|
+
"original": {
|
|
9001
|
+
"value": {
|
|
9002
|
+
"default": "{color.red.50}",
|
|
9003
|
+
"dark": "{color.red.900}"
|
|
9004
|
+
},
|
|
9005
|
+
"$type": "color",
|
|
9006
|
+
"comment": "Red background for avatar fallback with no particular meaning."
|
|
9007
|
+
},
|
|
9008
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_RED",
|
|
9009
|
+
"attributes": {},
|
|
9010
|
+
"path": [
|
|
9011
|
+
"avatar",
|
|
9012
|
+
"fallback",
|
|
9013
|
+
"background",
|
|
9014
|
+
"color",
|
|
9015
|
+
"red"
|
|
9016
|
+
]
|
|
9017
|
+
},
|
|
9018
|
+
"purple": {
|
|
9019
|
+
"value": "#232150",
|
|
9020
|
+
"$type": "color",
|
|
9021
|
+
"comment": "Purple background for avatar fallback with no particular meaning.",
|
|
9022
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
9023
|
+
"isSource": true,
|
|
9024
|
+
"original": {
|
|
9025
|
+
"value": {
|
|
9026
|
+
"default": "{color.purple.50}",
|
|
9027
|
+
"dark": "{color.purple.950}"
|
|
9028
|
+
},
|
|
9029
|
+
"$type": "color",
|
|
9030
|
+
"comment": "Purple background for avatar fallback with no particular meaning."
|
|
9031
|
+
},
|
|
9032
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_PURPLE",
|
|
9033
|
+
"attributes": {},
|
|
9034
|
+
"path": [
|
|
9035
|
+
"avatar",
|
|
9036
|
+
"fallback",
|
|
9037
|
+
"background",
|
|
9038
|
+
"color",
|
|
9039
|
+
"purple"
|
|
9040
|
+
]
|
|
9041
|
+
},
|
|
9042
|
+
"blue": {
|
|
9043
|
+
"value": "#033464",
|
|
9044
|
+
"$type": "color",
|
|
9045
|
+
"comment": "Blue background for avatar fallback with no particular meaning.",
|
|
9046
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
9047
|
+
"isSource": true,
|
|
9048
|
+
"original": {
|
|
9049
|
+
"value": {
|
|
9050
|
+
"default": "{color.blue.50}",
|
|
9051
|
+
"dark": "{color.blue.900}"
|
|
9052
|
+
},
|
|
9053
|
+
"$type": "color",
|
|
9054
|
+
"comment": "Blue background for avatar fallback with no particular meaning."
|
|
9055
|
+
},
|
|
9056
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_BLUE",
|
|
9057
|
+
"attributes": {},
|
|
9058
|
+
"path": [
|
|
9059
|
+
"avatar",
|
|
9060
|
+
"fallback",
|
|
9061
|
+
"background",
|
|
9062
|
+
"color",
|
|
9063
|
+
"blue"
|
|
9064
|
+
]
|
|
9065
|
+
},
|
|
9066
|
+
"green": {
|
|
9067
|
+
"value": "#0a4020",
|
|
9068
|
+
"$type": "color",
|
|
9069
|
+
"comment": "Green background for avatar fallback with no particular meaning.",
|
|
9070
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
9071
|
+
"isSource": true,
|
|
9072
|
+
"original": {
|
|
9073
|
+
"value": {
|
|
9074
|
+
"default": "{color.green.50}",
|
|
9075
|
+
"dark": "{color.green.900}"
|
|
9076
|
+
},
|
|
9077
|
+
"$type": "color",
|
|
9078
|
+
"comment": "Green background for avatar fallback with no particular meaning."
|
|
9079
|
+
},
|
|
9080
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_GREEN",
|
|
9081
|
+
"attributes": {},
|
|
9082
|
+
"path": [
|
|
9083
|
+
"avatar",
|
|
9084
|
+
"fallback",
|
|
9085
|
+
"background",
|
|
9086
|
+
"color",
|
|
9087
|
+
"green"
|
|
9088
|
+
]
|
|
9089
|
+
},
|
|
9090
|
+
"orange": {
|
|
9091
|
+
"value": "#5c2900",
|
|
9092
|
+
"$type": "color",
|
|
9093
|
+
"comment": "Orange background for avatar fallback with no particular meaning.",
|
|
9094
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
9095
|
+
"isSource": true,
|
|
9096
|
+
"original": {
|
|
9097
|
+
"value": {
|
|
9098
|
+
"default": "{color.orange.50}",
|
|
9099
|
+
"dark": "{color.orange.900}"
|
|
9100
|
+
},
|
|
9101
|
+
"$type": "color",
|
|
9102
|
+
"comment": "Orange background for avatar fallback with no particular meaning."
|
|
9103
|
+
},
|
|
9104
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_ORANGE",
|
|
9105
|
+
"attributes": {},
|
|
9106
|
+
"path": [
|
|
9107
|
+
"avatar",
|
|
9108
|
+
"fallback",
|
|
9109
|
+
"background",
|
|
9110
|
+
"color",
|
|
9111
|
+
"orange"
|
|
9112
|
+
]
|
|
9113
|
+
},
|
|
9114
|
+
"neutral": {
|
|
9115
|
+
"value": "#333238",
|
|
9116
|
+
"$type": "color",
|
|
9117
|
+
"comment": "Neutral background for avatar fallback with no particular meaning.",
|
|
9118
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
9119
|
+
"isSource": true,
|
|
9120
|
+
"original": {
|
|
9121
|
+
"value": {
|
|
9122
|
+
"default": "{color.neutral.50}",
|
|
9123
|
+
"dark": "{color.neutral.900}"
|
|
9124
|
+
},
|
|
9125
|
+
"$type": "color",
|
|
9126
|
+
"comment": "Neutral background for avatar fallback with no particular meaning."
|
|
9127
|
+
},
|
|
9128
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_NEUTRAL",
|
|
9129
|
+
"attributes": {},
|
|
9130
|
+
"path": [
|
|
9131
|
+
"avatar",
|
|
9132
|
+
"fallback",
|
|
9133
|
+
"background",
|
|
9134
|
+
"color",
|
|
9135
|
+
"neutral"
|
|
9136
|
+
]
|
|
9137
|
+
}
|
|
9138
|
+
}
|
|
9139
|
+
}
|
|
9140
|
+
}
|
|
9141
|
+
},
|
|
8946
9142
|
"banner": {
|
|
8947
9143
|
"intro": {
|
|
8948
9144
|
"border": {
|
|
@@ -8943,6 +8943,202 @@
|
|
|
8943
8943
|
]
|
|
8944
8944
|
}
|
|
8945
8945
|
},
|
|
8946
|
+
"avatar": {
|
|
8947
|
+
"border": {
|
|
8948
|
+
"color": {
|
|
8949
|
+
"default": {
|
|
8950
|
+
"value": "rgba(31, 30, 36, 0.08)",
|
|
8951
|
+
"$type": "color",
|
|
8952
|
+
"comment": "Used to define the edge of an avatar.",
|
|
8953
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
8954
|
+
"isSource": true,
|
|
8955
|
+
"original": {
|
|
8956
|
+
"value": "{color.alpha.dark.8}",
|
|
8957
|
+
"$type": "color",
|
|
8958
|
+
"comment": "Used to define the edge of an avatar."
|
|
8959
|
+
},
|
|
8960
|
+
"name": "AVATAR_BORDER_COLOR_DEFAULT",
|
|
8961
|
+
"attributes": {},
|
|
8962
|
+
"path": [
|
|
8963
|
+
"avatar",
|
|
8964
|
+
"border",
|
|
8965
|
+
"color",
|
|
8966
|
+
"default"
|
|
8967
|
+
]
|
|
8968
|
+
},
|
|
8969
|
+
"hover": {
|
|
8970
|
+
"value": "rgba(31, 30, 36, 0.24)",
|
|
8971
|
+
"$type": "color",
|
|
8972
|
+
"comment": "Used to increase the edge definition of an avatar in the hover state.",
|
|
8973
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
8974
|
+
"isSource": true,
|
|
8975
|
+
"original": {
|
|
8976
|
+
"value": "{color.alpha.dark.24}",
|
|
8977
|
+
"$type": "color",
|
|
8978
|
+
"comment": "Used to increase the edge definition of an avatar in the hover state."
|
|
8979
|
+
},
|
|
8980
|
+
"name": "AVATAR_BORDER_COLOR_HOVER",
|
|
8981
|
+
"attributes": {},
|
|
8982
|
+
"path": [
|
|
8983
|
+
"avatar",
|
|
8984
|
+
"border",
|
|
8985
|
+
"color",
|
|
8986
|
+
"hover"
|
|
8987
|
+
]
|
|
8988
|
+
}
|
|
8989
|
+
}
|
|
8990
|
+
},
|
|
8991
|
+
"fallback": {
|
|
8992
|
+
"background": {
|
|
8993
|
+
"color": {
|
|
8994
|
+
"red": {
|
|
8995
|
+
"value": "#fcf1ef",
|
|
8996
|
+
"$type": "color",
|
|
8997
|
+
"comment": "Red background for avatar fallback with no particular meaning.",
|
|
8998
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
8999
|
+
"isSource": true,
|
|
9000
|
+
"original": {
|
|
9001
|
+
"value": {
|
|
9002
|
+
"default": "{color.red.50}",
|
|
9003
|
+
"dark": "{color.red.900}"
|
|
9004
|
+
},
|
|
9005
|
+
"$type": "color",
|
|
9006
|
+
"comment": "Red background for avatar fallback with no particular meaning."
|
|
9007
|
+
},
|
|
9008
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_RED",
|
|
9009
|
+
"attributes": {},
|
|
9010
|
+
"path": [
|
|
9011
|
+
"avatar",
|
|
9012
|
+
"fallback",
|
|
9013
|
+
"background",
|
|
9014
|
+
"color",
|
|
9015
|
+
"red"
|
|
9016
|
+
]
|
|
9017
|
+
},
|
|
9018
|
+
"purple": {
|
|
9019
|
+
"value": "#f4f0ff",
|
|
9020
|
+
"$type": "color",
|
|
9021
|
+
"comment": "Purple background for avatar fallback with no particular meaning.",
|
|
9022
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
9023
|
+
"isSource": true,
|
|
9024
|
+
"original": {
|
|
9025
|
+
"value": {
|
|
9026
|
+
"default": "{color.purple.50}",
|
|
9027
|
+
"dark": "{color.purple.950}"
|
|
9028
|
+
},
|
|
9029
|
+
"$type": "color",
|
|
9030
|
+
"comment": "Purple background for avatar fallback with no particular meaning."
|
|
9031
|
+
},
|
|
9032
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_PURPLE",
|
|
9033
|
+
"attributes": {},
|
|
9034
|
+
"path": [
|
|
9035
|
+
"avatar",
|
|
9036
|
+
"fallback",
|
|
9037
|
+
"background",
|
|
9038
|
+
"color",
|
|
9039
|
+
"purple"
|
|
9040
|
+
]
|
|
9041
|
+
},
|
|
9042
|
+
"blue": {
|
|
9043
|
+
"value": "#e9f3fc",
|
|
9044
|
+
"$type": "color",
|
|
9045
|
+
"comment": "Blue background for avatar fallback with no particular meaning.",
|
|
9046
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
9047
|
+
"isSource": true,
|
|
9048
|
+
"original": {
|
|
9049
|
+
"value": {
|
|
9050
|
+
"default": "{color.blue.50}",
|
|
9051
|
+
"dark": "{color.blue.900}"
|
|
9052
|
+
},
|
|
9053
|
+
"$type": "color",
|
|
9054
|
+
"comment": "Blue background for avatar fallback with no particular meaning."
|
|
9055
|
+
},
|
|
9056
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_BLUE",
|
|
9057
|
+
"attributes": {},
|
|
9058
|
+
"path": [
|
|
9059
|
+
"avatar",
|
|
9060
|
+
"fallback",
|
|
9061
|
+
"background",
|
|
9062
|
+
"color",
|
|
9063
|
+
"blue"
|
|
9064
|
+
]
|
|
9065
|
+
},
|
|
9066
|
+
"green": {
|
|
9067
|
+
"value": "#ecf4ee",
|
|
9068
|
+
"$type": "color",
|
|
9069
|
+
"comment": "Green background for avatar fallback with no particular meaning.",
|
|
9070
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
9071
|
+
"isSource": true,
|
|
9072
|
+
"original": {
|
|
9073
|
+
"value": {
|
|
9074
|
+
"default": "{color.green.50}",
|
|
9075
|
+
"dark": "{color.green.900}"
|
|
9076
|
+
},
|
|
9077
|
+
"$type": "color",
|
|
9078
|
+
"comment": "Green background for avatar fallback with no particular meaning."
|
|
9079
|
+
},
|
|
9080
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_GREEN",
|
|
9081
|
+
"attributes": {},
|
|
9082
|
+
"path": [
|
|
9083
|
+
"avatar",
|
|
9084
|
+
"fallback",
|
|
9085
|
+
"background",
|
|
9086
|
+
"color",
|
|
9087
|
+
"green"
|
|
9088
|
+
]
|
|
9089
|
+
},
|
|
9090
|
+
"orange": {
|
|
9091
|
+
"value": "#fdf1dd",
|
|
9092
|
+
"$type": "color",
|
|
9093
|
+
"comment": "Orange background for avatar fallback with no particular meaning.",
|
|
9094
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
9095
|
+
"isSource": true,
|
|
9096
|
+
"original": {
|
|
9097
|
+
"value": {
|
|
9098
|
+
"default": "{color.orange.50}",
|
|
9099
|
+
"dark": "{color.orange.900}"
|
|
9100
|
+
},
|
|
9101
|
+
"$type": "color",
|
|
9102
|
+
"comment": "Orange background for avatar fallback with no particular meaning."
|
|
9103
|
+
},
|
|
9104
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_ORANGE",
|
|
9105
|
+
"attributes": {},
|
|
9106
|
+
"path": [
|
|
9107
|
+
"avatar",
|
|
9108
|
+
"fallback",
|
|
9109
|
+
"background",
|
|
9110
|
+
"color",
|
|
9111
|
+
"orange"
|
|
9112
|
+
]
|
|
9113
|
+
},
|
|
9114
|
+
"neutral": {
|
|
9115
|
+
"value": "#ececef",
|
|
9116
|
+
"$type": "color",
|
|
9117
|
+
"comment": "Neutral background for avatar fallback with no particular meaning.",
|
|
9118
|
+
"filePath": "src/tokens/contextual/avatar.tokens.json",
|
|
9119
|
+
"isSource": true,
|
|
9120
|
+
"original": {
|
|
9121
|
+
"value": {
|
|
9122
|
+
"default": "{color.neutral.50}",
|
|
9123
|
+
"dark": "{color.neutral.900}"
|
|
9124
|
+
},
|
|
9125
|
+
"$type": "color",
|
|
9126
|
+
"comment": "Neutral background for avatar fallback with no particular meaning."
|
|
9127
|
+
},
|
|
9128
|
+
"name": "AVATAR_FALLBACK_BACKGROUND_COLOR_NEUTRAL",
|
|
9129
|
+
"attributes": {},
|
|
9130
|
+
"path": [
|
|
9131
|
+
"avatar",
|
|
9132
|
+
"fallback",
|
|
9133
|
+
"background",
|
|
9134
|
+
"color",
|
|
9135
|
+
"neutral"
|
|
9136
|
+
]
|
|
9137
|
+
}
|
|
9138
|
+
}
|
|
9139
|
+
}
|
|
9140
|
+
}
|
|
9141
|
+
},
|
|
8946
9142
|
"banner": {
|
|
8947
9143
|
"intro": {
|
|
8948
9144
|
"border": {
|
|
@@ -518,6 +518,14 @@ $gl-popover-background-color: $gl-color-neutral-900; // Used for the background
|
|
|
518
518
|
$gl-breadcrumb-separator-color: $gl-color-neutral-700; // Used for the breadcrumb level separator.
|
|
519
519
|
$gl-banner-promo-background-color: $gl-color-neutral-900; // Used as background for the default banner type.
|
|
520
520
|
$gl-banner-intro-border-color: $gl-color-blue-600; // Used to compliment the info banner.
|
|
521
|
+
$gl-avatar-fallback-background-color-neutral: $gl-color-neutral-900; // Neutral background for avatar fallback with no particular meaning.
|
|
522
|
+
$gl-avatar-fallback-background-color-orange: $gl-color-orange-900; // Orange background for avatar fallback with no particular meaning.
|
|
523
|
+
$gl-avatar-fallback-background-color-green: $gl-color-green-900; // Green background for avatar fallback with no particular meaning.
|
|
524
|
+
$gl-avatar-fallback-background-color-blue: $gl-color-blue-900; // Blue background for avatar fallback with no particular meaning.
|
|
525
|
+
$gl-avatar-fallback-background-color-purple: $gl-color-purple-950; // Purple background for avatar fallback with no particular meaning.
|
|
526
|
+
$gl-avatar-fallback-background-color-red: $gl-color-red-900; // Red background for avatar fallback with no particular meaning.
|
|
527
|
+
$gl-avatar-border-color-hover: $gl-color-alpha-dark-24; // Used to increase the edge definition of an avatar in the hover state.
|
|
528
|
+
$gl-avatar-border-color-default: $gl-color-alpha-dark-8; // Used to define the edge of an avatar.
|
|
521
529
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
522
530
|
$gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
523
531
|
$gl-border-color-subtle: $gl-color-neutral-900; // Used for a border that has a little more definition, or is used in combination with a subtle background.
|