@vinyasa/tokens 1.0.19 → 1.0.20
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/cjs/index.cjs +12 -1
- package/dist/esm/contract.css.d.ts +4 -0
- package/dist/esm/index.js +12 -1
- package/dist/esm/primitives.d.ts +3 -0
- package/dist/esm/theme.d.ts +4 -0
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -48,6 +48,7 @@ var themeContract = {
|
|
|
48
48
|
error: 'var(--vinyasa-error)',
|
|
49
49
|
onError: 'var(--vinyasa-on-error)',
|
|
50
50
|
focus: 'var(--vinyasa-focus)',
|
|
51
|
+
textMuted: 'var(--vinyasa-text-muted)',
|
|
51
52
|
space1: 'var(--vinyasa-space1)',
|
|
52
53
|
space2: 'var(--vinyasa-space2)',
|
|
53
54
|
space3: 'var(--vinyasa-space3)',
|
|
@@ -66,6 +67,9 @@ var themeContract = {
|
|
|
66
67
|
fontSizeMd: 'var(--vinyasa-font-size-md)',
|
|
67
68
|
fontSizeLg: 'var(--vinyasa-font-size-lg)',
|
|
68
69
|
fontSizeXl: 'var(--vinyasa-font-size-xl)',
|
|
70
|
+
fontSize2xl: 'var(--vinyasa-font-size2xl)',
|
|
71
|
+
fontSize3xl: 'var(--vinyasa-font-size3xl)',
|
|
72
|
+
fontSize4xl: 'var(--vinyasa-font-size4xl)',
|
|
69
73
|
fontWeightRegular: 'var(--vinyasa-font-weight-regular)',
|
|
70
74
|
fontWeightMedium: 'var(--vinyasa-font-weight-medium)',
|
|
71
75
|
fontWeightSemibold: 'var(--vinyasa-font-weight-semibold)',
|
|
@@ -152,7 +156,10 @@ const fontSize = {
|
|
|
152
156
|
sm: '0.875rem',
|
|
153
157
|
md: '1rem',
|
|
154
158
|
lg: '1.125rem',
|
|
155
|
-
xl: '1.25rem'
|
|
159
|
+
xl: '1.25rem',
|
|
160
|
+
'2xl': '1.5rem',
|
|
161
|
+
'3xl': '1.875rem',
|
|
162
|
+
'4xl': '2.25rem'
|
|
156
163
|
};
|
|
157
164
|
const fontWeight = {
|
|
158
165
|
regular: '400',
|
|
@@ -238,6 +245,7 @@ const defaultTheme = {
|
|
|
238
245
|
error: red["600"],
|
|
239
246
|
onError: '#ffffff',
|
|
240
247
|
focus: blue["500"],
|
|
248
|
+
textMuted: gray["500"],
|
|
241
249
|
space1: space["1"],
|
|
242
250
|
space2: space["2"],
|
|
243
251
|
space3: space["3"],
|
|
@@ -256,6 +264,9 @@ const defaultTheme = {
|
|
|
256
264
|
fontSizeMd: fontSize.md,
|
|
257
265
|
fontSizeLg: fontSize.lg,
|
|
258
266
|
fontSizeXl: fontSize.xl,
|
|
267
|
+
fontSize2xl: fontSize["2xl"],
|
|
268
|
+
fontSize3xl: fontSize["3xl"],
|
|
269
|
+
fontSize4xl: fontSize["4xl"],
|
|
259
270
|
fontWeightRegular: fontWeight.regular,
|
|
260
271
|
fontWeightMedium: fontWeight.medium,
|
|
261
272
|
fontWeightSemibold: fontWeight.semibold,
|
|
@@ -8,6 +8,7 @@ export declare const themeContract: {
|
|
|
8
8
|
error: `var(--${string})`;
|
|
9
9
|
onError: `var(--${string})`;
|
|
10
10
|
focus: `var(--${string})`;
|
|
11
|
+
textMuted: `var(--${string})`;
|
|
11
12
|
space1: `var(--${string})`;
|
|
12
13
|
space2: `var(--${string})`;
|
|
13
14
|
space3: `var(--${string})`;
|
|
@@ -26,6 +27,9 @@ export declare const themeContract: {
|
|
|
26
27
|
fontSizeMd: `var(--${string})`;
|
|
27
28
|
fontSizeLg: `var(--${string})`;
|
|
28
29
|
fontSizeXl: `var(--${string})`;
|
|
30
|
+
fontSize2xl: `var(--${string})`;
|
|
31
|
+
fontSize3xl: `var(--${string})`;
|
|
32
|
+
fontSize4xl: `var(--${string})`;
|
|
29
33
|
fontWeightRegular: `var(--${string})`;
|
|
30
34
|
fontWeightMedium: `var(--${string})`;
|
|
31
35
|
fontWeightSemibold: `var(--${string})`;
|
package/dist/esm/index.js
CHANGED
|
@@ -11,6 +11,7 @@ var themeContract = {
|
|
|
11
11
|
error: 'var(--vinyasa-error)',
|
|
12
12
|
onError: 'var(--vinyasa-on-error)',
|
|
13
13
|
focus: 'var(--vinyasa-focus)',
|
|
14
|
+
textMuted: 'var(--vinyasa-text-muted)',
|
|
14
15
|
space1: 'var(--vinyasa-space1)',
|
|
15
16
|
space2: 'var(--vinyasa-space2)',
|
|
16
17
|
space3: 'var(--vinyasa-space3)',
|
|
@@ -29,6 +30,9 @@ var themeContract = {
|
|
|
29
30
|
fontSizeMd: 'var(--vinyasa-font-size-md)',
|
|
30
31
|
fontSizeLg: 'var(--vinyasa-font-size-lg)',
|
|
31
32
|
fontSizeXl: 'var(--vinyasa-font-size-xl)',
|
|
33
|
+
fontSize2xl: 'var(--vinyasa-font-size2xl)',
|
|
34
|
+
fontSize3xl: 'var(--vinyasa-font-size3xl)',
|
|
35
|
+
fontSize4xl: 'var(--vinyasa-font-size4xl)',
|
|
32
36
|
fontWeightRegular: 'var(--vinyasa-font-weight-regular)',
|
|
33
37
|
fontWeightMedium: 'var(--vinyasa-font-weight-medium)',
|
|
34
38
|
fontWeightSemibold: 'var(--vinyasa-font-weight-semibold)',
|
|
@@ -115,7 +119,10 @@ const fontSize = {
|
|
|
115
119
|
sm: '0.875rem',
|
|
116
120
|
md: '1rem',
|
|
117
121
|
lg: '1.125rem',
|
|
118
|
-
xl: '1.25rem'
|
|
122
|
+
xl: '1.25rem',
|
|
123
|
+
'2xl': '1.5rem',
|
|
124
|
+
'3xl': '1.875rem',
|
|
125
|
+
'4xl': '2.25rem'
|
|
119
126
|
};
|
|
120
127
|
const fontWeight = {
|
|
121
128
|
regular: '400',
|
|
@@ -178,6 +185,7 @@ const defaultTheme = {
|
|
|
178
185
|
error: red["600"],
|
|
179
186
|
onError: '#ffffff',
|
|
180
187
|
focus: blue["500"],
|
|
188
|
+
textMuted: gray["500"],
|
|
181
189
|
space1: space["1"],
|
|
182
190
|
space2: space["2"],
|
|
183
191
|
space3: space["3"],
|
|
@@ -196,6 +204,9 @@ const defaultTheme = {
|
|
|
196
204
|
fontSizeMd: fontSize.md,
|
|
197
205
|
fontSizeLg: fontSize.lg,
|
|
198
206
|
fontSizeXl: fontSize.xl,
|
|
207
|
+
fontSize2xl: fontSize["2xl"],
|
|
208
|
+
fontSize3xl: fontSize["3xl"],
|
|
209
|
+
fontSize4xl: fontSize["4xl"],
|
|
199
210
|
fontWeightRegular: fontWeight.regular,
|
|
200
211
|
fontWeightMedium: fontWeight.medium,
|
|
201
212
|
fontWeightSemibold: fontWeight.semibold,
|
package/dist/esm/primitives.d.ts
CHANGED
|
@@ -48,6 +48,9 @@ export declare const fontSize: {
|
|
|
48
48
|
readonly md: "1rem";
|
|
49
49
|
readonly lg: "1.125rem";
|
|
50
50
|
readonly xl: "1.25rem";
|
|
51
|
+
readonly '2xl': "1.5rem";
|
|
52
|
+
readonly '3xl': "1.875rem";
|
|
53
|
+
readonly '4xl': "2.25rem";
|
|
51
54
|
};
|
|
52
55
|
export declare const fontWeight: {
|
|
53
56
|
readonly regular: "400";
|
package/dist/esm/theme.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export interface VinyasaTheme {
|
|
|
8
8
|
error: string;
|
|
9
9
|
onError: string;
|
|
10
10
|
focus: string;
|
|
11
|
+
textMuted: string;
|
|
11
12
|
space1: string;
|
|
12
13
|
space2: string;
|
|
13
14
|
space3: string;
|
|
@@ -26,6 +27,9 @@ export interface VinyasaTheme {
|
|
|
26
27
|
fontSizeMd: string;
|
|
27
28
|
fontSizeLg: string;
|
|
28
29
|
fontSizeXl: string;
|
|
30
|
+
fontSize2xl: string;
|
|
31
|
+
fontSize3xl: string;
|
|
32
|
+
fontSize4xl: string;
|
|
29
33
|
fontWeightRegular: string;
|
|
30
34
|
fontWeightMedium: string;
|
|
31
35
|
fontWeightSemibold: string;
|