@gitlab/ui 123.0.0 → 123.1.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 +53 -2
- package/dist/tokens/build/js/tokens.js +53 -2
- package/dist/tokens/css/tokens.css +4 -1
- package/dist/tokens/css/tokens.dark.css +4 -1
- package/dist/tokens/docs/tokens-tailwind-docs.dark.json +201 -0
- package/dist/tokens/docs/tokens-tailwind-docs.json +201 -0
- package/dist/tokens/figma/constants.tokens.json +85 -0
- package/dist/tokens/js/tokens.dark.js +63 -1
- package/dist/tokens/js/tokens.js +63 -1
- package/dist/tokens/json/tokens.dark.json +234 -38
- package/dist/tokens/json/tokens.json +234 -38
- package/dist/tokens/scss/_tokens.dark.scss +4 -1
- package/dist/tokens/scss/_tokens.scss +4 -1
- package/dist/tokens/scss/_tokens_custom_properties.scss +4 -1
- package/dist/tokens/tailwind/tokens.cjs +2 -0
- package/package.json +1 -1
- package/src/tokens/build/css/tokens.css +4 -1
- package/src/tokens/build/css/tokens.dark.css +4 -1
- package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +201 -0
- package/src/tokens/build/docs/tokens-tailwind-docs.json +201 -0
- package/src/tokens/build/figma/constants.tokens.json +85 -0
- package/src/tokens/build/js/tokens.dark.js +63 -1
- package/src/tokens/build/js/tokens.js +63 -1
- package/src/tokens/build/json/tokens.dark.json +234 -38
- package/src/tokens/build/json/tokens.json +234 -38
- package/src/tokens/build/scss/_tokens.dark.scss +4 -1
- package/src/tokens/build/scss/_tokens.scss +4 -1
- package/src/tokens/build/scss/_tokens_custom_properties.scss +4 -1
- package/src/tokens/build/tailwind/tokens.cjs +6 -0
- package/src/tokens/constant/shadow.tokens.json +87 -0
- package/tailwind.defaults.js +3 -5
|
@@ -264,6 +264,69 @@ export const GL_OPACITY_7 = '.7';
|
|
|
264
264
|
export const GL_OPACITY_8 = '.8';
|
|
265
265
|
export const GL_OPACITY_9 = '.9';
|
|
266
266
|
export const GL_OPACITY_10 = '1';
|
|
267
|
+
export const GL_SHADOW_SM = [
|
|
268
|
+
{
|
|
269
|
+
color: 'rgba(05, 05, 06, 0.16)',
|
|
270
|
+
offsetX: 0,
|
|
271
|
+
offsetY: 0,
|
|
272
|
+
blur: '2px',
|
|
273
|
+
spread: 0,
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
color: 'rgba(05, 05, 06, 0.16)',
|
|
277
|
+
offsetX: 0,
|
|
278
|
+
offsetY: '1px',
|
|
279
|
+
blur: '4px',
|
|
280
|
+
spread: 0,
|
|
281
|
+
},
|
|
282
|
+
];
|
|
283
|
+
export const GL_SHADOW_MD = [
|
|
284
|
+
{
|
|
285
|
+
color: 'rgba(05, 05, 06, 0.16)',
|
|
286
|
+
offsetX: 0,
|
|
287
|
+
offsetY: 0,
|
|
288
|
+
blur: '1px',
|
|
289
|
+
spread: 0,
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
color: 'rgba(05, 05, 06, 0.16)',
|
|
293
|
+
offsetX: 0,
|
|
294
|
+
offsetY: 0,
|
|
295
|
+
blur: '2px',
|
|
296
|
+
spread: 0,
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
color: 'rgba(05, 05, 06, 0.16)',
|
|
300
|
+
offsetX: 0,
|
|
301
|
+
offsetY: '2px',
|
|
302
|
+
blur: '8px',
|
|
303
|
+
spread: 0,
|
|
304
|
+
},
|
|
305
|
+
];
|
|
306
|
+
export const GL_SHADOW_LG = [
|
|
307
|
+
{
|
|
308
|
+
color: 'rgba(05, 05, 06, 0.16)',
|
|
309
|
+
offsetX: 0,
|
|
310
|
+
offsetY: 0,
|
|
311
|
+
blur: '2px',
|
|
312
|
+
spread: 0,
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
color: 'rgba(05, 05, 06, 0.16)',
|
|
316
|
+
offsetX: 0,
|
|
317
|
+
offsetY: 0,
|
|
318
|
+
blur: '2px',
|
|
319
|
+
spread: 0,
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
color: 'rgba(05, 05, 06, 0.16)',
|
|
323
|
+
offsetX: 0,
|
|
324
|
+
offsetY: '4px',
|
|
325
|
+
blur: '12px',
|
|
326
|
+
spread: 0,
|
|
327
|
+
},
|
|
328
|
+
];
|
|
329
|
+
export const GL_SHADOW_COLOR_DEFAULT = 'rgba(05, 05, 06, 0.16)';
|
|
267
330
|
export const GL_SPACING_SCALE_0 = '0';
|
|
268
331
|
export const GL_SPACING_SCALE_1 = '0.125rem';
|
|
269
332
|
export const GL_SPACING_SCALE_2 = '0.25rem';
|
|
@@ -1086,7 +1149,6 @@ export const GL_ICON_COLOR_INFO = '#2f5ca0';
|
|
|
1086
1149
|
export const GL_ICON_COLOR_WARNING = '#995715';
|
|
1087
1150
|
export const GL_ICON_COLOR_DANGER = '#c02f12';
|
|
1088
1151
|
export const GL_ICON_COLOR_SUCCESS = '#2f7549';
|
|
1089
|
-
export const GL_SHADOW_COLOR_DEFAULT = 'rgba(05, 05, 06, 0.16)';
|
|
1090
1152
|
export const GL_STATUS_NEUTRAL_BACKGROUND_COLOR = '#dcdcde';
|
|
1091
1153
|
export const GL_STATUS_NEUTRAL_TEXT_COLOR = '#4c4b51';
|
|
1092
1154
|
export const GL_STATUS_NEUTRAL_ICON_COLOR = '#737278';
|
|
@@ -6702,6 +6702,240 @@
|
|
|
6702
6702
|
]
|
|
6703
6703
|
}
|
|
6704
6704
|
},
|
|
6705
|
+
"shadow": {
|
|
6706
|
+
"sm": {
|
|
6707
|
+
"key": "{shadow.sm}",
|
|
6708
|
+
"$value": [
|
|
6709
|
+
{
|
|
6710
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
6711
|
+
"offsetX": 0,
|
|
6712
|
+
"offsetY": 0,
|
|
6713
|
+
"blur": "2px",
|
|
6714
|
+
"spread": 0
|
|
6715
|
+
},
|
|
6716
|
+
{
|
|
6717
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
6718
|
+
"offsetX": 0,
|
|
6719
|
+
"offsetY": "1px",
|
|
6720
|
+
"blur": "4px",
|
|
6721
|
+
"spread": 0
|
|
6722
|
+
}
|
|
6723
|
+
],
|
|
6724
|
+
"$type": "shadow",
|
|
6725
|
+
"$description": "Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board.",
|
|
6726
|
+
"$extensions": {
|
|
6727
|
+
"com.figma.scope": []
|
|
6728
|
+
},
|
|
6729
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
6730
|
+
"isSource": true,
|
|
6731
|
+
"original": {
|
|
6732
|
+
"$value": [
|
|
6733
|
+
{
|
|
6734
|
+
"color": "{shadow.color.default}",
|
|
6735
|
+
"offsetX": 0,
|
|
6736
|
+
"offsetY": 0,
|
|
6737
|
+
"blur": "2px",
|
|
6738
|
+
"spread": 0
|
|
6739
|
+
},
|
|
6740
|
+
{
|
|
6741
|
+
"color": "{shadow.color.default}",
|
|
6742
|
+
"offsetX": 0,
|
|
6743
|
+
"offsetY": "1px",
|
|
6744
|
+
"blur": "4px",
|
|
6745
|
+
"spread": 0
|
|
6746
|
+
}
|
|
6747
|
+
],
|
|
6748
|
+
"$type": "shadow",
|
|
6749
|
+
"$description": "Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board.",
|
|
6750
|
+
"$extensions": {
|
|
6751
|
+
"com.figma.scope": []
|
|
6752
|
+
},
|
|
6753
|
+
"key": "{shadow.sm}"
|
|
6754
|
+
},
|
|
6755
|
+
"name": "SHADOW_SM",
|
|
6756
|
+
"attributes": {},
|
|
6757
|
+
"path": [
|
|
6758
|
+
"shadow",
|
|
6759
|
+
"sm"
|
|
6760
|
+
]
|
|
6761
|
+
},
|
|
6762
|
+
"md": {
|
|
6763
|
+
"key": "{shadow.md}",
|
|
6764
|
+
"$value": [
|
|
6765
|
+
{
|
|
6766
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
6767
|
+
"offsetX": 0,
|
|
6768
|
+
"offsetY": 0,
|
|
6769
|
+
"blur": "1px",
|
|
6770
|
+
"spread": 0
|
|
6771
|
+
},
|
|
6772
|
+
{
|
|
6773
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
6774
|
+
"offsetX": 0,
|
|
6775
|
+
"offsetY": 0,
|
|
6776
|
+
"blur": "2px",
|
|
6777
|
+
"spread": 0
|
|
6778
|
+
},
|
|
6779
|
+
{
|
|
6780
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
6781
|
+
"offsetX": 0,
|
|
6782
|
+
"offsetY": "2px",
|
|
6783
|
+
"blur": "8px",
|
|
6784
|
+
"spread": 0
|
|
6785
|
+
}
|
|
6786
|
+
],
|
|
6787
|
+
"$type": "shadow",
|
|
6788
|
+
"$description": "Used for surfaces that need boundary definition and appear on hover. For example, popovers.",
|
|
6789
|
+
"$extensions": {
|
|
6790
|
+
"com.figma.scope": []
|
|
6791
|
+
},
|
|
6792
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
6793
|
+
"isSource": true,
|
|
6794
|
+
"original": {
|
|
6795
|
+
"$value": [
|
|
6796
|
+
{
|
|
6797
|
+
"color": "{shadow.color.default}",
|
|
6798
|
+
"offsetX": 0,
|
|
6799
|
+
"offsetY": 0,
|
|
6800
|
+
"blur": "1px",
|
|
6801
|
+
"spread": 0
|
|
6802
|
+
},
|
|
6803
|
+
{
|
|
6804
|
+
"color": "{shadow.color.default}",
|
|
6805
|
+
"offsetX": 0,
|
|
6806
|
+
"offsetY": 0,
|
|
6807
|
+
"blur": "2px",
|
|
6808
|
+
"spread": 0
|
|
6809
|
+
},
|
|
6810
|
+
{
|
|
6811
|
+
"color": "{shadow.color.default}",
|
|
6812
|
+
"offsetX": 0,
|
|
6813
|
+
"offsetY": "2px",
|
|
6814
|
+
"blur": "8px",
|
|
6815
|
+
"spread": 0
|
|
6816
|
+
}
|
|
6817
|
+
],
|
|
6818
|
+
"$type": "shadow",
|
|
6819
|
+
"$description": "Used for surfaces that need boundary definition and appear on hover. For example, popovers.",
|
|
6820
|
+
"$extensions": {
|
|
6821
|
+
"com.figma.scope": []
|
|
6822
|
+
},
|
|
6823
|
+
"key": "{shadow.md}"
|
|
6824
|
+
},
|
|
6825
|
+
"name": "SHADOW_MD",
|
|
6826
|
+
"attributes": {},
|
|
6827
|
+
"path": [
|
|
6828
|
+
"shadow",
|
|
6829
|
+
"md"
|
|
6830
|
+
]
|
|
6831
|
+
},
|
|
6832
|
+
"lg": {
|
|
6833
|
+
"key": "{shadow.lg}",
|
|
6834
|
+
"$value": [
|
|
6835
|
+
{
|
|
6836
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
6837
|
+
"offsetX": 0,
|
|
6838
|
+
"offsetY": 0,
|
|
6839
|
+
"blur": "2px",
|
|
6840
|
+
"spread": 0
|
|
6841
|
+
},
|
|
6842
|
+
{
|
|
6843
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
6844
|
+
"offsetX": 0,
|
|
6845
|
+
"offsetY": 0,
|
|
6846
|
+
"blur": "2px",
|
|
6847
|
+
"spread": 0
|
|
6848
|
+
},
|
|
6849
|
+
{
|
|
6850
|
+
"color": "rgba(05, 05, 06, 0.4)",
|
|
6851
|
+
"offsetX": 0,
|
|
6852
|
+
"offsetY": "4px",
|
|
6853
|
+
"blur": "12px",
|
|
6854
|
+
"spread": 0
|
|
6855
|
+
}
|
|
6856
|
+
],
|
|
6857
|
+
"$type": "shadow",
|
|
6858
|
+
"$description": "Used for large surfaces that present additional context to the user.",
|
|
6859
|
+
"$extensions": {
|
|
6860
|
+
"com.figma.scope": []
|
|
6861
|
+
},
|
|
6862
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
6863
|
+
"isSource": true,
|
|
6864
|
+
"original": {
|
|
6865
|
+
"$value": [
|
|
6866
|
+
{
|
|
6867
|
+
"color": "{shadow.color.default}",
|
|
6868
|
+
"offsetX": 0,
|
|
6869
|
+
"offsetY": 0,
|
|
6870
|
+
"blur": "2px",
|
|
6871
|
+
"spread": 0
|
|
6872
|
+
},
|
|
6873
|
+
{
|
|
6874
|
+
"color": "{shadow.color.default}",
|
|
6875
|
+
"offsetX": 0,
|
|
6876
|
+
"offsetY": 0,
|
|
6877
|
+
"blur": "2px",
|
|
6878
|
+
"spread": 0
|
|
6879
|
+
},
|
|
6880
|
+
{
|
|
6881
|
+
"color": "{shadow.color.default}",
|
|
6882
|
+
"offsetX": 0,
|
|
6883
|
+
"offsetY": "4px",
|
|
6884
|
+
"blur": "12px",
|
|
6885
|
+
"spread": 0
|
|
6886
|
+
}
|
|
6887
|
+
],
|
|
6888
|
+
"$type": "shadow",
|
|
6889
|
+
"$description": "Used for large surfaces that present additional context to the user.",
|
|
6890
|
+
"$extensions": {
|
|
6891
|
+
"com.figma.scope": []
|
|
6892
|
+
},
|
|
6893
|
+
"key": "{shadow.lg}"
|
|
6894
|
+
},
|
|
6895
|
+
"name": "SHADOW_LG",
|
|
6896
|
+
"attributes": {},
|
|
6897
|
+
"path": [
|
|
6898
|
+
"shadow",
|
|
6899
|
+
"lg"
|
|
6900
|
+
]
|
|
6901
|
+
},
|
|
6902
|
+
"color": {
|
|
6903
|
+
"default": {
|
|
6904
|
+
"key": "{shadow.color.default}",
|
|
6905
|
+
"$value": "rgba(05, 05, 06, 0.4)",
|
|
6906
|
+
"$type": "color",
|
|
6907
|
+
"$description": "Used for the default shadow color.",
|
|
6908
|
+
"$extensions": {
|
|
6909
|
+
"com.figma.scope": [
|
|
6910
|
+
"EFFECT_COLOR"
|
|
6911
|
+
]
|
|
6912
|
+
},
|
|
6913
|
+
"filePath": "src/tokens/semantic/shadow.tokens.json",
|
|
6914
|
+
"isSource": true,
|
|
6915
|
+
"original": {
|
|
6916
|
+
"$value": {
|
|
6917
|
+
"default": "{color.alpha.dark.16}",
|
|
6918
|
+
"dark": "{color.alpha.dark.40}"
|
|
6919
|
+
},
|
|
6920
|
+
"$type": "color",
|
|
6921
|
+
"$description": "Used for the default shadow color.",
|
|
6922
|
+
"$extensions": {
|
|
6923
|
+
"com.figma.scope": [
|
|
6924
|
+
"EFFECT_COLOR"
|
|
6925
|
+
]
|
|
6926
|
+
},
|
|
6927
|
+
"key": "{shadow.color.default}"
|
|
6928
|
+
},
|
|
6929
|
+
"name": "SHADOW_COLOR_DEFAULT",
|
|
6930
|
+
"attributes": {},
|
|
6931
|
+
"path": [
|
|
6932
|
+
"shadow",
|
|
6933
|
+
"color",
|
|
6934
|
+
"default"
|
|
6935
|
+
]
|
|
6936
|
+
}
|
|
6937
|
+
}
|
|
6938
|
+
},
|
|
6705
6939
|
"spacing-scale": {
|
|
6706
6940
|
"0": {
|
|
6707
6941
|
"key": "{spacing-scale.0}",
|
|
@@ -36057,44 +36291,6 @@
|
|
|
36057
36291
|
}
|
|
36058
36292
|
}
|
|
36059
36293
|
},
|
|
36060
|
-
"shadow": {
|
|
36061
|
-
"color": {
|
|
36062
|
-
"default": {
|
|
36063
|
-
"key": "{shadow.color.default}",
|
|
36064
|
-
"$value": "rgba(05, 05, 06, 0.4)",
|
|
36065
|
-
"$type": "color",
|
|
36066
|
-
"$description": "Used for the default shadow color.",
|
|
36067
|
-
"$extensions": {
|
|
36068
|
-
"com.figma.scope": [
|
|
36069
|
-
"EFFECT_COLOR"
|
|
36070
|
-
]
|
|
36071
|
-
},
|
|
36072
|
-
"filePath": "src/tokens/semantic/shadow.tokens.json",
|
|
36073
|
-
"isSource": true,
|
|
36074
|
-
"original": {
|
|
36075
|
-
"$value": {
|
|
36076
|
-
"default": "{color.alpha.dark.16}",
|
|
36077
|
-
"dark": "{color.alpha.dark.40}"
|
|
36078
|
-
},
|
|
36079
|
-
"$type": "color",
|
|
36080
|
-
"$description": "Used for the default shadow color.",
|
|
36081
|
-
"$extensions": {
|
|
36082
|
-
"com.figma.scope": [
|
|
36083
|
-
"EFFECT_COLOR"
|
|
36084
|
-
]
|
|
36085
|
-
},
|
|
36086
|
-
"key": "{shadow.color.default}"
|
|
36087
|
-
},
|
|
36088
|
-
"name": "SHADOW_COLOR_DEFAULT",
|
|
36089
|
-
"attributes": {},
|
|
36090
|
-
"path": [
|
|
36091
|
-
"shadow",
|
|
36092
|
-
"color",
|
|
36093
|
-
"default"
|
|
36094
|
-
]
|
|
36095
|
-
}
|
|
36096
|
-
}
|
|
36097
|
-
},
|
|
36098
36294
|
"status": {
|
|
36099
36295
|
"neutral": {
|
|
36100
36296
|
"background": {
|
|
@@ -6702,6 +6702,240 @@
|
|
|
6702
6702
|
]
|
|
6703
6703
|
}
|
|
6704
6704
|
},
|
|
6705
|
+
"shadow": {
|
|
6706
|
+
"sm": {
|
|
6707
|
+
"key": "{shadow.sm}",
|
|
6708
|
+
"$value": [
|
|
6709
|
+
{
|
|
6710
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
6711
|
+
"offsetX": 0,
|
|
6712
|
+
"offsetY": 0,
|
|
6713
|
+
"blur": "2px",
|
|
6714
|
+
"spread": 0
|
|
6715
|
+
},
|
|
6716
|
+
{
|
|
6717
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
6718
|
+
"offsetX": 0,
|
|
6719
|
+
"offsetY": "1px",
|
|
6720
|
+
"blur": "4px",
|
|
6721
|
+
"spread": 0
|
|
6722
|
+
}
|
|
6723
|
+
],
|
|
6724
|
+
"$type": "shadow",
|
|
6725
|
+
"$description": "Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board.",
|
|
6726
|
+
"$extensions": {
|
|
6727
|
+
"com.figma.scope": []
|
|
6728
|
+
},
|
|
6729
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
6730
|
+
"isSource": true,
|
|
6731
|
+
"original": {
|
|
6732
|
+
"$value": [
|
|
6733
|
+
{
|
|
6734
|
+
"color": "{shadow.color.default}",
|
|
6735
|
+
"offsetX": 0,
|
|
6736
|
+
"offsetY": 0,
|
|
6737
|
+
"blur": "2px",
|
|
6738
|
+
"spread": 0
|
|
6739
|
+
},
|
|
6740
|
+
{
|
|
6741
|
+
"color": "{shadow.color.default}",
|
|
6742
|
+
"offsetX": 0,
|
|
6743
|
+
"offsetY": "1px",
|
|
6744
|
+
"blur": "4px",
|
|
6745
|
+
"spread": 0
|
|
6746
|
+
}
|
|
6747
|
+
],
|
|
6748
|
+
"$type": "shadow",
|
|
6749
|
+
"$description": "Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board.",
|
|
6750
|
+
"$extensions": {
|
|
6751
|
+
"com.figma.scope": []
|
|
6752
|
+
},
|
|
6753
|
+
"key": "{shadow.sm}"
|
|
6754
|
+
},
|
|
6755
|
+
"name": "SHADOW_SM",
|
|
6756
|
+
"attributes": {},
|
|
6757
|
+
"path": [
|
|
6758
|
+
"shadow",
|
|
6759
|
+
"sm"
|
|
6760
|
+
]
|
|
6761
|
+
},
|
|
6762
|
+
"md": {
|
|
6763
|
+
"key": "{shadow.md}",
|
|
6764
|
+
"$value": [
|
|
6765
|
+
{
|
|
6766
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
6767
|
+
"offsetX": 0,
|
|
6768
|
+
"offsetY": 0,
|
|
6769
|
+
"blur": "1px",
|
|
6770
|
+
"spread": 0
|
|
6771
|
+
},
|
|
6772
|
+
{
|
|
6773
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
6774
|
+
"offsetX": 0,
|
|
6775
|
+
"offsetY": 0,
|
|
6776
|
+
"blur": "2px",
|
|
6777
|
+
"spread": 0
|
|
6778
|
+
},
|
|
6779
|
+
{
|
|
6780
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
6781
|
+
"offsetX": 0,
|
|
6782
|
+
"offsetY": "2px",
|
|
6783
|
+
"blur": "8px",
|
|
6784
|
+
"spread": 0
|
|
6785
|
+
}
|
|
6786
|
+
],
|
|
6787
|
+
"$type": "shadow",
|
|
6788
|
+
"$description": "Used for surfaces that need boundary definition and appear on hover. For example, popovers.",
|
|
6789
|
+
"$extensions": {
|
|
6790
|
+
"com.figma.scope": []
|
|
6791
|
+
},
|
|
6792
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
6793
|
+
"isSource": true,
|
|
6794
|
+
"original": {
|
|
6795
|
+
"$value": [
|
|
6796
|
+
{
|
|
6797
|
+
"color": "{shadow.color.default}",
|
|
6798
|
+
"offsetX": 0,
|
|
6799
|
+
"offsetY": 0,
|
|
6800
|
+
"blur": "1px",
|
|
6801
|
+
"spread": 0
|
|
6802
|
+
},
|
|
6803
|
+
{
|
|
6804
|
+
"color": "{shadow.color.default}",
|
|
6805
|
+
"offsetX": 0,
|
|
6806
|
+
"offsetY": 0,
|
|
6807
|
+
"blur": "2px",
|
|
6808
|
+
"spread": 0
|
|
6809
|
+
},
|
|
6810
|
+
{
|
|
6811
|
+
"color": "{shadow.color.default}",
|
|
6812
|
+
"offsetX": 0,
|
|
6813
|
+
"offsetY": "2px",
|
|
6814
|
+
"blur": "8px",
|
|
6815
|
+
"spread": 0
|
|
6816
|
+
}
|
|
6817
|
+
],
|
|
6818
|
+
"$type": "shadow",
|
|
6819
|
+
"$description": "Used for surfaces that need boundary definition and appear on hover. For example, popovers.",
|
|
6820
|
+
"$extensions": {
|
|
6821
|
+
"com.figma.scope": []
|
|
6822
|
+
},
|
|
6823
|
+
"key": "{shadow.md}"
|
|
6824
|
+
},
|
|
6825
|
+
"name": "SHADOW_MD",
|
|
6826
|
+
"attributes": {},
|
|
6827
|
+
"path": [
|
|
6828
|
+
"shadow",
|
|
6829
|
+
"md"
|
|
6830
|
+
]
|
|
6831
|
+
},
|
|
6832
|
+
"lg": {
|
|
6833
|
+
"key": "{shadow.lg}",
|
|
6834
|
+
"$value": [
|
|
6835
|
+
{
|
|
6836
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
6837
|
+
"offsetX": 0,
|
|
6838
|
+
"offsetY": 0,
|
|
6839
|
+
"blur": "2px",
|
|
6840
|
+
"spread": 0
|
|
6841
|
+
},
|
|
6842
|
+
{
|
|
6843
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
6844
|
+
"offsetX": 0,
|
|
6845
|
+
"offsetY": 0,
|
|
6846
|
+
"blur": "2px",
|
|
6847
|
+
"spread": 0
|
|
6848
|
+
},
|
|
6849
|
+
{
|
|
6850
|
+
"color": "rgba(05, 05, 06, 0.16)",
|
|
6851
|
+
"offsetX": 0,
|
|
6852
|
+
"offsetY": "4px",
|
|
6853
|
+
"blur": "12px",
|
|
6854
|
+
"spread": 0
|
|
6855
|
+
}
|
|
6856
|
+
],
|
|
6857
|
+
"$type": "shadow",
|
|
6858
|
+
"$description": "Used for large surfaces that present additional context to the user.",
|
|
6859
|
+
"$extensions": {
|
|
6860
|
+
"com.figma.scope": []
|
|
6861
|
+
},
|
|
6862
|
+
"filePath": "src/tokens/constant/shadow.tokens.json",
|
|
6863
|
+
"isSource": true,
|
|
6864
|
+
"original": {
|
|
6865
|
+
"$value": [
|
|
6866
|
+
{
|
|
6867
|
+
"color": "{shadow.color.default}",
|
|
6868
|
+
"offsetX": 0,
|
|
6869
|
+
"offsetY": 0,
|
|
6870
|
+
"blur": "2px",
|
|
6871
|
+
"spread": 0
|
|
6872
|
+
},
|
|
6873
|
+
{
|
|
6874
|
+
"color": "{shadow.color.default}",
|
|
6875
|
+
"offsetX": 0,
|
|
6876
|
+
"offsetY": 0,
|
|
6877
|
+
"blur": "2px",
|
|
6878
|
+
"spread": 0
|
|
6879
|
+
},
|
|
6880
|
+
{
|
|
6881
|
+
"color": "{shadow.color.default}",
|
|
6882
|
+
"offsetX": 0,
|
|
6883
|
+
"offsetY": "4px",
|
|
6884
|
+
"blur": "12px",
|
|
6885
|
+
"spread": 0
|
|
6886
|
+
}
|
|
6887
|
+
],
|
|
6888
|
+
"$type": "shadow",
|
|
6889
|
+
"$description": "Used for large surfaces that present additional context to the user.",
|
|
6890
|
+
"$extensions": {
|
|
6891
|
+
"com.figma.scope": []
|
|
6892
|
+
},
|
|
6893
|
+
"key": "{shadow.lg}"
|
|
6894
|
+
},
|
|
6895
|
+
"name": "SHADOW_LG",
|
|
6896
|
+
"attributes": {},
|
|
6897
|
+
"path": [
|
|
6898
|
+
"shadow",
|
|
6899
|
+
"lg"
|
|
6900
|
+
]
|
|
6901
|
+
},
|
|
6902
|
+
"color": {
|
|
6903
|
+
"default": {
|
|
6904
|
+
"key": "{shadow.color.default}",
|
|
6905
|
+
"$value": "rgba(05, 05, 06, 0.16)",
|
|
6906
|
+
"$type": "color",
|
|
6907
|
+
"$description": "Used for the default shadow color.",
|
|
6908
|
+
"$extensions": {
|
|
6909
|
+
"com.figma.scope": [
|
|
6910
|
+
"EFFECT_COLOR"
|
|
6911
|
+
]
|
|
6912
|
+
},
|
|
6913
|
+
"filePath": "src/tokens/semantic/shadow.tokens.json",
|
|
6914
|
+
"isSource": true,
|
|
6915
|
+
"original": {
|
|
6916
|
+
"$value": {
|
|
6917
|
+
"default": "{color.alpha.dark.16}",
|
|
6918
|
+
"dark": "{color.alpha.dark.40}"
|
|
6919
|
+
},
|
|
6920
|
+
"$type": "color",
|
|
6921
|
+
"$description": "Used for the default shadow color.",
|
|
6922
|
+
"$extensions": {
|
|
6923
|
+
"com.figma.scope": [
|
|
6924
|
+
"EFFECT_COLOR"
|
|
6925
|
+
]
|
|
6926
|
+
},
|
|
6927
|
+
"key": "{shadow.color.default}"
|
|
6928
|
+
},
|
|
6929
|
+
"name": "SHADOW_COLOR_DEFAULT",
|
|
6930
|
+
"attributes": {},
|
|
6931
|
+
"path": [
|
|
6932
|
+
"shadow",
|
|
6933
|
+
"color",
|
|
6934
|
+
"default"
|
|
6935
|
+
]
|
|
6936
|
+
}
|
|
6937
|
+
}
|
|
6938
|
+
},
|
|
6705
6939
|
"spacing-scale": {
|
|
6706
6940
|
"0": {
|
|
6707
6941
|
"key": "{spacing-scale.0}",
|
|
@@ -36057,44 +36291,6 @@
|
|
|
36057
36291
|
}
|
|
36058
36292
|
}
|
|
36059
36293
|
},
|
|
36060
|
-
"shadow": {
|
|
36061
|
-
"color": {
|
|
36062
|
-
"default": {
|
|
36063
|
-
"key": "{shadow.color.default}",
|
|
36064
|
-
"$value": "rgba(05, 05, 06, 0.16)",
|
|
36065
|
-
"$type": "color",
|
|
36066
|
-
"$description": "Used for the default shadow color.",
|
|
36067
|
-
"$extensions": {
|
|
36068
|
-
"com.figma.scope": [
|
|
36069
|
-
"EFFECT_COLOR"
|
|
36070
|
-
]
|
|
36071
|
-
},
|
|
36072
|
-
"filePath": "src/tokens/semantic/shadow.tokens.json",
|
|
36073
|
-
"isSource": true,
|
|
36074
|
-
"original": {
|
|
36075
|
-
"$value": {
|
|
36076
|
-
"default": "{color.alpha.dark.16}",
|
|
36077
|
-
"dark": "{color.alpha.dark.40}"
|
|
36078
|
-
},
|
|
36079
|
-
"$type": "color",
|
|
36080
|
-
"$description": "Used for the default shadow color.",
|
|
36081
|
-
"$extensions": {
|
|
36082
|
-
"com.figma.scope": [
|
|
36083
|
-
"EFFECT_COLOR"
|
|
36084
|
-
]
|
|
36085
|
-
},
|
|
36086
|
-
"key": "{shadow.color.default}"
|
|
36087
|
-
},
|
|
36088
|
-
"name": "SHADOW_COLOR_DEFAULT",
|
|
36089
|
-
"attributes": {},
|
|
36090
|
-
"path": [
|
|
36091
|
-
"shadow",
|
|
36092
|
-
"color",
|
|
36093
|
-
"default"
|
|
36094
|
-
]
|
|
36095
|
-
}
|
|
36096
|
-
}
|
|
36097
|
-
},
|
|
36098
36294
|
"status": {
|
|
36099
36295
|
"neutral": {
|
|
36100
36296
|
"background": {
|
|
@@ -571,6 +571,7 @@ $gl-border-color-default: $gl-color-neutral-700; // Used for the default border
|
|
|
571
571
|
$gl-border-color-subtle: $gl-color-neutral-800; // Used for a subtle border in combination with the default background.
|
|
572
572
|
$gl-border-color-strong: $gl-color-neutral-600; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
573
573
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
574
|
+
$gl-shadow-color-default: $gl-color-alpha-dark-40; // Used for the default shadow color.
|
|
574
575
|
$gl-alert-neutral-border-top-color: $gl-color-neutral-400; // Used for the border center color of a neutral alert.
|
|
575
576
|
$gl-alert-neutral-border-bottom-color: $gl-color-alpha-0; // Used for the border bottom color of a neutral alert.
|
|
576
577
|
$gl-alert-info-border-top-color: $gl-color-blue-400; // Used for the border color of an info alert.
|
|
@@ -893,7 +894,6 @@ $gl-highlight-match-text-color: $gl-color-neutral-950; // Used for text within t
|
|
|
893
894
|
$gl-highlight-target-background-color: $gl-color-blue-950; // Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action.
|
|
894
895
|
$gl-highlight-target-border-color: $gl-color-blue-700; // Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states.
|
|
895
896
|
$gl-icon-color-info: $gl-color-blue-200; // Used for an icon associated with information or help.
|
|
896
|
-
$gl-shadow-color-default: $gl-color-alpha-dark-40; // Used for the default shadow color.
|
|
897
897
|
$gl-status-neutral-background-color: $gl-color-neutral-800; // Used for the background of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state.
|
|
898
898
|
$gl-status-neutral-text-color: $gl-color-neutral-200; // Used for the text of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state.
|
|
899
899
|
$gl-status-neutral-icon-color: $gl-color-neutral-300; // Used for the icon of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state.
|
|
@@ -923,6 +923,9 @@ $gl-text-color-success: $gl-color-green-300; // Used for text indicating success
|
|
|
923
923
|
$gl-text-color-disabled: $gl-color-neutral-400; // Used for disabled text.
|
|
924
924
|
$gl-border-radius-default: $gl-border-radius-md;
|
|
925
925
|
$gl-border-color-section: $gl-background-color-default; // Used for the border color that surrounds content or elements when they appear as a closed container or closed section of the page.
|
|
926
|
+
$gl-shadow-sm: 0 0 2px $gl-shadow-color-default, 0 1px 4px $gl-shadow-color-default; // Used for surfaces that need to indicate users can manually interact with them. For example, cards in issue board.
|
|
927
|
+
$gl-shadow-md: 0 0 1px $gl-shadow-color-default, 0 0 2px $gl-shadow-color-default, 0 2px 8px $gl-shadow-color-default; // Used for surfaces that need boundary definition and appear on hover. For example, popovers.
|
|
928
|
+
$gl-shadow-lg: 0 0 2px $gl-shadow-color-default, 0 0 2px $gl-shadow-color-default, 0 4px 12px $gl-shadow-color-default; // Used for large surfaces that present additional context to the user.
|
|
926
929
|
$gl-alert-neutral-title-color: $gl-text-color-heading; // Used for the title color of a neutral alert.
|
|
927
930
|
$gl-alert-neutral-background-color: $gl-feedback-neutral-background-color; // Used for the background color of a neutral alert.
|
|
928
931
|
$gl-alert-info-title-color: $gl-color-blue-300; // Used for the title color of an info alert.
|