@gitlab/ui 66.10.0 → 66.11.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 +16 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tokens/css/tokens.css +11 -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 +11 -1
- package/dist/tokens/json/tokens.dark.grouped.json +12 -0
- package/dist/tokens/json/tokens.dark.json +752 -270
- package/dist/tokens/json/tokens.grouped.json +12 -0
- package/dist/tokens/json/tokens.json +752 -270
- package/dist/tokens/scss/_tokens.dark.scss +1 -1
- package/dist/tokens/scss/_tokens.scss +11 -1
- package/dist/utils/charts/theme.js +2 -2
- package/package.json +3 -3
- package/src/components/base/avatar/avatar.scss +7 -12
- package/src/scss/storybook_dark_mode.scss +8 -2
- package/src/tokens/color.dark.tokens.json +138 -69
- package/src/tokens/color.tokens.json +270 -135
- package/src/tokens/line_height.tokens.json +74 -0
- package/src/utils/charts/theme.js +2 -2
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"line-height": {
|
|
3
|
+
"12": {
|
|
4
|
+
"$value": "12px",
|
|
5
|
+
"$type": "dimension",
|
|
6
|
+
"attributes": {
|
|
7
|
+
"category": "size"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"16": {
|
|
11
|
+
"$value": "16px",
|
|
12
|
+
"$type": "dimension",
|
|
13
|
+
"attributes": {
|
|
14
|
+
"category": "size"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"20": {
|
|
18
|
+
"$value": "20px",
|
|
19
|
+
"$type": "dimension",
|
|
20
|
+
"attributes": {
|
|
21
|
+
"category": "size"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"24": {
|
|
25
|
+
"$value": "24px",
|
|
26
|
+
"$type": "dimension",
|
|
27
|
+
"attributes": {
|
|
28
|
+
"category": "size"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"28": {
|
|
32
|
+
"$value": "28px",
|
|
33
|
+
"$type": "dimension",
|
|
34
|
+
"attributes": {
|
|
35
|
+
"category": "size"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"32": {
|
|
39
|
+
"$value": "32px",
|
|
40
|
+
"$type": "dimension",
|
|
41
|
+
"attributes": {
|
|
42
|
+
"category": "size"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"36": {
|
|
46
|
+
"$value": "36px",
|
|
47
|
+
"$type": "dimension",
|
|
48
|
+
"attributes": {
|
|
49
|
+
"category": "size"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"42": {
|
|
53
|
+
"$value": "42px",
|
|
54
|
+
"$type": "dimension",
|
|
55
|
+
"attributes": {
|
|
56
|
+
"category": "size"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"44": {
|
|
60
|
+
"$value": "44px",
|
|
61
|
+
"$type": "dimension",
|
|
62
|
+
"attributes": {
|
|
63
|
+
"category": "size"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"52": {
|
|
67
|
+
"$value": "52px",
|
|
68
|
+
"$type": "dimension",
|
|
69
|
+
"attributes": {
|
|
70
|
+
"category": "size"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -162,7 +162,7 @@ const axes = {
|
|
|
162
162
|
axisLabel: {
|
|
163
163
|
margin: 8,
|
|
164
164
|
show: true,
|
|
165
|
-
color: GRAY_600
|
|
165
|
+
color: `var(--gray-600, ${GRAY_600})`,
|
|
166
166
|
hideOverlap: true,
|
|
167
167
|
},
|
|
168
168
|
axisLine: {
|
|
@@ -209,7 +209,7 @@ export const createTheme = (options = {}) => ({
|
|
|
209
209
|
color: colorPaletteDefault,
|
|
210
210
|
backgroundColor: 'transparent',
|
|
211
211
|
textStyle: {
|
|
212
|
-
color: GRAY_900
|
|
212
|
+
color: `var(--gl-text-color, ${GRAY_900})`,
|
|
213
213
|
},
|
|
214
214
|
markLine: {
|
|
215
215
|
silent: true,
|