@tracaodev/design-tokens-vue 1.0.8 → 1.0.11
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/assets/theme_1/tokens.d.ts +101 -107
- package/dist/assets/theme_1/tokens.d.ts.map +1 -1
- package/dist/assets/theme_2/tokens.d.ts +113 -59
- package/dist/assets/theme_2/tokens.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +222 -176
- package/package.json +1 -1
- package/dist/assets 13-30-59-658/tokens.d.ts +0 -35
- package/dist/assets 13-30-59-658/tokens.d.ts.map +0 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
export declare const tokens: {
|
|
2
|
-
"color-primary-1-
|
|
3
|
-
"color-primary-1-
|
|
4
|
-
"color-primary-1-
|
|
5
|
-
"color-primary-1-
|
|
6
|
-
"color-primary-2-
|
|
7
|
-
"color-primary-2-
|
|
8
|
-
"color-primary-2-
|
|
9
|
-
"color-primary-2-
|
|
10
|
-
"color-secondary-1-
|
|
11
|
-
"color-secondary-1-
|
|
12
|
-
"color-secondary-1-
|
|
13
|
-
"color-secondary-1-
|
|
14
|
-
"color-
|
|
15
|
-
"color-
|
|
16
|
-
"color-
|
|
17
|
-
"color-
|
|
18
|
-
"color-
|
|
19
|
-
"color-
|
|
20
|
-
"color-
|
|
21
|
-
"color-additions-green
|
|
22
|
-
"color-additions-green-
|
|
23
|
-
"color-additions-yellow
|
|
24
|
-
"color-additions-yellow-
|
|
25
|
-
"color-additions-red
|
|
26
|
-
"color-additions-red-
|
|
27
|
-
"color-additions-purple
|
|
28
|
-
"color-additions-purple-
|
|
29
|
-
"color-additions-blue
|
|
30
|
-
"color-additions-blue-
|
|
2
|
+
"color-primary-1-10": string;
|
|
3
|
+
"color-primary-1-30": string;
|
|
4
|
+
"color-primary-1-50": string;
|
|
5
|
+
"color-primary-1-70": string;
|
|
6
|
+
"color-primary-2-10": string;
|
|
7
|
+
"color-primary-2-30": string;
|
|
8
|
+
"color-primary-2-50": string;
|
|
9
|
+
"color-primary-2-70": string;
|
|
10
|
+
"color-secondary-1-10": string;
|
|
11
|
+
"color-secondary-1-30": string;
|
|
12
|
+
"color-secondary-1-50": string;
|
|
13
|
+
"color-secondary-1-70": string;
|
|
14
|
+
"color-grayscale-black": string;
|
|
15
|
+
"color-grayscale-gray-1": string;
|
|
16
|
+
"color-grayscale-gray-2": string;
|
|
17
|
+
"color-grayscale-gray-3": string;
|
|
18
|
+
"color-grayscale-gray-4": string;
|
|
19
|
+
"color-grayscale-background": string;
|
|
20
|
+
"color-grayscale-white": string;
|
|
21
|
+
"color-additions-green": string;
|
|
22
|
+
"color-additions-green-light": string;
|
|
23
|
+
"color-additions-yellow": string;
|
|
24
|
+
"color-additions-yellow-light": string;
|
|
25
|
+
"color-additions-red": string;
|
|
26
|
+
"color-additions-red-light": string;
|
|
27
|
+
"color-additions-purple": string;
|
|
28
|
+
"color-additions-purple-light": string;
|
|
29
|
+
"color-additions-blue": string;
|
|
30
|
+
"color-additions-blue-light": string;
|
|
31
31
|
"corner-radius-5x": number;
|
|
32
32
|
"corner-radius-4x": number;
|
|
33
33
|
"corner-radius-3x": number;
|
|
@@ -37,96 +37,90 @@ export declare const tokens: {
|
|
|
37
37
|
"spacing-3x": number;
|
|
38
38
|
"spacing-2x": number;
|
|
39
39
|
"spacing-1x": number;
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"font-library-text-line-height-1-5x": number;
|
|
56
|
-
"font-library-text-line-height-1-75x": number;
|
|
57
|
-
"font-library-text-line-height-2x": number;
|
|
58
|
-
"font-library-text-line-height-2-25x": number;
|
|
59
|
-
"font-library-text-line-height-2-5x": number;
|
|
60
|
-
"font-library-text-line-height-3x": number;
|
|
61
|
-
"font-library-text-line-height-3-5x": number;
|
|
62
|
-
"font-library-text-line-height-4x": number;
|
|
63
|
-
"font-library-text-letter-spacing-8x": number;
|
|
64
|
-
"font-library-text-letter-spacing-4x": number;
|
|
65
|
-
"font-library-text-letter-spacing-2x": number;
|
|
66
|
-
"font-library-text-letter-spacing-1x": number;
|
|
67
|
-
"font-library-text-letter-spacing-0x": number;
|
|
68
|
-
"font-library-text-letter-spacing--1x": number;
|
|
69
|
-
"font-library-text-letter-spacing--2x": number;
|
|
70
|
-
"typefaces-title-large-font-styles": string;
|
|
71
|
-
"typefaces-title-large-text-size": number;
|
|
72
|
-
"typefaces-title-large-line-height": number;
|
|
73
|
-
"typefaces-title-large-letter-spacing": number;
|
|
74
|
-
"typefaces-title-medium-font-styles": string;
|
|
75
|
-
"typefaces-title-medium-text-size": number;
|
|
76
|
-
"typefaces-title-medium-line-height": number;
|
|
77
|
-
"typefaces-title-medium-letter-spacing": number;
|
|
78
|
-
"typefaces-title-small-text-size": number;
|
|
79
|
-
"typefaces-title-small-line-height": number;
|
|
80
|
-
"typefaces-title-small-letter-spacing": number;
|
|
81
|
-
"typefaces-title-small-font-styles": string;
|
|
82
|
-
"typefaces-headline-large-font-styles": string;
|
|
40
|
+
"typefaces-bigtitle-large-font-weight": string;
|
|
41
|
+
"typefaces-bigtitle-large-text-size": number;
|
|
42
|
+
"typefaces-bigtitle-large-text-line-height": number;
|
|
43
|
+
"typefaces-bigtitle-large-case": string;
|
|
44
|
+
"typefaces-bigtitle-large-case-2": string;
|
|
45
|
+
"typefaces-bigtitle-large-case-3": string;
|
|
46
|
+
"typefaces-bigtitle-medium-font-weight": string;
|
|
47
|
+
"typefaces-bigtitle-medium-text-size": number;
|
|
48
|
+
"typefaces-bigtitle-medium-text-line-height": number;
|
|
49
|
+
"typefaces-bigtitle-medium-case": string;
|
|
50
|
+
"typefaces-bigtitle-small-font-weight": string;
|
|
51
|
+
"typefaces-bigtitle-small-text-size": number;
|
|
52
|
+
"typefaces-bigtitle-small-text-line-height": number;
|
|
53
|
+
"typefaces-bigtitle-small-case": string;
|
|
54
|
+
"typefaces-headline-large-font-weight": string;
|
|
83
55
|
"typefaces-headline-large-text-size": number;
|
|
84
|
-
"typefaces-headline-large-line-height": number;
|
|
85
|
-
"typefaces-headline-large-letter-spacing": number;
|
|
86
|
-
"typefaces-headline-
|
|
56
|
+
"typefaces-headline-large-text-line-height": number;
|
|
57
|
+
"typefaces-headline-large-text-letter-spacing": number;
|
|
58
|
+
"typefaces-headline-large-case": string;
|
|
59
|
+
"typefaces-headline-medium-font-weight": string;
|
|
87
60
|
"typefaces-headline-medium-text-size": number;
|
|
88
|
-
"typefaces-headline-medium-line-height": number;
|
|
89
|
-
"typefaces-headline-medium-letter-spacing": number;
|
|
90
|
-
"typefaces-headline-
|
|
61
|
+
"typefaces-headline-medium-text-line-height": number;
|
|
62
|
+
"typefaces-headline-medium-text-letter-spacing": number;
|
|
63
|
+
"typefaces-headline-medium-case": string;
|
|
64
|
+
"typefaces-headline-small-font-weight": string;
|
|
91
65
|
"typefaces-headline-small-text-size": number;
|
|
92
|
-
"typefaces-headline-small-line-height": number;
|
|
93
|
-
"typefaces-headline-small-letter-spacing": number;
|
|
94
|
-
"typefaces-
|
|
66
|
+
"typefaces-headline-small-text-line-height": number;
|
|
67
|
+
"typefaces-headline-small-text-letter-spacing": number;
|
|
68
|
+
"typefaces-headline-small-case": string;
|
|
69
|
+
"typefaces-title-large-font-weight": string;
|
|
70
|
+
"typefaces-title-large-text-size": number;
|
|
71
|
+
"typefaces-title-large-text-line-height": number;
|
|
72
|
+
"typefaces-title-large-text-letter-spacing": number;
|
|
73
|
+
"typefaces-title-large-case": string;
|
|
74
|
+
"typefaces-title-medium-font-weight": string;
|
|
75
|
+
"typefaces-title-medium-text-size": number;
|
|
76
|
+
"typefaces-title-medium-text-line-height": number;
|
|
77
|
+
"typefaces-title-medium-case": string;
|
|
78
|
+
"typefaces-title-small-font-weight": string;
|
|
79
|
+
"typefaces-title-small-text-size": number;
|
|
80
|
+
"typefaces-title-small-text-line-height": number;
|
|
81
|
+
"typefaces-title-small-case": string;
|
|
82
|
+
"typefaces-body-large-font-weight": string;
|
|
95
83
|
"typefaces-body-large-text-size": number;
|
|
96
|
-
"typefaces-body-large-line-height": number;
|
|
97
|
-
"typefaces-body-large-letter-spacing": number;
|
|
98
|
-
"typefaces-body-
|
|
84
|
+
"typefaces-body-large-text-line-height": number;
|
|
85
|
+
"typefaces-body-large-text-letter-spacing": number;
|
|
86
|
+
"typefaces-body-large-case": string;
|
|
87
|
+
"typefaces-body-medium-font-weight": string;
|
|
99
88
|
"typefaces-body-medium-text-size": number;
|
|
100
|
-
"typefaces-body-medium-line-height": number;
|
|
101
|
-
"typefaces-body-medium-
|
|
102
|
-
"typefaces-body-small-font-
|
|
89
|
+
"typefaces-body-medium-text-line-height": number;
|
|
90
|
+
"typefaces-body-medium-case": string;
|
|
91
|
+
"typefaces-body-small-font-weight": string;
|
|
103
92
|
"typefaces-body-small-text-size": number;
|
|
104
|
-
"typefaces-body-small-line-height": number;
|
|
105
|
-
"typefaces-body-small-
|
|
106
|
-
"typefaces-subtitle-large-font-
|
|
93
|
+
"typefaces-body-small-text-line-height": number;
|
|
94
|
+
"typefaces-body-small-case": string;
|
|
95
|
+
"typefaces-subtitle-large-font-weight": string;
|
|
107
96
|
"typefaces-subtitle-large-text-size": number;
|
|
108
|
-
"typefaces-subtitle-large-line-height": number;
|
|
109
|
-
"typefaces-subtitle-large-letter-spacing": number;
|
|
110
|
-
"typefaces-subtitle-
|
|
97
|
+
"typefaces-subtitle-large-text-line-height": number;
|
|
98
|
+
"typefaces-subtitle-large-text-letter-spacing": number;
|
|
99
|
+
"typefaces-subtitle-large-case": string;
|
|
100
|
+
"typefaces-subtitle-medium-font-weight": string;
|
|
111
101
|
"typefaces-subtitle-medium-text-size": number;
|
|
112
|
-
"typefaces-subtitle-medium-line-height": number;
|
|
113
|
-
"typefaces-subtitle-medium-letter-spacing": number;
|
|
114
|
-
"typefaces-subtitle-
|
|
102
|
+
"typefaces-subtitle-medium-text-line-height": number;
|
|
103
|
+
"typefaces-subtitle-medium-text-letter-spacing": number;
|
|
104
|
+
"typefaces-subtitle-medium-case": string;
|
|
105
|
+
"typefaces-subtitle-small-font-weight": string;
|
|
115
106
|
"typefaces-subtitle-small-text-size": number;
|
|
116
|
-
"typefaces-subtitle-small-line-height": number;
|
|
117
|
-
"typefaces-subtitle-small-letter-spacing": number;
|
|
118
|
-
"typefaces-
|
|
107
|
+
"typefaces-subtitle-small-text-line-height": number;
|
|
108
|
+
"typefaces-subtitle-small-text-letter-spacing": number;
|
|
109
|
+
"typefaces-subtitle-small-case": string;
|
|
110
|
+
"typefaces-hyperlink-large-font-weight": string;
|
|
119
111
|
"typefaces-hyperlink-large-text-size": number;
|
|
120
|
-
"typefaces-hyperlink-large-line-height": number;
|
|
121
|
-
"typefaces-hyperlink-large-letter-spacing": number;
|
|
122
|
-
"typefaces-hyperlink-
|
|
112
|
+
"typefaces-hyperlink-large-text-line-height": number;
|
|
113
|
+
"typefaces-hyperlink-large-text-letter-spacing": number;
|
|
114
|
+
"typefaces-hyperlink-large-case": string;
|
|
115
|
+
"typefaces-hyperlink-medium-font-weight": string;
|
|
123
116
|
"typefaces-hyperlink-medium-text-size": number;
|
|
124
|
-
"typefaces-hyperlink-medium-line-height": number;
|
|
125
|
-
"typefaces-hyperlink-medium-
|
|
126
|
-
"typefaces-hyperlink-small-font-
|
|
117
|
+
"typefaces-hyperlink-medium-text-line-height": number;
|
|
118
|
+
"typefaces-hyperlink-medium-case": string;
|
|
119
|
+
"typefaces-hyperlink-small-font-weight": string;
|
|
127
120
|
"typefaces-hyperlink-small-text-size": number;
|
|
128
|
-
"typefaces-hyperlink-small-line-height": number;
|
|
129
|
-
"typefaces-hyperlink-small-
|
|
121
|
+
"typefaces-hyperlink-small-text-line-height": number;
|
|
122
|
+
"typefaces-hyperlink-small-case": string;
|
|
130
123
|
};
|
|
131
124
|
export type TokenKeys = keyof typeof tokens;
|
|
125
|
+
export declare const tokensList: string[];
|
|
132
126
|
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/assets/theme_1/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/assets/theme_1/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HlB,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,MAAM,CAAC;AAC5C,eAAO,MAAM,UAAU,UAAujI,CAAC"}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
export declare const tokens: {
|
|
2
|
-
"color-primary-1-
|
|
3
|
-
"color-primary-1-
|
|
4
|
-
"color-primary-1-
|
|
5
|
-
"color-primary-1-
|
|
6
|
-
"color-primary-2-
|
|
7
|
-
"color-primary-2-
|
|
8
|
-
"color-primary-2-
|
|
9
|
-
"color-primary-2-
|
|
10
|
-
"color-secondary-1-
|
|
11
|
-
"color-secondary-1-
|
|
12
|
-
"color-secondary-1-
|
|
13
|
-
"color-secondary-1-
|
|
14
|
-
"color-
|
|
15
|
-
"color-
|
|
16
|
-
"color-
|
|
17
|
-
"color-
|
|
18
|
-
"color-
|
|
19
|
-
"color-
|
|
20
|
-
"color-
|
|
21
|
-
"color-additions-green
|
|
22
|
-
"color-additions-green-
|
|
23
|
-
"color-additions-yellow
|
|
24
|
-
"color-additions-yellow-
|
|
25
|
-
"color-additions-red
|
|
26
|
-
"color-additions-red-
|
|
27
|
-
"color-additions-purple
|
|
28
|
-
"color-additions-purple-
|
|
29
|
-
"color-additions-blue
|
|
30
|
-
"color-additions-blue-
|
|
2
|
+
"color-primary-1-10": string;
|
|
3
|
+
"color-primary-1-30": string;
|
|
4
|
+
"color-primary-1-50": string;
|
|
5
|
+
"color-primary-1-70": string;
|
|
6
|
+
"color-primary-2-10": string;
|
|
7
|
+
"color-primary-2-30": string;
|
|
8
|
+
"color-primary-2-50": string;
|
|
9
|
+
"color-primary-2-70": string;
|
|
10
|
+
"color-secondary-1-10": string;
|
|
11
|
+
"color-secondary-1-30": string;
|
|
12
|
+
"color-secondary-1-50": string;
|
|
13
|
+
"color-secondary-1-70": string;
|
|
14
|
+
"color-grayscale-black": string;
|
|
15
|
+
"color-grayscale-gray-1": string;
|
|
16
|
+
"color-grayscale-gray-2": string;
|
|
17
|
+
"color-grayscale-gray-3": string;
|
|
18
|
+
"color-grayscale-gray-4": string;
|
|
19
|
+
"color-grayscale-background": string;
|
|
20
|
+
"color-grayscale-white": string;
|
|
21
|
+
"color-additions-green": string;
|
|
22
|
+
"color-additions-green-light": string;
|
|
23
|
+
"color-additions-yellow": string;
|
|
24
|
+
"color-additions-yellow-light": string;
|
|
25
|
+
"color-additions-red": string;
|
|
26
|
+
"color-additions-red-light": string;
|
|
27
|
+
"color-additions-purple": string;
|
|
28
|
+
"color-additions-purple-light": string;
|
|
29
|
+
"color-additions-blue": string;
|
|
30
|
+
"color-additions-blue-light": string;
|
|
31
31
|
"corner-radius-5x": number;
|
|
32
32
|
"corner-radius-4x": number;
|
|
33
33
|
"corner-radius-3x": number;
|
|
@@ -37,36 +37,90 @@ export declare const tokens: {
|
|
|
37
37
|
"spacing-3x": number;
|
|
38
38
|
"spacing-2x": number;
|
|
39
39
|
"spacing-1x": number;
|
|
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
|
-
"
|
|
40
|
+
"typefaces-bigtitle-large-font-weight": string;
|
|
41
|
+
"typefaces-bigtitle-large-text-size": number;
|
|
42
|
+
"typefaces-bigtitle-large-text-line-height": number;
|
|
43
|
+
"typefaces-bigtitle-large-case": string;
|
|
44
|
+
"typefaces-bigtitle-large-case-2": string;
|
|
45
|
+
"typefaces-bigtitle-large-case-3": string;
|
|
46
|
+
"typefaces-bigtitle-medium-font-weight": string;
|
|
47
|
+
"typefaces-bigtitle-medium-text-size": number;
|
|
48
|
+
"typefaces-bigtitle-medium-text-line-height": number;
|
|
49
|
+
"typefaces-bigtitle-medium-case": string;
|
|
50
|
+
"typefaces-bigtitle-small-font-weight": string;
|
|
51
|
+
"typefaces-bigtitle-small-text-size": number;
|
|
52
|
+
"typefaces-bigtitle-small-text-line-height": number;
|
|
53
|
+
"typefaces-bigtitle-small-case": string;
|
|
54
|
+
"typefaces-headline-large-font-weight": string;
|
|
55
|
+
"typefaces-headline-large-text-size": number;
|
|
56
|
+
"typefaces-headline-large-text-line-height": number;
|
|
57
|
+
"typefaces-headline-large-text-letter-spacing": number;
|
|
58
|
+
"typefaces-headline-large-case": string;
|
|
59
|
+
"typefaces-headline-medium-font-weight": string;
|
|
60
|
+
"typefaces-headline-medium-text-size": number;
|
|
61
|
+
"typefaces-headline-medium-text-line-height": number;
|
|
62
|
+
"typefaces-headline-medium-text-letter-spacing": number;
|
|
63
|
+
"typefaces-headline-medium-case": string;
|
|
64
|
+
"typefaces-headline-small-font-weight": string;
|
|
65
|
+
"typefaces-headline-small-text-size": number;
|
|
66
|
+
"typefaces-headline-small-text-line-height": number;
|
|
67
|
+
"typefaces-headline-small-text-letter-spacing": number;
|
|
68
|
+
"typefaces-headline-small-case": string;
|
|
69
|
+
"typefaces-title-large-font-weight": string;
|
|
70
|
+
"typefaces-title-large-text-size": number;
|
|
71
|
+
"typefaces-title-large-text-line-height": number;
|
|
72
|
+
"typefaces-title-large-text-letter-spacing": number;
|
|
73
|
+
"typefaces-title-large-case": string;
|
|
74
|
+
"typefaces-title-medium-font-weight": string;
|
|
75
|
+
"typefaces-title-medium-text-size": number;
|
|
76
|
+
"typefaces-title-medium-text-line-height": number;
|
|
77
|
+
"typefaces-title-medium-case": string;
|
|
78
|
+
"typefaces-title-small-font-weight": string;
|
|
79
|
+
"typefaces-title-small-text-size": number;
|
|
80
|
+
"typefaces-title-small-text-line-height": number;
|
|
81
|
+
"typefaces-title-small-case": string;
|
|
82
|
+
"typefaces-body-large-font-weight": string;
|
|
83
|
+
"typefaces-body-large-text-size": number;
|
|
84
|
+
"typefaces-body-large-text-line-height": number;
|
|
85
|
+
"typefaces-body-large-text-letter-spacing": number;
|
|
86
|
+
"typefaces-body-large-case": string;
|
|
87
|
+
"typefaces-body-medium-font-weight": string;
|
|
88
|
+
"typefaces-body-medium-text-size": number;
|
|
89
|
+
"typefaces-body-medium-text-line-height": number;
|
|
90
|
+
"typefaces-body-medium-case": string;
|
|
91
|
+
"typefaces-body-small-font-weight": string;
|
|
92
|
+
"typefaces-body-small-text-size": number;
|
|
93
|
+
"typefaces-body-small-text-line-height": number;
|
|
94
|
+
"typefaces-body-small-case": string;
|
|
95
|
+
"typefaces-subtitle-large-font-weight": string;
|
|
96
|
+
"typefaces-subtitle-large-text-size": number;
|
|
97
|
+
"typefaces-subtitle-large-text-line-height": number;
|
|
98
|
+
"typefaces-subtitle-large-text-letter-spacing": number;
|
|
99
|
+
"typefaces-subtitle-large-case": string;
|
|
100
|
+
"typefaces-subtitle-medium-font-weight": string;
|
|
101
|
+
"typefaces-subtitle-medium-text-size": number;
|
|
102
|
+
"typefaces-subtitle-medium-text-line-height": number;
|
|
103
|
+
"typefaces-subtitle-medium-text-letter-spacing": number;
|
|
104
|
+
"typefaces-subtitle-medium-case": string;
|
|
105
|
+
"typefaces-subtitle-small-font-weight": string;
|
|
106
|
+
"typefaces-subtitle-small-text-size": number;
|
|
107
|
+
"typefaces-subtitle-small-text-line-height": number;
|
|
108
|
+
"typefaces-subtitle-small-text-letter-spacing": number;
|
|
109
|
+
"typefaces-subtitle-small-case": string;
|
|
110
|
+
"typefaces-hyperlink-large-font-weight": string;
|
|
111
|
+
"typefaces-hyperlink-large-text-size": number;
|
|
112
|
+
"typefaces-hyperlink-large-text-line-height": number;
|
|
113
|
+
"typefaces-hyperlink-large-text-letter-spacing": number;
|
|
114
|
+
"typefaces-hyperlink-large-case": string;
|
|
115
|
+
"typefaces-hyperlink-medium-font-weight": string;
|
|
116
|
+
"typefaces-hyperlink-medium-text-size": number;
|
|
117
|
+
"typefaces-hyperlink-medium-text-line-height": number;
|
|
118
|
+
"typefaces-hyperlink-medium-case": string;
|
|
119
|
+
"typefaces-hyperlink-small-font-weight": string;
|
|
120
|
+
"typefaces-hyperlink-small-text-size": number;
|
|
121
|
+
"typefaces-hyperlink-small-text-line-height": number;
|
|
122
|
+
"typefaces-hyperlink-small-case": string;
|
|
70
123
|
};
|
|
71
124
|
export type TokenKeys = keyof typeof tokens;
|
|
125
|
+
export declare const tokensList: string[];
|
|
72
126
|
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/assets/theme_2/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/assets/theme_2/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HlB,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,MAAM,CAAC;AAC5C,eAAO,MAAM,UAAU,UAAujI,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),i={"color-primary-1-10":"#fff8f4","color-primary-1-30":"#ffe3d2","color-primary-1-50":"#ffc19b","color-primary-1-70":"#ff914d","color-primary-2-10":"#faf4e8","color-primary-2-30":"#ddd1b9","color-primary-2-50":"#8b7457","color-primary-2-70":"#5b4c39","color-secondary-1-10":"#e6f0fe","color-secondary-1-30":"#9ac3fb","color-secondary-1-50":"#01347b","color-secondary-1-70":"#032759","color-grayscale-black":"#252627","color-grayscale-gray-1":"#686a6d","color-grayscale-gray-2":"#979da7","color-grayscale-gray-3":"#e6e6e6","color-grayscale-gray-4":"#f2f2f2","color-grayscale-background":"#fafafa","color-grayscale-white":"#ffffff","color-additions-green":"#1cb548","color-additions-green-light":"#effbf3","color-additions-yellow":"#ffb703","color-additions-yellow-light":"#fffcef","color-additions-red":"#ff4747","color-additions-red-light":"#fffafa","color-additions-purple":"#6730ec","color-additions-purple-light":"#f4f0ff","color-additions-blue":"#3e64ff","color-additions-blue-light":"#f5f9ff","corner-radius-5x":20,"corner-radius-4x":16,"corner-radius-3x":12,"corner-radius-2x":8,"corner-radius-1x":4,"spacing-4x":48,"spacing-3x":32,"spacing-2x":24,"spacing-1x":12,"typefaces-bigtitle-large-font-weight":"Bold","typefaces-bigtitle-large-text-size":40,"typefaces-bigtitle-large-text-line-height":56,"typefaces-bigtitle-large-case":"none","typefaces-bigtitle-large-case-2":"none","typefaces-bigtitle-large-case-3":"none","typefaces-bigtitle-medium-font-weight":"Bold","typefaces-bigtitle-medium-text-size":36,"typefaces-bigtitle-medium-text-line-height":48,"typefaces-bigtitle-medium-case":"none","typefaces-bigtitle-small-font-weight":"Bold","typefaces-bigtitle-small-text-size":32,"typefaces-bigtitle-small-text-line-height":40,"typefaces-bigtitle-small-case":"none","typefaces-headline-large-font-weight":"Bold","typefaces-headline-large-text-size":28,"typefaces-headline-large-text-line-height":36,"typefaces-headline-large-text-letter-spacing":-.2,"typefaces-headline-large-case":"none","typefaces-headline-medium-font-weight":"Bold","typefaces-headline-medium-text-size":24,"typefaces-headline-medium-text-line-height":32,"typefaces-headline-medium-text-letter-spacing":-.2,"typefaces-headline-medium-case":"none","typefaces-headline-small-font-weight":"Bold","typefaces-headline-small-text-size":20,"typefaces-headline-small-text-line-height":28,"typefaces-headline-small-text-letter-spacing":-.2,"typefaces-headline-small-case":"none","typefaces-title-large-font-weight":"Bold","typefaces-title-large-text-size":16,"typefaces-title-large-text-line-height":24,"typefaces-title-large-text-letter-spacing":-.2,"typefaces-title-large-case":"none","typefaces-title-medium-font-weight":"Bold","typefaces-title-medium-text-size":12,"typefaces-title-medium-text-line-height":20,"typefaces-title-medium-case":"none","typefaces-title-small-font-weight":"Bold","typefaces-title-small-text-size":8,"typefaces-title-small-text-line-height":12,"typefaces-title-small-case":"none","typefaces-body-large-font-weight":"Medium","typefaces-body-large-text-size":16,"typefaces-body-large-text-line-height":24,"typefaces-body-large-text-letter-spacing":-.2,"typefaces-body-large-case":"none","typefaces-body-medium-font-weight":"Medium","typefaces-body-medium-text-size":12,"typefaces-body-medium-text-line-height":20,"typefaces-body-medium-case":"none","typefaces-body-small-font-weight":"Medium","typefaces-body-small-text-size":8,"typefaces-body-small-text-line-height":12,"typefaces-body-small-case":"none","typefaces-subtitle-large-font-weight":"SemiBold","typefaces-subtitle-large-text-size":16,"typefaces-subtitle-large-text-line-height":24,"typefaces-subtitle-large-text-letter-spacing":2.4,"typefaces-subtitle-large-case":"uppercase","typefaces-subtitle-medium-font-weight":"SemiBold","typefaces-subtitle-medium-text-size":12,"typefaces-subtitle-medium-text-line-height":20,"typefaces-subtitle-medium-text-letter-spacing":2,"typefaces-subtitle-medium-case":"uppercase","typefaces-subtitle-small-font-weight":"SemiBold","typefaces-subtitle-small-text-size":8,"typefaces-subtitle-small-text-line-height":12,"typefaces-subtitle-small-text-letter-spacing":1.2,"typefaces-subtitle-small-case":"uppercase","typefaces-hyperlink-large-font-weight":"Medium","typefaces-hyperlink-large-text-size":16,"typefaces-hyperlink-large-text-line-height":24,"typefaces-hyperlink-large-text-letter-spacing":-.2,"typefaces-hyperlink-large-case":"none","typefaces-hyperlink-medium-font-weight":"Medium","typefaces-hyperlink-medium-text-size":12,"typefaces-hyperlink-medium-text-line-height":20,"typefaces-hyperlink-medium-case":"none","typefaces-hyperlink-small-font-weight":"Medium","typefaces-hyperlink-small-text-size":8,"typefaces-hyperlink-small-text-line-height":12,"typefaces-hyperlink-small-case":"none"},l={"color-primary-1-10":"#fff8f4","color-primary-1-30":"#ffe3d2","color-primary-1-50":"#ffc19b","color-primary-1-70":"#ff914d","color-primary-2-10":"#e6f0fe","color-primary-2-30":"#9ac3fb","color-primary-2-50":"#01347b","color-primary-2-70":"#032759","color-secondary-1-10":"#faf4e8","color-secondary-1-30":"#ddd1b9","color-secondary-1-50":"#8b7457","color-secondary-1-70":"#5b4c39","color-grayscale-black":"#252627","color-grayscale-gray-1":"#686a6d","color-grayscale-gray-2":"#979da7","color-grayscale-gray-3":"#e6e6e6","color-grayscale-gray-4":"#f2f2f2","color-grayscale-background":"#fafafa","color-grayscale-white":"#ffffff","color-additions-green":"#1cb548","color-additions-green-light":"#effbf3","color-additions-yellow":"#ffb703","color-additions-yellow-light":"#fffcef","color-additions-red":"#ff4747","color-additions-red-light":"#fffafa","color-additions-purple":"#6730ec","color-additions-purple-light":"#f4f0ff","color-additions-blue":"#3e64ff","color-additions-blue-light":"#f5f9ff","corner-radius-5x":20,"corner-radius-4x":16,"corner-radius-3x":12,"corner-radius-2x":8,"corner-radius-1x":4,"spacing-4x":48,"spacing-3x":32,"spacing-2x":24,"spacing-1x":12,"typefaces-bigtitle-large-font-weight":"Bold","typefaces-bigtitle-large-text-size":40,"typefaces-bigtitle-large-text-line-height":56,"typefaces-bigtitle-large-case":"none","typefaces-bigtitle-large-case-2":"none","typefaces-bigtitle-large-case-3":"none","typefaces-bigtitle-medium-font-weight":"Bold","typefaces-bigtitle-medium-text-size":36,"typefaces-bigtitle-medium-text-line-height":48,"typefaces-bigtitle-medium-case":"none","typefaces-bigtitle-small-font-weight":"Bold","typefaces-bigtitle-small-text-size":32,"typefaces-bigtitle-small-text-line-height":40,"typefaces-bigtitle-small-case":"none","typefaces-headline-large-font-weight":"Bold","typefaces-headline-large-text-size":28,"typefaces-headline-large-text-line-height":36,"typefaces-headline-large-text-letter-spacing":-.2,"typefaces-headline-large-case":"none","typefaces-headline-medium-font-weight":"Bold","typefaces-headline-medium-text-size":24,"typefaces-headline-medium-text-line-height":32,"typefaces-headline-medium-text-letter-spacing":-.2,"typefaces-headline-medium-case":"none","typefaces-headline-small-font-weight":"Bold","typefaces-headline-small-text-size":20,"typefaces-headline-small-text-line-height":28,"typefaces-headline-small-text-letter-spacing":-.2,"typefaces-headline-small-case":"none","typefaces-title-large-font-weight":"Bold","typefaces-title-large-text-size":16,"typefaces-title-large-text-line-height":24,"typefaces-title-large-text-letter-spacing":-.2,"typefaces-title-large-case":"none","typefaces-title-medium-font-weight":"Bold","typefaces-title-medium-text-size":12,"typefaces-title-medium-text-line-height":20,"typefaces-title-medium-case":"none","typefaces-title-small-font-weight":"Bold","typefaces-title-small-text-size":8,"typefaces-title-small-text-line-height":12,"typefaces-title-small-case":"none","typefaces-body-large-font-weight":"Medium","typefaces-body-large-text-size":16,"typefaces-body-large-text-line-height":24,"typefaces-body-large-text-letter-spacing":-.2,"typefaces-body-large-case":"none","typefaces-body-medium-font-weight":"Medium","typefaces-body-medium-text-size":12,"typefaces-body-medium-text-line-height":20,"typefaces-body-medium-case":"none","typefaces-body-small-font-weight":"Medium","typefaces-body-small-text-size":8,"typefaces-body-small-text-line-height":12,"typefaces-body-small-case":"none","typefaces-subtitle-large-font-weight":"SemiBold","typefaces-subtitle-large-text-size":16,"typefaces-subtitle-large-text-line-height":24,"typefaces-subtitle-large-text-letter-spacing":2.4,"typefaces-subtitle-large-case":"uppercase","typefaces-subtitle-medium-font-weight":"SemiBold","typefaces-subtitle-medium-text-size":12,"typefaces-subtitle-medium-text-line-height":20,"typefaces-subtitle-medium-text-letter-spacing":2,"typefaces-subtitle-medium-case":"uppercase","typefaces-subtitle-small-font-weight":"SemiBold","typefaces-subtitle-small-text-size":8,"typefaces-subtitle-small-text-line-height":12,"typefaces-subtitle-small-text-letter-spacing":1.2,"typefaces-subtitle-small-case":"uppercase","typefaces-hyperlink-large-font-weight":"Medium","typefaces-hyperlink-large-text-size":16,"typefaces-hyperlink-large-text-line-height":24,"typefaces-hyperlink-large-text-letter-spacing":-.2,"typefaces-hyperlink-large-case":"none","typefaces-hyperlink-medium-font-weight":"Medium","typefaces-hyperlink-medium-text-size":12,"typefaces-hyperlink-medium-text-line-height":20,"typefaces-hyperlink-medium-case":"none","typefaces-hyperlink-small-font-weight":"Medium","typefaces-hyperlink-small-text-size":8,"typefaces-hyperlink-small-text-line-height":12,"typefaces-hyperlink-small-case":"none"},s=["theme_2","theme_1"],c={theme_2:i,theme_1:l},t=a.ref("theme_2"),f=e=>{t.value=e},o=a.computed(()=>c[t.value]),r=e=>o.value[e];exports.applyTheme=f;exports.currentTheme=t;exports.dt=r;exports.themesList=s;
|
package/dist/index.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
const
|
|
3
|
-
"color-primary-1-
|
|
4
|
-
"color-primary-1-
|
|
5
|
-
"color-primary-1-
|
|
6
|
-
"color-primary-1-
|
|
7
|
-
"color-primary-2-
|
|
8
|
-
"color-primary-2-
|
|
9
|
-
"color-primary-2-
|
|
10
|
-
"color-primary-2-
|
|
11
|
-
"color-secondary-1-
|
|
12
|
-
"color-secondary-1-
|
|
13
|
-
"color-secondary-1-
|
|
14
|
-
"color-secondary-1-
|
|
15
|
-
"color-
|
|
16
|
-
"color-
|
|
17
|
-
"color-
|
|
18
|
-
"color-
|
|
19
|
-
"color-
|
|
20
|
-
"color-
|
|
21
|
-
"color-
|
|
22
|
-
"color-additions-green
|
|
23
|
-
"color-additions-green-
|
|
24
|
-
"color-additions-yellow
|
|
25
|
-
"color-additions-yellow-
|
|
26
|
-
"color-additions-red
|
|
27
|
-
"color-additions-red-
|
|
28
|
-
"color-additions-purple
|
|
29
|
-
"color-additions-purple-
|
|
30
|
-
"color-additions-blue
|
|
31
|
-
"color-additions-blue-
|
|
1
|
+
import { ref as a, computed as i } from "vue";
|
|
2
|
+
const l = {
|
|
3
|
+
"color-primary-1-10": "#fff8f4",
|
|
4
|
+
"color-primary-1-30": "#ffe3d2",
|
|
5
|
+
"color-primary-1-50": "#ffc19b",
|
|
6
|
+
"color-primary-1-70": "#ff914d",
|
|
7
|
+
"color-primary-2-10": "#faf4e8",
|
|
8
|
+
"color-primary-2-30": "#ddd1b9",
|
|
9
|
+
"color-primary-2-50": "#8b7457",
|
|
10
|
+
"color-primary-2-70": "#5b4c39",
|
|
11
|
+
"color-secondary-1-10": "#e6f0fe",
|
|
12
|
+
"color-secondary-1-30": "#9ac3fb",
|
|
13
|
+
"color-secondary-1-50": "#01347b",
|
|
14
|
+
"color-secondary-1-70": "#032759",
|
|
15
|
+
"color-grayscale-black": "#252627",
|
|
16
|
+
"color-grayscale-gray-1": "#686a6d",
|
|
17
|
+
"color-grayscale-gray-2": "#979da7",
|
|
18
|
+
"color-grayscale-gray-3": "#e6e6e6",
|
|
19
|
+
"color-grayscale-gray-4": "#f2f2f2",
|
|
20
|
+
"color-grayscale-background": "#fafafa",
|
|
21
|
+
"color-grayscale-white": "#ffffff",
|
|
22
|
+
"color-additions-green": "#1cb548",
|
|
23
|
+
"color-additions-green-light": "#effbf3",
|
|
24
|
+
"color-additions-yellow": "#ffb703",
|
|
25
|
+
"color-additions-yellow-light": "#fffcef",
|
|
26
|
+
"color-additions-red": "#ff4747",
|
|
27
|
+
"color-additions-red-light": "#fffafa",
|
|
28
|
+
"color-additions-purple": "#6730ec",
|
|
29
|
+
"color-additions-purple-light": "#f4f0ff",
|
|
30
|
+
"color-additions-blue": "#3e64ff",
|
|
31
|
+
"color-additions-blue-light": "#f5f9ff",
|
|
32
32
|
"corner-radius-5x": 20,
|
|
33
33
|
"corner-radius-4x": 16,
|
|
34
34
|
"corner-radius-3x": 12,
|
|
@@ -38,66 +38,119 @@ const r = {
|
|
|
38
38
|
"spacing-3x": 32,
|
|
39
39
|
"spacing-2x": 24,
|
|
40
40
|
"spacing-1x": 12,
|
|
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
|
-
"
|
|
41
|
+
"typefaces-bigtitle-large-font-weight": "Bold",
|
|
42
|
+
"typefaces-bigtitle-large-text-size": 40,
|
|
43
|
+
"typefaces-bigtitle-large-text-line-height": 56,
|
|
44
|
+
"typefaces-bigtitle-large-case": "none",
|
|
45
|
+
"typefaces-bigtitle-large-case-2": "none",
|
|
46
|
+
"typefaces-bigtitle-large-case-3": "none",
|
|
47
|
+
"typefaces-bigtitle-medium-font-weight": "Bold",
|
|
48
|
+
"typefaces-bigtitle-medium-text-size": 36,
|
|
49
|
+
"typefaces-bigtitle-medium-text-line-height": 48,
|
|
50
|
+
"typefaces-bigtitle-medium-case": "none",
|
|
51
|
+
"typefaces-bigtitle-small-font-weight": "Bold",
|
|
52
|
+
"typefaces-bigtitle-small-text-size": 32,
|
|
53
|
+
"typefaces-bigtitle-small-text-line-height": 40,
|
|
54
|
+
"typefaces-bigtitle-small-case": "none",
|
|
55
|
+
"typefaces-headline-large-font-weight": "Bold",
|
|
56
|
+
"typefaces-headline-large-text-size": 28,
|
|
57
|
+
"typefaces-headline-large-text-line-height": 36,
|
|
58
|
+
"typefaces-headline-large-text-letter-spacing": -0.2,
|
|
59
|
+
"typefaces-headline-large-case": "none",
|
|
60
|
+
"typefaces-headline-medium-font-weight": "Bold",
|
|
61
|
+
"typefaces-headline-medium-text-size": 24,
|
|
62
|
+
"typefaces-headline-medium-text-line-height": 32,
|
|
63
|
+
"typefaces-headline-medium-text-letter-spacing": -0.2,
|
|
64
|
+
"typefaces-headline-medium-case": "none",
|
|
65
|
+
"typefaces-headline-small-font-weight": "Bold",
|
|
66
|
+
"typefaces-headline-small-text-size": 20,
|
|
67
|
+
"typefaces-headline-small-text-line-height": 28,
|
|
68
|
+
"typefaces-headline-small-text-letter-spacing": -0.2,
|
|
69
|
+
"typefaces-headline-small-case": "none",
|
|
70
|
+
"typefaces-title-large-font-weight": "Bold",
|
|
71
|
+
"typefaces-title-large-text-size": 16,
|
|
72
|
+
"typefaces-title-large-text-line-height": 24,
|
|
73
|
+
"typefaces-title-large-text-letter-spacing": -0.2,
|
|
74
|
+
"typefaces-title-large-case": "none",
|
|
75
|
+
"typefaces-title-medium-font-weight": "Bold",
|
|
76
|
+
"typefaces-title-medium-text-size": 12,
|
|
77
|
+
"typefaces-title-medium-text-line-height": 20,
|
|
78
|
+
"typefaces-title-medium-case": "none",
|
|
79
|
+
"typefaces-title-small-font-weight": "Bold",
|
|
80
|
+
"typefaces-title-small-text-size": 8,
|
|
81
|
+
"typefaces-title-small-text-line-height": 12,
|
|
82
|
+
"typefaces-title-small-case": "none",
|
|
83
|
+
"typefaces-body-large-font-weight": "Medium",
|
|
84
|
+
"typefaces-body-large-text-size": 16,
|
|
85
|
+
"typefaces-body-large-text-line-height": 24,
|
|
86
|
+
"typefaces-body-large-text-letter-spacing": -0.2,
|
|
87
|
+
"typefaces-body-large-case": "none",
|
|
88
|
+
"typefaces-body-medium-font-weight": "Medium",
|
|
89
|
+
"typefaces-body-medium-text-size": 12,
|
|
90
|
+
"typefaces-body-medium-text-line-height": 20,
|
|
91
|
+
"typefaces-body-medium-case": "none",
|
|
92
|
+
"typefaces-body-small-font-weight": "Medium",
|
|
93
|
+
"typefaces-body-small-text-size": 8,
|
|
94
|
+
"typefaces-body-small-text-line-height": 12,
|
|
95
|
+
"typefaces-body-small-case": "none",
|
|
96
|
+
"typefaces-subtitle-large-font-weight": "SemiBold",
|
|
97
|
+
"typefaces-subtitle-large-text-size": 16,
|
|
98
|
+
"typefaces-subtitle-large-text-line-height": 24,
|
|
99
|
+
"typefaces-subtitle-large-text-letter-spacing": 2.4,
|
|
100
|
+
"typefaces-subtitle-large-case": "uppercase",
|
|
101
|
+
"typefaces-subtitle-medium-font-weight": "SemiBold",
|
|
102
|
+
"typefaces-subtitle-medium-text-size": 12,
|
|
103
|
+
"typefaces-subtitle-medium-text-line-height": 20,
|
|
104
|
+
"typefaces-subtitle-medium-text-letter-spacing": 2,
|
|
105
|
+
"typefaces-subtitle-medium-case": "uppercase",
|
|
106
|
+
"typefaces-subtitle-small-font-weight": "SemiBold",
|
|
107
|
+
"typefaces-subtitle-small-text-size": 8,
|
|
108
|
+
"typefaces-subtitle-small-text-line-height": 12,
|
|
109
|
+
"typefaces-subtitle-small-text-letter-spacing": 1.2,
|
|
110
|
+
"typefaces-subtitle-small-case": "uppercase",
|
|
111
|
+
"typefaces-hyperlink-large-font-weight": "Medium",
|
|
112
|
+
"typefaces-hyperlink-large-text-size": 16,
|
|
113
|
+
"typefaces-hyperlink-large-text-line-height": 24,
|
|
114
|
+
"typefaces-hyperlink-large-text-letter-spacing": -0.2,
|
|
115
|
+
"typefaces-hyperlink-large-case": "none",
|
|
116
|
+
"typefaces-hyperlink-medium-font-weight": "Medium",
|
|
117
|
+
"typefaces-hyperlink-medium-text-size": 12,
|
|
118
|
+
"typefaces-hyperlink-medium-text-line-height": 20,
|
|
119
|
+
"typefaces-hyperlink-medium-case": "none",
|
|
120
|
+
"typefaces-hyperlink-small-font-weight": "Medium",
|
|
121
|
+
"typefaces-hyperlink-small-text-size": 8,
|
|
122
|
+
"typefaces-hyperlink-small-text-line-height": 12,
|
|
123
|
+
"typefaces-hyperlink-small-case": "none"
|
|
124
|
+
}, s = {
|
|
125
|
+
"color-primary-1-10": "#fff8f4",
|
|
126
|
+
"color-primary-1-30": "#ffe3d2",
|
|
127
|
+
"color-primary-1-50": "#ffc19b",
|
|
128
|
+
"color-primary-1-70": "#ff914d",
|
|
129
|
+
"color-primary-2-10": "#e6f0fe",
|
|
130
|
+
"color-primary-2-30": "#9ac3fb",
|
|
131
|
+
"color-primary-2-50": "#01347b",
|
|
132
|
+
"color-primary-2-70": "#032759",
|
|
133
|
+
"color-secondary-1-10": "#faf4e8",
|
|
134
|
+
"color-secondary-1-30": "#ddd1b9",
|
|
135
|
+
"color-secondary-1-50": "#8b7457",
|
|
136
|
+
"color-secondary-1-70": "#5b4c39",
|
|
137
|
+
"color-grayscale-black": "#252627",
|
|
138
|
+
"color-grayscale-gray-1": "#686a6d",
|
|
139
|
+
"color-grayscale-gray-2": "#979da7",
|
|
140
|
+
"color-grayscale-gray-3": "#e6e6e6",
|
|
141
|
+
"color-grayscale-gray-4": "#f2f2f2",
|
|
142
|
+
"color-grayscale-background": "#fafafa",
|
|
143
|
+
"color-grayscale-white": "#ffffff",
|
|
144
|
+
"color-additions-green": "#1cb548",
|
|
145
|
+
"color-additions-green-light": "#effbf3",
|
|
146
|
+
"color-additions-yellow": "#ffb703",
|
|
147
|
+
"color-additions-yellow-light": "#fffcef",
|
|
148
|
+
"color-additions-red": "#ff4747",
|
|
149
|
+
"color-additions-red-light": "#fffafa",
|
|
150
|
+
"color-additions-purple": "#6730ec",
|
|
151
|
+
"color-additions-purple-light": "#f4f0ff",
|
|
152
|
+
"color-additions-blue": "#3e64ff",
|
|
153
|
+
"color-additions-blue-light": "#f5f9ff",
|
|
101
154
|
"corner-radius-5x": 20,
|
|
102
155
|
"corner-radius-4x": 16,
|
|
103
156
|
"corner-radius-3x": 12,
|
|
@@ -107,105 +160,98 @@ const r = {
|
|
|
107
160
|
"spacing-3x": 32,
|
|
108
161
|
"spacing-2x": 24,
|
|
109
162
|
"spacing-1x": 12,
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"font-library-text-line-height-1-5x": 24,
|
|
126
|
-
"font-library-text-line-height-1-75x": 28,
|
|
127
|
-
"font-library-text-line-height-2x": 32,
|
|
128
|
-
"font-library-text-line-height-2-25x": 36,
|
|
129
|
-
"font-library-text-line-height-2-5x": 40,
|
|
130
|
-
"font-library-text-line-height-3x": 48,
|
|
131
|
-
"font-library-text-line-height-3-5x": 56,
|
|
132
|
-
"font-library-text-line-height-4x": 64,
|
|
133
|
-
"font-library-text-letter-spacing-8x": 1.600000023841858,
|
|
134
|
-
"font-library-text-letter-spacing-4x": 0.800000011920929,
|
|
135
|
-
"font-library-text-letter-spacing-2x": 0.4000000059604645,
|
|
136
|
-
"font-library-text-letter-spacing-1x": 0.20000000298023224,
|
|
137
|
-
"font-library-text-letter-spacing-0x": 0,
|
|
138
|
-
"font-library-text-letter-spacing--1x": -0.20000000298023224,
|
|
139
|
-
"font-library-text-letter-spacing--2x": -0.4000000059604645,
|
|
140
|
-
"typefaces-title-large-font-styles": "Bold",
|
|
141
|
-
"typefaces-title-large-text-size": 16,
|
|
142
|
-
"typefaces-title-large-line-height": 24,
|
|
143
|
-
"typefaces-title-large-letter-spacing": 0,
|
|
144
|
-
"typefaces-title-medium-font-styles": "Bold",
|
|
145
|
-
"typefaces-title-medium-text-size": 12,
|
|
146
|
-
"typefaces-title-medium-line-height": 20,
|
|
147
|
-
"typefaces-title-medium-letter-spacing": 0,
|
|
148
|
-
"typefaces-title-small-text-size": 8,
|
|
149
|
-
"typefaces-title-small-line-height": 16,
|
|
150
|
-
"typefaces-title-small-letter-spacing": 0,
|
|
151
|
-
"typefaces-title-small-font-styles": "Bold",
|
|
152
|
-
"typefaces-headline-large-font-styles": "Bold",
|
|
163
|
+
"typefaces-bigtitle-large-font-weight": "Bold",
|
|
164
|
+
"typefaces-bigtitle-large-text-size": 40,
|
|
165
|
+
"typefaces-bigtitle-large-text-line-height": 56,
|
|
166
|
+
"typefaces-bigtitle-large-case": "none",
|
|
167
|
+
"typefaces-bigtitle-large-case-2": "none",
|
|
168
|
+
"typefaces-bigtitle-large-case-3": "none",
|
|
169
|
+
"typefaces-bigtitle-medium-font-weight": "Bold",
|
|
170
|
+
"typefaces-bigtitle-medium-text-size": 36,
|
|
171
|
+
"typefaces-bigtitle-medium-text-line-height": 48,
|
|
172
|
+
"typefaces-bigtitle-medium-case": "none",
|
|
173
|
+
"typefaces-bigtitle-small-font-weight": "Bold",
|
|
174
|
+
"typefaces-bigtitle-small-text-size": 32,
|
|
175
|
+
"typefaces-bigtitle-small-text-line-height": 40,
|
|
176
|
+
"typefaces-bigtitle-small-case": "none",
|
|
177
|
+
"typefaces-headline-large-font-weight": "Bold",
|
|
153
178
|
"typefaces-headline-large-text-size": 28,
|
|
154
|
-
"typefaces-headline-large-line-height":
|
|
155
|
-
"typefaces-headline-large-letter-spacing": -0.
|
|
156
|
-
"typefaces-headline-
|
|
179
|
+
"typefaces-headline-large-text-line-height": 36,
|
|
180
|
+
"typefaces-headline-large-text-letter-spacing": -0.2,
|
|
181
|
+
"typefaces-headline-large-case": "none",
|
|
182
|
+
"typefaces-headline-medium-font-weight": "Bold",
|
|
157
183
|
"typefaces-headline-medium-text-size": 24,
|
|
158
|
-
"typefaces-headline-medium-line-height": 32,
|
|
159
|
-
"typefaces-headline-medium-letter-spacing": -0.
|
|
160
|
-
"typefaces-headline-
|
|
184
|
+
"typefaces-headline-medium-text-line-height": 32,
|
|
185
|
+
"typefaces-headline-medium-text-letter-spacing": -0.2,
|
|
186
|
+
"typefaces-headline-medium-case": "none",
|
|
187
|
+
"typefaces-headline-small-font-weight": "Bold",
|
|
161
188
|
"typefaces-headline-small-text-size": 20,
|
|
162
|
-
"typefaces-headline-small-line-height": 28,
|
|
163
|
-
"typefaces-headline-small-letter-spacing": -0.
|
|
164
|
-
"typefaces-
|
|
189
|
+
"typefaces-headline-small-text-line-height": 28,
|
|
190
|
+
"typefaces-headline-small-text-letter-spacing": -0.2,
|
|
191
|
+
"typefaces-headline-small-case": "none",
|
|
192
|
+
"typefaces-title-large-font-weight": "Bold",
|
|
193
|
+
"typefaces-title-large-text-size": 16,
|
|
194
|
+
"typefaces-title-large-text-line-height": 24,
|
|
195
|
+
"typefaces-title-large-text-letter-spacing": -0.2,
|
|
196
|
+
"typefaces-title-large-case": "none",
|
|
197
|
+
"typefaces-title-medium-font-weight": "Bold",
|
|
198
|
+
"typefaces-title-medium-text-size": 12,
|
|
199
|
+
"typefaces-title-medium-text-line-height": 20,
|
|
200
|
+
"typefaces-title-medium-case": "none",
|
|
201
|
+
"typefaces-title-small-font-weight": "Bold",
|
|
202
|
+
"typefaces-title-small-text-size": 8,
|
|
203
|
+
"typefaces-title-small-text-line-height": 12,
|
|
204
|
+
"typefaces-title-small-case": "none",
|
|
205
|
+
"typefaces-body-large-font-weight": "Medium",
|
|
165
206
|
"typefaces-body-large-text-size": 16,
|
|
166
|
-
"typefaces-body-large-line-height": 24,
|
|
167
|
-
"typefaces-body-large-letter-spacing": -0.
|
|
168
|
-
"typefaces-body-
|
|
207
|
+
"typefaces-body-large-text-line-height": 24,
|
|
208
|
+
"typefaces-body-large-text-letter-spacing": -0.2,
|
|
209
|
+
"typefaces-body-large-case": "none",
|
|
210
|
+
"typefaces-body-medium-font-weight": "Medium",
|
|
169
211
|
"typefaces-body-medium-text-size": 12,
|
|
170
|
-
"typefaces-body-medium-line-height": 20,
|
|
171
|
-
"typefaces-body-medium-
|
|
172
|
-
"typefaces-body-small-font-
|
|
212
|
+
"typefaces-body-medium-text-line-height": 20,
|
|
213
|
+
"typefaces-body-medium-case": "none",
|
|
214
|
+
"typefaces-body-small-font-weight": "Medium",
|
|
173
215
|
"typefaces-body-small-text-size": 8,
|
|
174
|
-
"typefaces-body-small-line-height":
|
|
175
|
-
"typefaces-body-small-
|
|
176
|
-
"typefaces-subtitle-large-font-
|
|
216
|
+
"typefaces-body-small-text-line-height": 12,
|
|
217
|
+
"typefaces-body-small-case": "none",
|
|
218
|
+
"typefaces-subtitle-large-font-weight": "SemiBold",
|
|
177
219
|
"typefaces-subtitle-large-text-size": 16,
|
|
178
|
-
"typefaces-subtitle-large-line-height": 24,
|
|
179
|
-
"typefaces-subtitle-large-letter-spacing":
|
|
180
|
-
"typefaces-subtitle-
|
|
220
|
+
"typefaces-subtitle-large-text-line-height": 24,
|
|
221
|
+
"typefaces-subtitle-large-text-letter-spacing": 2.4,
|
|
222
|
+
"typefaces-subtitle-large-case": "uppercase",
|
|
223
|
+
"typefaces-subtitle-medium-font-weight": "SemiBold",
|
|
181
224
|
"typefaces-subtitle-medium-text-size": 12,
|
|
182
|
-
"typefaces-subtitle-medium-line-height": 20,
|
|
183
|
-
"typefaces-subtitle-medium-letter-spacing":
|
|
184
|
-
"typefaces-subtitle-
|
|
225
|
+
"typefaces-subtitle-medium-text-line-height": 20,
|
|
226
|
+
"typefaces-subtitle-medium-text-letter-spacing": 2,
|
|
227
|
+
"typefaces-subtitle-medium-case": "uppercase",
|
|
228
|
+
"typefaces-subtitle-small-font-weight": "SemiBold",
|
|
185
229
|
"typefaces-subtitle-small-text-size": 8,
|
|
186
|
-
"typefaces-subtitle-small-line-height":
|
|
187
|
-
"typefaces-subtitle-small-letter-spacing":
|
|
188
|
-
"typefaces-
|
|
230
|
+
"typefaces-subtitle-small-text-line-height": 12,
|
|
231
|
+
"typefaces-subtitle-small-text-letter-spacing": 1.2,
|
|
232
|
+
"typefaces-subtitle-small-case": "uppercase",
|
|
233
|
+
"typefaces-hyperlink-large-font-weight": "Medium",
|
|
189
234
|
"typefaces-hyperlink-large-text-size": 16,
|
|
190
|
-
"typefaces-hyperlink-large-line-height": 24,
|
|
191
|
-
"typefaces-hyperlink-large-letter-spacing": -0.
|
|
192
|
-
"typefaces-hyperlink-
|
|
235
|
+
"typefaces-hyperlink-large-text-line-height": 24,
|
|
236
|
+
"typefaces-hyperlink-large-text-letter-spacing": -0.2,
|
|
237
|
+
"typefaces-hyperlink-large-case": "none",
|
|
238
|
+
"typefaces-hyperlink-medium-font-weight": "Medium",
|
|
193
239
|
"typefaces-hyperlink-medium-text-size": 12,
|
|
194
|
-
"typefaces-hyperlink-medium-line-height": 20,
|
|
195
|
-
"typefaces-hyperlink-medium-
|
|
196
|
-
"typefaces-hyperlink-small-font-
|
|
240
|
+
"typefaces-hyperlink-medium-text-line-height": 20,
|
|
241
|
+
"typefaces-hyperlink-medium-case": "none",
|
|
242
|
+
"typefaces-hyperlink-small-font-weight": "Medium",
|
|
197
243
|
"typefaces-hyperlink-small-text-size": 8,
|
|
198
|
-
"typefaces-hyperlink-small-line-height":
|
|
199
|
-
"typefaces-hyperlink-small-
|
|
200
|
-
},
|
|
201
|
-
theme_2:
|
|
202
|
-
theme_1:
|
|
203
|
-
}, t =
|
|
244
|
+
"typefaces-hyperlink-small-text-line-height": 12,
|
|
245
|
+
"typefaces-hyperlink-small-case": "none"
|
|
246
|
+
}, r = ["theme_2", "theme_1"], c = {
|
|
247
|
+
theme_2: l,
|
|
248
|
+
theme_1: s
|
|
249
|
+
}, t = a("theme_2"), n = (e) => {
|
|
204
250
|
t.value = e;
|
|
205
|
-
},
|
|
251
|
+
}, f = i(() => c[t.value]), y = (e) => f.value[e];
|
|
206
252
|
export {
|
|
207
|
-
|
|
253
|
+
n as applyTheme,
|
|
208
254
|
t as currentTheme,
|
|
209
255
|
y as dt,
|
|
210
|
-
|
|
256
|
+
r as themesList
|
|
211
257
|
};
|
package/package.json
CHANGED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
declare const themes: {
|
|
2
|
-
readonly theme_1: {
|
|
3
|
-
readonly red: "pink";
|
|
4
|
-
readonly blue: "lightblue";
|
|
5
|
-
};
|
|
6
|
-
readonly theme_2: {
|
|
7
|
-
readonly red: "red";
|
|
8
|
-
readonly blue: "blue";
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
type Themes = typeof themes;
|
|
12
|
-
type ThemeKeys = keyof Themes;
|
|
13
|
-
type ThemeValues = Themes[ThemeKeys];
|
|
14
|
-
type TokenKeys = keyof ThemeValues;
|
|
15
|
-
/**
|
|
16
|
-
* The list of themes.
|
|
17
|
-
*/
|
|
18
|
-
declare const themesList: ThemeKeys[];
|
|
19
|
-
/**
|
|
20
|
-
* The current theme.
|
|
21
|
-
*/
|
|
22
|
-
declare const currentTheme: import("vue").Ref<"theme_2" | "theme_1", "theme_2" | "theme_1">;
|
|
23
|
-
/**
|
|
24
|
-
* Apply a theme.
|
|
25
|
-
* @param theme - The theme to apply.
|
|
26
|
-
*/
|
|
27
|
-
declare const applyTheme: (theme: ThemeKeys) => void;
|
|
28
|
-
/**
|
|
29
|
-
* Get the value of a token.
|
|
30
|
-
* @param token - The token to get the value of.
|
|
31
|
-
* @returns The value of the token.
|
|
32
|
-
*/
|
|
33
|
-
declare const dt: <T extends TokenKeys>(token: T) => ThemeValues[T];
|
|
34
|
-
export { currentTheme, themesList, dt, applyTheme, };
|
|
35
|
-
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/assets 13-30-59-658/tokens.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,MAAM;;;;;;;;;CASF,CAAC;AAEX,KAAK,MAAM,GAAG,OAAO,MAAM,CAAC;AAC5B,KAAK,SAAS,GAAG,MAAM,MAAM,CAAC;AAC9B,KAAK,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AACrC,KAAK,SAAS,GAAG,MAAM,WAAW,CAAC;AAEnC;;GAEG;AACH,QAAA,MAAM,UAAU,EAA0B,SAAS,EAAE,CAAC;AAEtD;;GAEG;AACH,QAAA,MAAM,YAAY,iEAAgC,CAAC;AAInD;;;GAGG;AACH,QAAA,MAAM,UAAU,GAAI,OAAO,SAAS,KAAG,IAKtC,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,EAAE,GAAI,CAAC,SAAS,SAAS,EAAE,OAAO,CAAC,KAAG,WAAW,CAAC,CAAC,CAExD,CAAC;AAEF,OAAO,EACH,YAAY,EACZ,UAAU,EACV,EAAE,EACF,UAAU,GACb,CAAA"}
|