@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-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);
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"avatar": {
|
|
3
|
+
"border": {
|
|
4
|
+
"color": {
|
|
5
|
+
"default": {
|
|
6
|
+
"$value": "{color.alpha.dark.8}",
|
|
7
|
+
"$type": "color",
|
|
8
|
+
"$description": "Used to define the edge of an avatar."
|
|
9
|
+
},
|
|
10
|
+
"hover": {
|
|
11
|
+
"$value": "{color.alpha.dark.24}",
|
|
12
|
+
"$type": "color",
|
|
13
|
+
"$description": "Used to increase the edge definition of an avatar in the hover state."
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"fallback": {
|
|
18
|
+
"background": {
|
|
19
|
+
"color": {
|
|
20
|
+
"red": {
|
|
21
|
+
"$value": {
|
|
22
|
+
"default": "{color.red.50}",
|
|
23
|
+
"dark": "{color.red.900}"
|
|
24
|
+
},
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$description": "Red background for avatar fallback with no particular meaning."
|
|
27
|
+
},
|
|
28
|
+
"purple": {
|
|
29
|
+
"$value": {
|
|
30
|
+
"default": "{color.purple.50}",
|
|
31
|
+
"dark": "{color.purple.950}"
|
|
32
|
+
},
|
|
33
|
+
"$type": "color",
|
|
34
|
+
"$description": "Purple background for avatar fallback with no particular meaning."
|
|
35
|
+
},
|
|
36
|
+
"blue": {
|
|
37
|
+
"$value": {
|
|
38
|
+
"default": "{color.blue.50}",
|
|
39
|
+
"dark": "{color.blue.900}"
|
|
40
|
+
},
|
|
41
|
+
"$type": "color",
|
|
42
|
+
"$description": "Blue background for avatar fallback with no particular meaning."
|
|
43
|
+
},
|
|
44
|
+
"green": {
|
|
45
|
+
"$value": {
|
|
46
|
+
"default": "{color.green.50}",
|
|
47
|
+
"dark": "{color.green.900}"
|
|
48
|
+
},
|
|
49
|
+
"$type": "color",
|
|
50
|
+
"$description": "Green background for avatar fallback with no particular meaning."
|
|
51
|
+
},
|
|
52
|
+
"orange": {
|
|
53
|
+
"$value": {
|
|
54
|
+
"default": "{color.orange.50}",
|
|
55
|
+
"dark": "{color.orange.900}"
|
|
56
|
+
},
|
|
57
|
+
"$type": "color",
|
|
58
|
+
"$description": "Orange background for avatar fallback with no particular meaning."
|
|
59
|
+
},
|
|
60
|
+
"neutral": {
|
|
61
|
+
"$value": {
|
|
62
|
+
"default": "{color.neutral.50}",
|
|
63
|
+
"dark": "{color.neutral.900}"
|
|
64
|
+
},
|
|
65
|
+
"$type": "color",
|
|
66
|
+
"$description": "Neutral background for avatar fallback with no particular meaning."
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|