@dialpad/dialtone-tokens 1.0.1 → 1.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/README.md +35 -2
- package/dist/android/colors.xml +100 -0
- package/dist/android/dimens.xml +91 -0
- package/dist/css/variables.css +323 -0
- package/dist/ios/dialtone.swift +329 -0
- package/dist/less/variables.less +320 -0
- package/dist/tokens.json +318 -0
- package/package.json +5 -3
- package/dist/less/_variables.less +0 -239
package/dist/tokens.json
ADDED
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dtTokenSetOrder0": "base",
|
|
3
|
+
"dtTokenSetOrder1": "semantic",
|
|
4
|
+
"dtTokenSetOrder2": "components/button",
|
|
5
|
+
"dtTokenSetOrder3": "components/badge",
|
|
6
|
+
"dtButtonColorBackgroundDefault": "transparent",
|
|
7
|
+
"dtButtonColorBackgroundPrimary": "#7C52FF",
|
|
8
|
+
"dtButtonColorBackgroundDanger": "#FF2E2E",
|
|
9
|
+
"dtButtonColorTextDefault": "#7C52FF",
|
|
10
|
+
"dtButtonColorTextPrimary": "#fff",
|
|
11
|
+
"dtButtonColorTextDanger": "#fff",
|
|
12
|
+
"dtButtonBorderRadiusExtraSmall": "0.7rem",
|
|
13
|
+
"dtButtonBorderRadiusSmall": "0.75rem",
|
|
14
|
+
"dtButtonBorderRadiusMedium": "0.8rem",
|
|
15
|
+
"dtButtonBorderRadiusLarge": "0.9rem",
|
|
16
|
+
"dtButtonBorderRadiusExtraLarge": "1rem",
|
|
17
|
+
"dtButtonSpaceGap": "16px",
|
|
18
|
+
"dtButtonPaddingHorizontalExtraSmall": "15px",
|
|
19
|
+
"dtButtonPaddingHorizontalSmall": "15px",
|
|
20
|
+
"dtButtonPaddingHorizontalMedium": "15px",
|
|
21
|
+
"dtButtonPaddingHorizontalLarge": "63px",
|
|
22
|
+
"dtButtonPaddingHorizontalExtraLarge": "15px",
|
|
23
|
+
"dtButtonPaddingVerticalExtraSmall": "13px",
|
|
24
|
+
"dtButtonPaddingVerticalSmall": "13px",
|
|
25
|
+
"dtButtonPaddingVerticalMedium": "15px",
|
|
26
|
+
"dtButtonPaddingVerticalLarge": "31px",
|
|
27
|
+
"dtButtonPaddingVerticalExtraLarge": "31px",
|
|
28
|
+
"dtButtonFontSizeExtraSmall": "1.2rem",
|
|
29
|
+
"dtButtonFontSizeSmall": "1.2rem",
|
|
30
|
+
"dtButtonFontSizeMedium": "1.5rem",
|
|
31
|
+
"dtButtonFontSizeLarge": "1.9rem",
|
|
32
|
+
"dtButtonFontSizeExtraLarge": "2.7rem",
|
|
33
|
+
"dtButtonLineHeightSizeExtraSmall": "120%",
|
|
34
|
+
"dtButtonLineHeightSizeSmall": "140%",
|
|
35
|
+
"dtButtonLineHeightSizeMedium": "140%",
|
|
36
|
+
"dtButtonLineHeightSizeLarge": "160%",
|
|
37
|
+
"dtButtonLineHeightSizeExtraLarge": "160%",
|
|
38
|
+
"dtColorTextPrimary": "#000000",
|
|
39
|
+
"dtColorTextSecondary": "#3A3A3A",
|
|
40
|
+
"dtColorTextTertiary": "#555555",
|
|
41
|
+
"dtColorTextMuted": "#22222280",
|
|
42
|
+
"dtColorTextPlaceholder": "#808080",
|
|
43
|
+
"dtColorTextDisabled": "#808080",
|
|
44
|
+
"dtColorTextError": "#A41111",
|
|
45
|
+
"dtColorTextSuccess": "#00671D",
|
|
46
|
+
"dtColorTextWarning": "#815008",
|
|
47
|
+
"dtColorTextOnDarkPrimary": "#F9F9F9",
|
|
48
|
+
"dtColorTextOnDarkSecondary": "#D2D2D2",
|
|
49
|
+
"dtColorSurfacePrimary": "#fff",
|
|
50
|
+
"dtColorSurfaceSecondary": "#F9F9F9",
|
|
51
|
+
"dtColorSurfaceModerate": "#EDEDED",
|
|
52
|
+
"dtColorSurfaceBold": "#BBBBBB",
|
|
53
|
+
"dtColorSurfaceStrong": "#555555",
|
|
54
|
+
"dtColorSurfaceContrast": "#222222",
|
|
55
|
+
"dtColorBlack100": "#F9F9F9",
|
|
56
|
+
"dtColorBlack200": "#E9E9E9",
|
|
57
|
+
"dtColorBlack300": "#D2D2D2",
|
|
58
|
+
"dtColorBlack400": "#AAAAAA",
|
|
59
|
+
"dtColorBlack500": "#808080",
|
|
60
|
+
"dtColorBlack600": "#555555",
|
|
61
|
+
"dtColorBlack700": "#3A3A3A",
|
|
62
|
+
"dtColorBlack800": "#222222",
|
|
63
|
+
"dtColorBlack900": "#000000",
|
|
64
|
+
"dtColorPurple100": "#EEE5FF",
|
|
65
|
+
"dtColorPurple200": "#D3BCFF",
|
|
66
|
+
"dtColorPurple300": "#AB7EFF",
|
|
67
|
+
"dtColorPurple400": "#7C52FF",
|
|
68
|
+
"dtColorPurple500": "#3A1D95",
|
|
69
|
+
"dtColorPurple600": "#10022C",
|
|
70
|
+
"dtColorBlue100": "#E3EDF9",
|
|
71
|
+
"dtColorBlue200": "#84BDFF",
|
|
72
|
+
"dtColorBlue300": "#51A0FE",
|
|
73
|
+
"dtColorBlue400": "#1768C6",
|
|
74
|
+
"dtColorBlue500": "#01326D",
|
|
75
|
+
"dtColorMagenta100": "#FF97D2",
|
|
76
|
+
"dtColorMagenta200": "#F756B1",
|
|
77
|
+
"dtColorMagenta300": "#F9008E",
|
|
78
|
+
"dtColorMagenta400": "#8C0E56",
|
|
79
|
+
"dtColorMagenta500": "#541A3B",
|
|
80
|
+
"dtColorGold100": "#FFE793",
|
|
81
|
+
"dtColorGold200": "#FFD362",
|
|
82
|
+
"dtColorGold300": "#F6AB3C",
|
|
83
|
+
"dtColorGold400": "#D28F2B",
|
|
84
|
+
"dtColorGold500": "#815008",
|
|
85
|
+
"dtColorGreen100": "#DDF4D9",
|
|
86
|
+
"dtColorGreen200": "#9FFF90",
|
|
87
|
+
"dtColorGreen300": "#45F777",
|
|
88
|
+
"dtColorGreen400": "#1AA340",
|
|
89
|
+
"dtColorGreen500": "#124620",
|
|
90
|
+
"dtColorRed100": "#FFDCDC",
|
|
91
|
+
"dtColorRed200": "#FF7474",
|
|
92
|
+
"dtColorRed300": "#FF2E2E",
|
|
93
|
+
"dtColorRed400": "#A41111",
|
|
94
|
+
"dtColorRed500": "#540000",
|
|
95
|
+
"dtColorTan100": "#F2F0EE",
|
|
96
|
+
"dtColorTan200": "#CEC8C4",
|
|
97
|
+
"dtColorTan300": "#87807B",
|
|
98
|
+
"dtColorTan400": "#3F3D3C",
|
|
99
|
+
"dtColorTan500": "#121212",
|
|
100
|
+
"dtColorNeutralWhite": "#fff",
|
|
101
|
+
"dtColorNeutralBlack": "#000",
|
|
102
|
+
"dtOpacity0": 0,
|
|
103
|
+
"dtOpacity100": 0.05,
|
|
104
|
+
"dtOpacity200": 0.1,
|
|
105
|
+
"dtOpacity300": 0.2,
|
|
106
|
+
"dtOpacity400": 0.25,
|
|
107
|
+
"dtOpacity500": 0.3,
|
|
108
|
+
"dtOpacity600": 0.4,
|
|
109
|
+
"dtOpacity700": 0.5,
|
|
110
|
+
"dtOpacity800": 0.6,
|
|
111
|
+
"dtOpacity900": 0.7,
|
|
112
|
+
"dtOpacity1000": 0.75,
|
|
113
|
+
"dtOpacity1100": 0.8,
|
|
114
|
+
"dtOpacity1200": 0.9,
|
|
115
|
+
"dtOpacity1300": 1,
|
|
116
|
+
"dtFontFamilyBody": "SF Pro, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",
|
|
117
|
+
"dtFontFamilyExpressive": "Archivo, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",
|
|
118
|
+
"dtFontFamilyMono": "SF Mono, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace",
|
|
119
|
+
"dtFontSize100": "1.2rem",
|
|
120
|
+
"dtFontSize200": "1.5rem",
|
|
121
|
+
"dtFontSize300": "1.9rem",
|
|
122
|
+
"dtFontSize400": "2.7rem",
|
|
123
|
+
"dtFontSize500": "3.8rem",
|
|
124
|
+
"dtFontSizeRoot": "1rem",
|
|
125
|
+
"dtFontLineHeight100": "100%",
|
|
126
|
+
"dtFontLineHeight200": "120%",
|
|
127
|
+
"dtFontLineHeight300": "140%",
|
|
128
|
+
"dtFontLineHeight400": "160%",
|
|
129
|
+
"dtFontLineHeight500": "180%",
|
|
130
|
+
"dtFontLineHeight600": "200%",
|
|
131
|
+
"dtFontWeightNormal": 400,
|
|
132
|
+
"dtFontWeightMedium": 500,
|
|
133
|
+
"dtFontWeightSemiBold": 600,
|
|
134
|
+
"dtFontWeightBold": 700,
|
|
135
|
+
"dtFontTextCaseUppercase": "uppercase",
|
|
136
|
+
"dtFontTextCaseLowercase": "lowercase",
|
|
137
|
+
"dtFontTextCaseCapitalize": "capitalize",
|
|
138
|
+
"dtFontTextCaseNone": "none",
|
|
139
|
+
"dtTypographyBodySmallFontFamily": "SF Pro",
|
|
140
|
+
"dtTypographyBodySmallFontWeight": 400,
|
|
141
|
+
"dtTypographyBodySmallLineHeight": "140%",
|
|
142
|
+
"dtTypographyBodySmallFontSize": "1.2rem",
|
|
143
|
+
"dtTypographyBodyBaseFontFamily": "SF Pro",
|
|
144
|
+
"dtTypographyBodyBaseFontWeight": 400,
|
|
145
|
+
"dtTypographyBodyBaseLineHeight": "160%",
|
|
146
|
+
"dtTypographyBodyBaseFontSize": "1.5rem",
|
|
147
|
+
"dtTypographyBodyCompactSmallFontFamily": "SF Pro",
|
|
148
|
+
"dtTypographyBodyCompactSmallFontWeight": 400,
|
|
149
|
+
"dtTypographyBodyCompactSmallLineHeight": "120%",
|
|
150
|
+
"dtTypographyBodyCompactSmallFontSize": "1.2rem",
|
|
151
|
+
"dtTypographyBodyCompactBaseFontFamily": "SF Pro",
|
|
152
|
+
"dtTypographyBodyCompactBaseFontWeight": 400,
|
|
153
|
+
"dtTypographyBodyCompactBaseLineHeight": "140%",
|
|
154
|
+
"dtTypographyBodyCompactBaseFontSize": "1.5rem",
|
|
155
|
+
"dtTypographyHeadlineEyebrowFontFamily": "SF Pro",
|
|
156
|
+
"dtTypographyHeadlineEyebrowFontWeight": 400,
|
|
157
|
+
"dtTypographyHeadlineEyebrowLineHeight": "140%",
|
|
158
|
+
"dtTypographyHeadlineEyebrowFontSize": "1.2rem",
|
|
159
|
+
"dtTypographyHeadlineEyebrowTextCase": "uppercase",
|
|
160
|
+
"dtTypographyHeadlineSmallFontFamily": "SF Pro",
|
|
161
|
+
"dtTypographyHeadlineSmallFontWeight": 700,
|
|
162
|
+
"dtTypographyHeadlineSmallLineHeight": "140%",
|
|
163
|
+
"dtTypographyHeadlineSmallFontSize": "1.2rem",
|
|
164
|
+
"dtTypographyHeadlineMediumFontFamily": "SF Pro",
|
|
165
|
+
"dtTypographyHeadlineMediumFontWeight": 700,
|
|
166
|
+
"dtTypographyHeadlineMediumLineHeight": "160%",
|
|
167
|
+
"dtTypographyHeadlineMediumFontSize": "1.5rem",
|
|
168
|
+
"dtTypographyHeadlineLargeFontFamily": "SF Pro",
|
|
169
|
+
"dtTypographyHeadlineLargeFontWeight": 700,
|
|
170
|
+
"dtTypographyHeadlineLargeLineHeight": "160%",
|
|
171
|
+
"dtTypographyHeadlineLargeFontSize": "1.9rem",
|
|
172
|
+
"dtTypographyHeadlineExtraLargeFontFamily": "SF Pro",
|
|
173
|
+
"dtTypographyHeadlineExtraLargeFontWeight": 500,
|
|
174
|
+
"dtTypographyHeadlineExtraLargeLineHeight": "120%",
|
|
175
|
+
"dtTypographyHeadlineExtraLargeFontSize": "2.7rem",
|
|
176
|
+
"dtTypographyHeadlineExtraExtraLargeFontFamily": "SF Pro",
|
|
177
|
+
"dtTypographyHeadlineExtraExtraLargeFontWeight": 500,
|
|
178
|
+
"dtTypographyHeadlineExtraExtraLargeLineHeight": "120%",
|
|
179
|
+
"dtTypographyHeadlineExtraExtraLargeFontSize": "3.8rem",
|
|
180
|
+
"dtTypographyHeadlineCompactSmallFontFamily": "SF Pro",
|
|
181
|
+
"dtTypographyHeadlineCompactSmallFontWeight": 700,
|
|
182
|
+
"dtTypographyHeadlineCompactSmallLineHeight": "120%",
|
|
183
|
+
"dtTypographyHeadlineCompactSmallFontSize": "1.2rem",
|
|
184
|
+
"dtTypographyHeadlineCompactBaseFontFamily": "SF Pro",
|
|
185
|
+
"dtTypographyHeadlineCompactBaseFontWeight": 700,
|
|
186
|
+
"dtTypographyHeadlineCompactBaseLineHeight": "140%",
|
|
187
|
+
"dtTypographyHeadlineCompactBaseFontSize": "1.5rem",
|
|
188
|
+
"dtTypographyLabelSmallFontFamily": "SF Pro",
|
|
189
|
+
"dtTypographyLabelSmallFontWeight": 600,
|
|
190
|
+
"dtTypographyLabelSmallLineHeight": "140%",
|
|
191
|
+
"dtTypographyLabelSmallFontSize": "1.2rem",
|
|
192
|
+
"dtTypographyLabelBaseFontFamily": "SF Pro",
|
|
193
|
+
"dtTypographyLabelBaseFontWeight": 600,
|
|
194
|
+
"dtTypographyLabelBaseLineHeight": "160%",
|
|
195
|
+
"dtTypographyLabelBaseFontSize": "1.5rem",
|
|
196
|
+
"dtTypographyLabelCompactSmallFontFamily": "SF Pro",
|
|
197
|
+
"dtTypographyLabelCompactSmallFontWeight": 600,
|
|
198
|
+
"dtTypographyLabelCompactSmallLineHeight": "120%",
|
|
199
|
+
"dtTypographyLabelCompactSmallFontSize": "1.2rem",
|
|
200
|
+
"dtTypographyLabelCompactBaseFontFamily": "SF Pro",
|
|
201
|
+
"dtTypographyLabelCompactBaseFontWeight": 600,
|
|
202
|
+
"dtTypographyLabelCompactBaseLineHeight": "140%",
|
|
203
|
+
"dtTypographyLabelCompactBaseFontSize": "1.5rem",
|
|
204
|
+
"dtTypographyLabelCompactPlainSmallFontFamily": "SF Pro",
|
|
205
|
+
"dtTypographyLabelCompactPlainSmallFontWeight": 400,
|
|
206
|
+
"dtTypographyLabelCompactPlainSmallLineHeight": "120%",
|
|
207
|
+
"dtTypographyLabelCompactPlainSmallFontSize": "1.2rem",
|
|
208
|
+
"dtTypographyLabelCompactPlainBaseFontFamily": "SF Pro",
|
|
209
|
+
"dtTypographyLabelCompactPlainBaseFontWeight": 400,
|
|
210
|
+
"dtTypographyLabelCompactPlainBaseLineHeight": "140%",
|
|
211
|
+
"dtTypographyLabelCompactPlainBaseFontSize": "1.5rem",
|
|
212
|
+
"dtTypographyLabelPlainSmallFontFamily": "SF Pro",
|
|
213
|
+
"dtTypographyLabelPlainSmallFontWeight": 400,
|
|
214
|
+
"dtTypographyLabelPlainSmallLineHeight": "140%",
|
|
215
|
+
"dtTypographyLabelPlainSmallFontSize": "1.2rem",
|
|
216
|
+
"dtTypographyLabelPlainBaseFontFamily": "SF Pro",
|
|
217
|
+
"dtTypographyLabelPlainBaseFontWeight": 400,
|
|
218
|
+
"dtTypographyLabelPlainBaseLineHeight": "160%",
|
|
219
|
+
"dtTypographyLabelPlainBaseFontSize": "1.5rem",
|
|
220
|
+
"dtTypographyHelperSmallFontFamily": "SF Pro",
|
|
221
|
+
"dtTypographyHelperSmallFontWeight": 400,
|
|
222
|
+
"dtTypographyHelperSmallLineHeight": "120%",
|
|
223
|
+
"dtTypographyHelperSmallFontSize": "1.2rem",
|
|
224
|
+
"dtTypographyHelperBaseFontFamily": "SF Pro",
|
|
225
|
+
"dtTypographyHelperBaseFontWeight": 400,
|
|
226
|
+
"dtTypographyHelperBaseLineHeight": "140%",
|
|
227
|
+
"dtTypographyHelperBaseFontSize": "1.5rem",
|
|
228
|
+
"dtTypographyCodeSmallFontFamily": "SF Mono",
|
|
229
|
+
"dtTypographyCodeSmallFontWeight": 400,
|
|
230
|
+
"dtTypographyCodeSmallLineHeight": "120%",
|
|
231
|
+
"dtTypographyCodeSmallFontSize": "1.2rem",
|
|
232
|
+
"dtTypographyCodeBaseFontFamily": "SF Mono",
|
|
233
|
+
"dtTypographyCodeBaseFontWeight": 400,
|
|
234
|
+
"dtTypographyCodeBaseLineHeight": "120%",
|
|
235
|
+
"dtTypographyCodeBaseFontSize": "1.5rem",
|
|
236
|
+
"dtSize0": "0",
|
|
237
|
+
"dtSize100": "0.1rem",
|
|
238
|
+
"dtSize200": "0.2rem",
|
|
239
|
+
"dtSize300": "0.4rem",
|
|
240
|
+
"dtSize400": "0.8rem",
|
|
241
|
+
"dtSize500": "1.6rem",
|
|
242
|
+
"dtSize600": "3.2rem",
|
|
243
|
+
"dtSize700": "6.4rem",
|
|
244
|
+
"dtSize800": "12.8rem",
|
|
245
|
+
"dtSizeBase": "0.8rem",
|
|
246
|
+
"dtSizeBorder0": "0",
|
|
247
|
+
"dtSizeBorder100": "0.1rem",
|
|
248
|
+
"dtSizeBorder200": "0.2rem",
|
|
249
|
+
"dtSizeBorder300": "0.4rem",
|
|
250
|
+
"dtSizeBorderIcon100": "0.1rem",
|
|
251
|
+
"dtSizeBorderIcon200": "0.125rem",
|
|
252
|
+
"dtSizeBorderIcon300": "0.15rem",
|
|
253
|
+
"dtSizeBorderIcon400": "0.175rem",
|
|
254
|
+
"dtSizeBorderIcon500": "0.175rem",
|
|
255
|
+
"dtSizeRadius0": "0",
|
|
256
|
+
"dtSizeRadius100": "0.1rem",
|
|
257
|
+
"dtSizeRadius200": "0.2rem",
|
|
258
|
+
"dtSizeRadius300": "0.4rem",
|
|
259
|
+
"dtSizeRadius400": "0.8rem",
|
|
260
|
+
"dtSizeRadius500": "3.2rem",
|
|
261
|
+
"dtSizeIcon100": "1.2rem",
|
|
262
|
+
"dtSizeIcon200": "1.4rem",
|
|
263
|
+
"dtSizeIcon300": "1.8rem",
|
|
264
|
+
"dtSizeIcon400": "2rem",
|
|
265
|
+
"dtSizeIcon500": "2.4rem",
|
|
266
|
+
"dtSpace0": "0px",
|
|
267
|
+
"dtSpace100": "1px",
|
|
268
|
+
"dtSpace200": "2px",
|
|
269
|
+
"dtSpace300": "4px",
|
|
270
|
+
"dtSpace400": "8px",
|
|
271
|
+
"dtSpace500": "16px",
|
|
272
|
+
"dtSpace600": "32px",
|
|
273
|
+
"dtSpace700": "64px",
|
|
274
|
+
"dtSpace800": "128px",
|
|
275
|
+
"dtSpaceBase": "8px",
|
|
276
|
+
"dtShadowSmall0X": "0",
|
|
277
|
+
"dtShadowSmall0Y": "0.2rem",
|
|
278
|
+
"dtShadowSmall0Blur": "0.4rem",
|
|
279
|
+
"dtShadowSmall0Spread": "0",
|
|
280
|
+
"dtShadowSmall0Color": "#00000026",
|
|
281
|
+
"dtShadowSmall0Type": "dropShadow",
|
|
282
|
+
"dtShadowMedium0X": "0",
|
|
283
|
+
"dtShadowMedium0Y": "0.2rem",
|
|
284
|
+
"dtShadowMedium0Blur": "0.8rem",
|
|
285
|
+
"dtShadowMedium0Spread": "0",
|
|
286
|
+
"dtShadowMedium0Color": "#00000040",
|
|
287
|
+
"dtShadowMedium0Type": "dropShadow",
|
|
288
|
+
"dtShadowLarge0X": "0",
|
|
289
|
+
"dtShadowLarge0Y": "0.2rem",
|
|
290
|
+
"dtShadowLarge0Blur": "1.6rem",
|
|
291
|
+
"dtShadowLarge0Spread": "0",
|
|
292
|
+
"dtShadowLarge0Color": "#0000004d",
|
|
293
|
+
"dtShadowLarge0Type": "dropShadow",
|
|
294
|
+
"dtShadowExtraLarge0X": "0",
|
|
295
|
+
"dtShadowExtraLarge0Y": "0.2rem",
|
|
296
|
+
"dtShadowExtraLarge0Blur": "3.2rem",
|
|
297
|
+
"dtShadowExtraLarge0Spread": "0",
|
|
298
|
+
"dtShadowExtraLarge0Color": "#0000004d",
|
|
299
|
+
"dtShadowExtraLarge0Type": "dropShadow",
|
|
300
|
+
"dtShadowCard0X": "0",
|
|
301
|
+
"dtShadowCard0Y": "0.1rem",
|
|
302
|
+
"dtShadowCard0Blur": "0.2rem",
|
|
303
|
+
"dtShadowCard0Spread": "0",
|
|
304
|
+
"dtShadowCard0Color": "#00000008",
|
|
305
|
+
"dtShadowCard0Type": "dropShadow",
|
|
306
|
+
"dtShadowCard1X": "0",
|
|
307
|
+
"dtShadowCard1Y": "0.2rem",
|
|
308
|
+
"dtShadowCard1Blur": "0.4rem",
|
|
309
|
+
"dtShadowCard1Spread": "0",
|
|
310
|
+
"dtShadowCard1Color": "#0000000a",
|
|
311
|
+
"dtShadowCard1Type": "dropShadow",
|
|
312
|
+
"dtShadowCard2X": "0",
|
|
313
|
+
"dtShadowCard2Y": "0.2rem",
|
|
314
|
+
"dtShadowCard2Blur": "1.6rem",
|
|
315
|
+
"dtShadowCard2Spread": "0",
|
|
316
|
+
"dtShadowCard2Color": "#00000014",
|
|
317
|
+
"dtShadowCard2Type": "dropShadow"
|
|
318
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dialpad/dialtone-tokens",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Design tokens for Dialtone.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"build": "npm run transform &&
|
|
9
|
-
"transform": "token-transformer base.json tokens/tokens.json",
|
|
8
|
+
"build": "npm run transform && ./build.js",
|
|
9
|
+
"transform": "token-transformer base.json tokens/tokens.json --expandTypography=true --expandShadow=true",
|
|
10
10
|
"prepublishOnly": "npm run build",
|
|
11
11
|
"release": "semantic-release --no-ci --extends ./release-local.config.js"
|
|
12
12
|
},
|
|
@@ -30,7 +30,9 @@
|
|
|
30
30
|
"@commitlint/cli": "^17.0.3",
|
|
31
31
|
"@commitlint/config-conventional": "^17.0.3",
|
|
32
32
|
"@semantic-release/changelog": "^6.0.1",
|
|
33
|
+
"@semantic-release/exec": "^6.0.3",
|
|
33
34
|
"@semantic-release/git": "^10.0.1",
|
|
35
|
+
"maven": "^5.0.0",
|
|
34
36
|
"style-dictionary": "^3.7.1",
|
|
35
37
|
"token-transformer": "^0.0.24"
|
|
36
38
|
}
|
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// Do not edit directly
|
|
3
|
-
// Generated on Thu, 11 Aug 2022 23:17:34 GMT
|
|
4
|
-
|
|
5
|
-
@dt-button-color-background-default: transparent;
|
|
6
|
-
@dt-button-color-background-primary: #6C3DFF;
|
|
7
|
-
@dt-button-color-background-danger: #D81616;
|
|
8
|
-
@dt-button-color-text-default: #6C3DFF;
|
|
9
|
-
@dt-button-color-text-primary: #fff;
|
|
10
|
-
@dt-button-color-text-danger: #fff;
|
|
11
|
-
@dt-button-border-radius-extra-small: 3px;
|
|
12
|
-
@dt-button-border-radius-small: 3.5px;
|
|
13
|
-
@dt-button-border-radius-medium: 4px;
|
|
14
|
-
@dt-button-border-radius-large: 5px;
|
|
15
|
-
@dt-button-border-radius-extra-large: 6px;
|
|
16
|
-
@dt-button-space-gap: 8px;
|
|
17
|
-
@dt-button-padding-horizontal-extra-small: 7px;
|
|
18
|
-
@dt-button-padding-horizontal-small: 7px;
|
|
19
|
-
@dt-button-padding-horizontal-medium: 7px;
|
|
20
|
-
@dt-button-padding-horizontal-large: 15px;
|
|
21
|
-
@dt-button-padding-horizontal-extra-large: 15px;
|
|
22
|
-
@dt-button-padding-vertical-extra-small: 5px;
|
|
23
|
-
@dt-button-padding-vertical-small: 5px;
|
|
24
|
-
@dt-button-padding-vertical-medium: 7px;
|
|
25
|
-
@dt-button-padding-vertical-large: 11px;
|
|
26
|
-
@dt-button-padding-vertical-extra-large: 11px;
|
|
27
|
-
@dt-button-font-size-extra-small: 12px;
|
|
28
|
-
@dt-button-font-size-small: 14px;
|
|
29
|
-
@dt-button-font-size-medium: 16px;
|
|
30
|
-
@dt-button-font-size-large: 20px;
|
|
31
|
-
@dt-button-font-size-extra-large: 24px;
|
|
32
|
-
@dt-button-line-height-size-extra-small: 16px;
|
|
33
|
-
@dt-button-line-height-size-small: 20px;
|
|
34
|
-
@dt-button-line-height-size-medium: 20px;
|
|
35
|
-
@dt-button-line-height-size-large: 24px;
|
|
36
|
-
@dt-button-line-height-size-extra-large: 32px;
|
|
37
|
-
@dt-color-surface-default: #ffffff;
|
|
38
|
-
@dt-color-surface-foo: #f9f9f9;
|
|
39
|
-
@dt-color-surface-bar: #ededed;
|
|
40
|
-
@dt-color-surface-baz: #bbbbbb;
|
|
41
|
-
@dt-color-surface-zar: #555555;
|
|
42
|
-
@dt-color-text-dark: #0d0c0f;
|
|
43
|
-
@dt-color-text-medium: #221f24;
|
|
44
|
-
@dt-color-text-light: #322d37;
|
|
45
|
-
@dt-color-text-lighter: #444150;
|
|
46
|
-
@dt-color-text-primary: #6c3dff;
|
|
47
|
-
@dt-color-text-success: #0a5b03;
|
|
48
|
-
@dt-color-text-error: #930000;
|
|
49
|
-
@dt-color-text-danger: #930000;
|
|
50
|
-
@dt-color-text-muted: #0d0c0f;
|
|
51
|
-
@dt-color-black-100: #cdcdd8;
|
|
52
|
-
@dt-color-black-200: #b3b0c0;
|
|
53
|
-
@dt-color-black-300: #9c99ac;
|
|
54
|
-
@dt-color-black-400: #7b7789;
|
|
55
|
-
@dt-color-black-500: #575564;
|
|
56
|
-
@dt-color-black-600: #444150;
|
|
57
|
-
@dt-color-black-700: #322d37;
|
|
58
|
-
@dt-color-black-800: #221f24;
|
|
59
|
-
@dt-color-black-900: #0d0c0f;
|
|
60
|
-
@dt-color-black-025: #f2f2f6;
|
|
61
|
-
@dt-color-black-050: #eae9ef;
|
|
62
|
-
@dt-color-black-075: #dfdee5;
|
|
63
|
-
@dt-color-purple-100: #ece1ff;
|
|
64
|
-
@dt-color-purple-200: #d1c0ff;
|
|
65
|
-
@dt-color-purple-300: #a687ff;
|
|
66
|
-
@dt-color-purple-400: #8b65ff;
|
|
67
|
-
@dt-color-purple-500: #6c3dff;
|
|
68
|
-
@dt-color-purple-600: #3a1c95;
|
|
69
|
-
@dt-color-purple-700: #2a1173;
|
|
70
|
-
@dt-color-purple-800: #160645;
|
|
71
|
-
@dt-color-orange-100: #fff0e5;
|
|
72
|
-
@dt-color-orange-200: #ffcca7;
|
|
73
|
-
@dt-color-orange-300: #ffa360;
|
|
74
|
-
@dt-color-orange-400: #ff7f23;
|
|
75
|
-
@dt-color-orange-500: #e05e00;
|
|
76
|
-
@dt-color-orange-600: #43220a;
|
|
77
|
-
@dt-color-pink-100: #ffebec;
|
|
78
|
-
@dt-color-pink-200: #ffd8da;
|
|
79
|
-
@dt-color-pink-300: #fda2a8;
|
|
80
|
-
@dt-color-pink-400: #ff578a;
|
|
81
|
-
@dt-color-pink-500: #e92a7a;
|
|
82
|
-
@dt-color-pink-600: #a2114d;
|
|
83
|
-
@dt-color-pink-700: #57102e;
|
|
84
|
-
@dt-color-yellow-100: #fff9e3;
|
|
85
|
-
@dt-color-yellow-200: #ffeeb0;
|
|
86
|
-
@dt-color-yellow-300: #ffdb59;
|
|
87
|
-
@dt-color-yellow-400: #ffce1c;
|
|
88
|
-
@dt-color-yellow-500: #ffbc0f;
|
|
89
|
-
@dt-color-yellow-600: #3f2d00;
|
|
90
|
-
@dt-color-yellow-050: #fbf8f1;
|
|
91
|
-
@dt-color-green-100: #ebffe2;
|
|
92
|
-
@dt-color-green-200: #d1ffbc;
|
|
93
|
-
@dt-color-green-300: #9cff6d;
|
|
94
|
-
@dt-color-green-400: #6bee04;
|
|
95
|
-
@dt-color-green-500: #0c9b02;
|
|
96
|
-
@dt-color-green-600: #0a5b03;
|
|
97
|
-
@dt-color-green-700: #052f01;
|
|
98
|
-
@dt-color-red-100: #fff1f1;
|
|
99
|
-
@dt-color-red-200: #ffd3d3;
|
|
100
|
-
@dt-color-red-300: #ffa7a7;
|
|
101
|
-
@dt-color-red-400: #fa4646;
|
|
102
|
-
@dt-color-red-500: #d81616;
|
|
103
|
-
@dt-color-red-600: #930000;
|
|
104
|
-
@dt-color-red-700: #480000;
|
|
105
|
-
@dt-color-neutral-white: #ffffff;
|
|
106
|
-
@dt-color-neutral-black: #000000;
|
|
107
|
-
@dt-opacity-0: 0;
|
|
108
|
-
@dt-opacity-100: 0.05;
|
|
109
|
-
@dt-opacity-200: 0.1;
|
|
110
|
-
@dt-opacity-300: 0.2;
|
|
111
|
-
@dt-opacity-400: 0.25;
|
|
112
|
-
@dt-opacity-500: 0.3;
|
|
113
|
-
@dt-opacity-600: 0.4;
|
|
114
|
-
@dt-opacity-700: 0.5;
|
|
115
|
-
@dt-opacity-800: 0.6;
|
|
116
|
-
@dt-opacity-900: 0.7;
|
|
117
|
-
@dt-opacity-1000: 0.75;
|
|
118
|
-
@dt-opacity-1100: 0.8;
|
|
119
|
-
@dt-opacity-1200: 0.9;
|
|
120
|
-
@dt-opacity-1300: 1;
|
|
121
|
-
@dt-font-family-default: Inter;
|
|
122
|
-
@dt-font-family-marketing: Archivo;
|
|
123
|
-
@dt-font-family-mono: Roboto Mono;
|
|
124
|
-
@dt-font-size-100: 10px;
|
|
125
|
-
@dt-font-size-200: 11px;
|
|
126
|
-
@dt-font-size-300: 12px;
|
|
127
|
-
@dt-font-size-400: 14px;
|
|
128
|
-
@dt-font-size-500: 16px;
|
|
129
|
-
@dt-font-size-600: 18px;
|
|
130
|
-
@dt-font-size-700: 20px;
|
|
131
|
-
@dt-font-size-800: 24px;
|
|
132
|
-
@dt-font-size-900: 28px;
|
|
133
|
-
@dt-font-size-1000: 32px;
|
|
134
|
-
@dt-font-size-1100: 36px;
|
|
135
|
-
@dt-font-size-1200: 42px;
|
|
136
|
-
@dt-font-size-1300: 48px;
|
|
137
|
-
@dt-font-size-1400: 54px;
|
|
138
|
-
@dt-font-line-height-100: 12px;
|
|
139
|
-
@dt-font-line-height-200: 16px;
|
|
140
|
-
@dt-font-line-height-300: 20px;
|
|
141
|
-
@dt-font-line-height-400: 24px;
|
|
142
|
-
@dt-font-line-height-500: 28px;
|
|
143
|
-
@dt-font-line-height-600: 32px;
|
|
144
|
-
@dt-font-line-height-700: 36px;
|
|
145
|
-
@dt-font-line-height-800: 40px;
|
|
146
|
-
@dt-font-line-height-900: 48px;
|
|
147
|
-
@dt-font-line-height-1000: 52px;
|
|
148
|
-
@dt-font-line-height-1100: 58px;
|
|
149
|
-
@dt-font-weight-normal: Regular;
|
|
150
|
-
@dt-font-weight-medium: Medium;
|
|
151
|
-
@dt-font-weight-semi-bold: Semi Bold;
|
|
152
|
-
@dt-font-weight-bold: Bold;
|
|
153
|
-
@dt-typography-body-100: [object Object];
|
|
154
|
-
@dt-typography-body-200: [object Object];
|
|
155
|
-
@dt-typography-body-300: [object Object];
|
|
156
|
-
@dt-typography-body-400: [object Object];
|
|
157
|
-
@dt-typography-body-500: [object Object];
|
|
158
|
-
@dt-typography-body-600: [object Object];
|
|
159
|
-
@dt-typography-body-700: [object Object];
|
|
160
|
-
@dt-typography-body-800: [object Object];
|
|
161
|
-
@dt-typography-body-900: [object Object];
|
|
162
|
-
@dt-typography-body-1000: [object Object];
|
|
163
|
-
@dt-typography-body-1100: [object Object];
|
|
164
|
-
@dt-typography-body-1200: [object Object];
|
|
165
|
-
@dt-typography-body-1300: [object Object];
|
|
166
|
-
@dt-typography-body-1400: [object Object];
|
|
167
|
-
@dt-typography-headline-100: [object Object];
|
|
168
|
-
@dt-typography-headline-200: [object Object];
|
|
169
|
-
@dt-typography-headline-300: [object Object];
|
|
170
|
-
@dt-typography-headline-400: [object Object];
|
|
171
|
-
@dt-typography-headline-500: [object Object];
|
|
172
|
-
@dt-typography-headline-600: [object Object];
|
|
173
|
-
@dt-typography-headline-700: [object Object];
|
|
174
|
-
@dt-typography-headline-800: [object Object];
|
|
175
|
-
@dt-size-0: 0rem;
|
|
176
|
-
@dt-size-100: 1rem;
|
|
177
|
-
@dt-size-200: 2rem;
|
|
178
|
-
@dt-size-300: 4rem;
|
|
179
|
-
@dt-size-400: 6rem;
|
|
180
|
-
@dt-size-500: 8rem;
|
|
181
|
-
@dt-size-600: 12rem;
|
|
182
|
-
@dt-size-700: 16rem;
|
|
183
|
-
@dt-size-800: 24rem;
|
|
184
|
-
@dt-size-900: 32rem;
|
|
185
|
-
@dt-size-1000: 48rem;
|
|
186
|
-
@dt-size-1100: 64rem;
|
|
187
|
-
@dt-size-1200: 72rem;
|
|
188
|
-
@dt-size-1300: 84rem;
|
|
189
|
-
@dt-size-1400: 96rem;
|
|
190
|
-
@dt-size-1500: 102rem;
|
|
191
|
-
@dt-size-1600: 114rem;
|
|
192
|
-
@dt-size-1700: 128rem;
|
|
193
|
-
@dt-size-base: 4rem;
|
|
194
|
-
@dt-size-border-0: 0rem;
|
|
195
|
-
@dt-size-border-100: 1rem;
|
|
196
|
-
@dt-size-border-200: 2rem;
|
|
197
|
-
@dt-size-border-300: 4rem;
|
|
198
|
-
@dt-size-border-400: 8rem;
|
|
199
|
-
@dt-size-border-500: 12rem;
|
|
200
|
-
@dt-size-radius-0: 0rem;
|
|
201
|
-
@dt-size-radius-100: 1rem;
|
|
202
|
-
@dt-size-radius-200: 2rem;
|
|
203
|
-
@dt-size-radius-300: 4rem;
|
|
204
|
-
@dt-size-radius-400: 8rem;
|
|
205
|
-
@dt-size-radius-500: 12rem;
|
|
206
|
-
@dt-size-radius-600: 24rem;
|
|
207
|
-
@dt-size-icon-100: 14rem;
|
|
208
|
-
@dt-size-icon-200: 16rem;
|
|
209
|
-
@dt-size-icon-300: 18rem;
|
|
210
|
-
@dt-size-icon-400: 20rem;
|
|
211
|
-
@dt-size-icon-500: 24rem;
|
|
212
|
-
@dt-size-icon-600: 32rem;
|
|
213
|
-
@dt-size-icon-700: 48rem;
|
|
214
|
-
@dt-size-icon-800: 64rem;
|
|
215
|
-
@dt-size-icon-000: 12rem;
|
|
216
|
-
@dt-space-0: 0px;
|
|
217
|
-
@dt-space-100: 1px;
|
|
218
|
-
@dt-space-200: 2px;
|
|
219
|
-
@dt-space-300: 4px;
|
|
220
|
-
@dt-space-400: 6px;
|
|
221
|
-
@dt-space-500: 8px;
|
|
222
|
-
@dt-space-600: 12px;
|
|
223
|
-
@dt-space-700: 16px;
|
|
224
|
-
@dt-space-800: 24px;
|
|
225
|
-
@dt-space-900: 32px;
|
|
226
|
-
@dt-space-1000: 48px;
|
|
227
|
-
@dt-space-1100: 64px;
|
|
228
|
-
@dt-space-1200: 72px;
|
|
229
|
-
@dt-space-1300: 84px;
|
|
230
|
-
@dt-space-1400: 96px;
|
|
231
|
-
@dt-space-1500: 102px;
|
|
232
|
-
@dt-space-1600: 114px;
|
|
233
|
-
@dt-space-1700: 128px;
|
|
234
|
-
@dt-space-base: 4px;
|
|
235
|
-
@dt-shadow-small: [object Object];
|
|
236
|
-
@dt-shadow-medium: [object Object];
|
|
237
|
-
@dt-shadow-large: [object Object];
|
|
238
|
-
@dt-shadow-extra-large: [object Object];
|
|
239
|
-
@dt-shadow-card: [object Object],[object Object],[object Object];
|