generated from netlify-templates/next-netlify-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtokenNames.ts
108 lines (90 loc) · 1.95 KB
/
tokenNames.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
export const tokenNames = {
animationDurations: ['short', 'normal', 'long'],
animationNames: [
'backdropEntry',
'backdropExit',
'blink',
'dropIn',
'dropOut',
'modalLayerEntry',
'modalLayerExit',
'modalWindowEntry',
'modalWindowExit',
],
borderRadii: ['small', 'normal', 'circle'],
borderStyles: ['dashed', 'hairline', 'none', 'normal', 'thick'],
boxShadows: ['focusRing', 'inset', 'normal'],
breakpoints: [
'bigDesktopOrLarger',
'desktopOrLarger',
'tabletOrLarger',
'phoneOrTablet',
'tabletOnly',
'phoneOnly',
'root',
],
buttonVariants: [
'caution',
'createNew',
'danger',
'iconOnly',
'link',
'link--inverted',
'pill',
'primary',
'unstyled',
],
colorAliases: [
'accent',
'background',
'background--highlighted',
'background--selected',
'background--shaded',
'border',
'primary',
'danger',
'shadow',
'text',
'text--faded',
'text--link--hovered',
'text--link',
'text--selected',
],
colorLightnesses: [100, 200, 300, 400, 500, 600, 700],
colorOpacities: [10, 20, 30, 40, 50, 60, 70, 80, 90],
colorsCore: ['blue', 'orange', 'purple', 'red', 'yellow'],
colorsUtility: [
'black',
'transparent',
'white',
'white--10',
'white--20',
'white--30',
'white--40',
'white--50',
'white--60',
'white--70',
'white--80',
'white--90',
],
colorThemes: ['dark'],
fontNames: ['body', 'display'],
fontSizes: ['xxlarge', 'xlarge', 'large', 'normal', 'small', 'xsmall'],
modalLayerVariants: ['menu', 'popover', 'tooltip', 'window'],
textVariants: ['code', 'heading--1', 'heading--2', 'heading--3', 'label'],
whitespaces: [
'xxloose',
'xloose',
'loose',
'normal',
'tight',
'xtight',
'xxtight',
],
zIndices: [
'1000--maximum',
'100--popoversAndTooltips',
'10--modalWindows',
'1--stickyElements',
],
} as const;