@tracaodev/design-tokens-vue 1.0.8 → 1.0.10

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.
@@ -1,33 +1,33 @@
1
1
  export declare const tokens: {
2
- "color-primary-1-500": string;
3
- "color-primary-1-600": string;
4
- "color-primary-1-700": string;
5
- "color-primary-1-800": string;
6
- "color-primary-2-500": string;
7
- "color-primary-2-600": string;
8
- "color-primary-2-700": string;
9
- "color-primary-2-800": string;
10
- "color-secondary-1-500": string;
11
- "color-secondary-1-600": string;
12
- "color-secondary-1-700": string;
13
- "color-secondary-1-800": string;
14
- "color-neutral-100": string;
15
- "color-neutral-200": string;
16
- "color-neutral-300": string;
17
- "color-neutral-400": string;
18
- "color-neutral-500": string;
19
- "color-neutral-600": string;
20
- "color-neutral-white": string;
21
- "color-additions-green-500": string;
22
- "color-additions-green-100": string;
23
- "color-additions-yellow-500": string;
24
- "color-additions-yellow-100": string;
25
- "color-additions-red-500": string;
26
- "color-additions-red-100": string;
27
- "color-additions-purple-500": string;
28
- "color-additions-purple-100": string;
29
- "color-additions-blue-500": string;
30
- "color-additions-blue-100": string;
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,89 @@ export declare const tokens: {
37
37
  "spacing-3x": number;
38
38
  "spacing-2x": number;
39
39
  "spacing-1x": number;
40
- "font-library-text-font-style-bold": string;
41
- "font-library-text-font-style-semibold": string;
42
- "font-library-text-font-style-medium": string;
43
- "font-library-text-font-style-regular": string;
44
- "font-library-text-size-100": number;
45
- "font-library-text-size-200": number;
46
- "font-library-text-size-300": number;
47
- "font-library-text-size-400": number;
48
- "font-library-text-size-500": number;
49
- "font-library-text-size-600": number;
50
- "font-library-text-size-700": number;
51
- "font-library-text-size-800": number;
52
- "font-library-text-size-900": number;
53
- "font-library-text-line-height-1x": number;
54
- "font-library-text-line-height-1-25x": number;
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-medium-font-styles": string;
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-small-font-styles": string;
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-body-large-font-styles": string;
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-medium-font-styles": string;
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-letter-spacing": number;
102
- "typefaces-body-small-font-styles": string;
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-letter-spacing": number;
106
- "typefaces-subtitle-large-font-styles": string;
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-medium-font-styles": string;
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-small-font-styles": string;
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-hyperlink-large-font-styles": string;
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-medium-font-styles": string;
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-letter-spacing": number;
126
- "typefaces-hyperlink-small-font-styles": string;
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-letter-spacing": number;
121
+ "typefaces-hyperlink-small-text-line-height": number;
122
+ "typefaces-hyperlink-small-case": string;
130
123
  };
131
124
  export type TokenKeys = keyof typeof tokens;
132
125
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiIlB,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,MAAM,CAAA"}
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,CAAA"}
@@ -1,33 +1,33 @@
1
1
  export declare const tokens: {
2
- "color-primary-1-500": string;
3
- "color-primary-1-600": string;
4
- "color-primary-1-700": string;
5
- "color-primary-1-800": string;
6
- "color-primary-2-500": string;
7
- "color-primary-2-600": string;
8
- "color-primary-2-700": string;
9
- "color-primary-2-800": string;
10
- "color-secondary-1-500": string;
11
- "color-secondary-1-600": string;
12
- "color-secondary-1-700": string;
13
- "color-secondary-1-800": string;
14
- "color-neutral-100": string;
15
- "color-neutral-200": string;
16
- "color-neutral-300": string;
17
- "color-neutral-400": string;
18
- "color-neutral-500": string;
19
- "color-neutral-600": string;
20
- "color-neutral-white": string;
21
- "color-additions-green-500": string;
22
- "color-additions-green-100": string;
23
- "color-additions-yellow-500": string;
24
- "color-additions-yellow-100": string;
25
- "color-additions-red-500": string;
26
- "color-additions-red-100": string;
27
- "color-additions-purple-500": string;
28
- "color-additions-purple-100": string;
29
- "color-additions-blue-500": string;
30
- "color-additions-blue-100": string;
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,89 @@ export declare const tokens: {
37
37
  "spacing-3x": number;
38
38
  "spacing-2x": number;
39
39
  "spacing-1x": number;
40
- "font-library-text-font-style-bold": string;
41
- "font-library-text-font-style-semibold": string;
42
- "font-library-text-font-style-medium": string;
43
- "font-library-text-font-style-regular": string;
44
- "font-library-text-size-100": number;
45
- "font-library-text-size-200": number;
46
- "font-library-text-size-300": number;
47
- "font-library-text-size-400": number;
48
- "font-library-text-size-500": number;
49
- "font-library-text-size-600": number;
50
- "font-library-text-size-700": number;
51
- "font-library-text-size-800": number;
52
- "font-library-text-size-900": number;
53
- "font-library-text-line-height-1x": number;
54
- "font-library-text-line-height-1-25x": number;
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;
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;
72
125
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqElB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,MAAM,CAAA"}
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,CAAA"}
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),i={"color-primary-1-500":"#ff914d","color-primary-1-600":"#ffc19b","color-primary-1-700":"#ffe3d2","color-primary-1-800":"#fff8f4","color-primary-2-500":"#5b4c39","color-primary-2-600":"#8b7457","color-primary-2-700":"#ebe2d0","color-primary-2-800":"#faf4e8","color-secondary-1-500":"#032759","color-secondary-1-600":"#01347b","color-secondary-1-700":"#9ac3fb","color-secondary-1-800":"#e6f0fe","color-neutral-100":"#291000","color-neutral-200":"#505456","color-neutral-300":"#979da7","color-neutral-400":"#e6e6e6","color-neutral-500":"#f2f2f2","color-neutral-600":"#fafafa","color-neutral-white":"#ffffff","color-additions-green-500":"#1cb548","color-additions-green-100":"#effbf3","color-additions-yellow-500":"#ffb703","color-additions-yellow-100":"#fffcef","color-additions-red-500":"#ff4747","color-additions-red-100":"#fffafa","color-additions-purple-500":"#6730ec","color-additions-purple-100":"#f4f0ff","color-additions-blue-500":"#3e64ff","color-additions-blue-100":"#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,"font-library-text-font-style-bold":"Bold","font-library-text-font-style-semibold":"SemiBold","font-library-text-font-style-medium":"Medium","font-library-text-font-style-regular":"Regular","font-library-text-size-100":8,"font-library-text-size-200":12,"font-library-text-size-300":16,"font-library-text-size-400":20,"font-library-text-size-500":24,"font-library-text-size-600":28,"font-library-text-size-700":32,"font-library-text-size-800":36,"font-library-text-size-900":40,"font-library-text-line-height-1x":16,"font-library-text-line-height-1-25x":20,"font-library-text-line-height-1-5x":24,"font-library-text-line-height-1-75x":28,"font-library-text-line-height-2x":32,"font-library-text-line-height-2-25x":36,"font-library-text-line-height-2-5x":40,"font-library-text-line-height-3x":48,"font-library-text-line-height-3-5x":56,"font-library-text-line-height-4x":64,"font-library-text-letter-spacing-8x":1.600000023841858,"font-library-text-letter-spacing-4x":.800000011920929,"font-library-text-letter-spacing-2x":.4000000059604645,"font-library-text-letter-spacing-1x":.20000000298023224,"font-library-text-letter-spacing-0x":0,"font-library-text-letter-spacing--1x":-.20000000298023224,"font-library-text-letter-spacing--2x":-.4000000059604645},r={"color-primary-1-500":"red","color-primary-1-600":"#ffc19b","color-primary-1-700":"#ffe3d2","color-primary-1-800":"#fff8f4","color-primary-2-500":"#032759","color-primary-2-600":"#01347b","color-primary-2-700":"#9ac3fb","color-primary-2-800":"#e6f0fe","color-secondary-1-500":"#5b4c39","color-secondary-1-600":"#8b7457","color-secondary-1-700":"#ddd1b9","color-secondary-1-800":"#faf4e8","color-neutral-100":"#252627","color-neutral-200":"#686a6d","color-neutral-300":"#979da7","color-neutral-400":"#e6e6e6","color-neutral-500":"#f2f2f2","color-neutral-600":"#fafafa","color-neutral-white":"#ffffff","color-additions-green-500":"#1cb548","color-additions-green-100":"#effbf3","color-additions-yellow-500":"#ffb703","color-additions-yellow-100":"#fffcef","color-additions-red-500":"#ff4747","color-additions-red-100":"#fffafa","color-additions-purple-500":"#6730ec","color-additions-purple-100":"#f4f0ff","color-additions-blue-500":"#3e64ff","color-additions-blue-100":"#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,"font-library-text-font-style-bold":"Bold","font-library-text-font-style-semibold":"SemiBold","font-library-text-font-style-medium":"Medium","font-library-text-font-style-regular":"Regular","font-library-text-size-100":8,"font-library-text-size-200":12,"font-library-text-size-300":16,"font-library-text-size-400":20,"font-library-text-size-500":24,"font-library-text-size-600":28,"font-library-text-size-700":32,"font-library-text-size-800":36,"font-library-text-size-900":40,"font-library-text-line-height-1x":16,"font-library-text-line-height-1-25x":20,"font-library-text-line-height-1-5x":24,"font-library-text-line-height-1-75x":28,"font-library-text-line-height-2x":32,"font-library-text-line-height-2-25x":36,"font-library-text-line-height-2-5x":40,"font-library-text-line-height-3x":48,"font-library-text-line-height-3-5x":56,"font-library-text-line-height-4x":64,"font-library-text-letter-spacing-8x":1.600000023841858,"font-library-text-letter-spacing-4x":.800000011920929,"font-library-text-letter-spacing-2x":.4000000059604645,"font-library-text-letter-spacing-1x":.20000000298023224,"font-library-text-letter-spacing-0x":0,"font-library-text-letter-spacing--1x":-.20000000298023224,"font-library-text-letter-spacing--2x":-.4000000059604645,"typefaces-title-large-font-styles":"Bold","typefaces-title-large-text-size":16,"typefaces-title-large-line-height":24,"typefaces-title-large-letter-spacing":0,"typefaces-title-medium-font-styles":"Bold","typefaces-title-medium-text-size":12,"typefaces-title-medium-line-height":20,"typefaces-title-medium-letter-spacing":0,"typefaces-title-small-text-size":8,"typefaces-title-small-line-height":16,"typefaces-title-small-letter-spacing":0,"typefaces-title-small-font-styles":"Bold","typefaces-headline-large-font-styles":"Bold","typefaces-headline-large-text-size":28,"typefaces-headline-large-line-height":32,"typefaces-headline-large-letter-spacing":-.20000000298023224,"typefaces-headline-medium-font-styles":"Bold","typefaces-headline-medium-text-size":24,"typefaces-headline-medium-line-height":32,"typefaces-headline-medium-letter-spacing":-.20000000298023224,"typefaces-headline-small-font-styles":"Bold","typefaces-headline-small-text-size":20,"typefaces-headline-small-line-height":28,"typefaces-headline-small-letter-spacing":-.20000000298023224,"typefaces-body-large-font-styles":"Medium","typefaces-body-large-text-size":16,"typefaces-body-large-line-height":24,"typefaces-body-large-letter-spacing":-.20000000298023224,"typefaces-body-medium-font-styles":"Medium","typefaces-body-medium-text-size":12,"typefaces-body-medium-line-height":20,"typefaces-body-medium-letter-spacing":0,"typefaces-body-small-font-styles":"Medium","typefaces-body-small-text-size":8,"typefaces-body-small-line-height":16,"typefaces-body-small-letter-spacing":0,"typefaces-subtitle-large-font-styles":"SemiBold","typefaces-subtitle-large-text-size":16,"typefaces-subtitle-large-line-height":24,"typefaces-subtitle-large-letter-spacing":.4000000059604645,"typefaces-subtitle-medium-font-styles":"SemiBold","typefaces-subtitle-medium-text-size":12,"typefaces-subtitle-medium-line-height":20,"typefaces-subtitle-medium-letter-spacing":.4000000059604645,"typefaces-subtitle-small-font-styles":"SemiBold","typefaces-subtitle-small-text-size":8,"typefaces-subtitle-small-line-height":16,"typefaces-subtitle-small-letter-spacing":.4000000059604645,"typefaces-hyperlink-large-font-styles":"Medium","typefaces-hyperlink-large-text-size":16,"typefaces-hyperlink-large-line-height":24,"typefaces-hyperlink-large-letter-spacing":-.20000000298023224,"typefaces-hyperlink-medium-font-styles":"Medium","typefaces-hyperlink-medium-text-size":12,"typefaces-hyperlink-medium-line-height":20,"typefaces-hyperlink-medium-letter-spacing":0,"typefaces-hyperlink-small-font-styles":"Medium","typefaces-hyperlink-small-text-size":8,"typefaces-hyperlink-small-line-height":16,"typefaces-hyperlink-small-letter-spacing":0},a=["theme_2","theme_1"],o={theme_2:i,theme_1:r},t=l.ref("theme_2"),s=e=>{t.value=e},n=l.computed(()=>o[t.value]),f=e=>n.value[e];exports.applyTheme=s;exports.currentTheme=t;exports.dt=f;exports.themesList=a;
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 l, computed as i } from "vue";
2
- const r = {
3
- "color-primary-1-500": "#ff914d",
4
- "color-primary-1-600": "#ffc19b",
5
- "color-primary-1-700": "#ffe3d2",
6
- "color-primary-1-800": "#fff8f4",
7
- "color-primary-2-500": "#5b4c39",
8
- "color-primary-2-600": "#8b7457",
9
- "color-primary-2-700": "#ebe2d0",
10
- "color-primary-2-800": "#faf4e8",
11
- "color-secondary-1-500": "#032759",
12
- "color-secondary-1-600": "#01347b",
13
- "color-secondary-1-700": "#9ac3fb",
14
- "color-secondary-1-800": "#e6f0fe",
15
- "color-neutral-100": "#291000",
16
- "color-neutral-200": "#505456",
17
- "color-neutral-300": "#979da7",
18
- "color-neutral-400": "#e6e6e6",
19
- "color-neutral-500": "#f2f2f2",
20
- "color-neutral-600": "#fafafa",
21
- "color-neutral-white": "#ffffff",
22
- "color-additions-green-500": "#1cb548",
23
- "color-additions-green-100": "#effbf3",
24
- "color-additions-yellow-500": "#ffb703",
25
- "color-additions-yellow-100": "#fffcef",
26
- "color-additions-red-500": "#ff4747",
27
- "color-additions-red-100": "#fffafa",
28
- "color-additions-purple-500": "#6730ec",
29
- "color-additions-purple-100": "#f4f0ff",
30
- "color-additions-blue-500": "#3e64ff",
31
- "color-additions-blue-100": "#f5f9ff",
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
- "font-library-text-font-style-bold": "Bold",
42
- "font-library-text-font-style-semibold": "SemiBold",
43
- "font-library-text-font-style-medium": "Medium",
44
- "font-library-text-font-style-regular": "Regular",
45
- "font-library-text-size-100": 8,
46
- "font-library-text-size-200": 12,
47
- "font-library-text-size-300": 16,
48
- "font-library-text-size-400": 20,
49
- "font-library-text-size-500": 24,
50
- "font-library-text-size-600": 28,
51
- "font-library-text-size-700": 32,
52
- "font-library-text-size-800": 36,
53
- "font-library-text-size-900": 40,
54
- "font-library-text-line-height-1x": 16,
55
- "font-library-text-line-height-1-25x": 20,
56
- "font-library-text-line-height-1-5x": 24,
57
- "font-library-text-line-height-1-75x": 28,
58
- "font-library-text-line-height-2x": 32,
59
- "font-library-text-line-height-2-25x": 36,
60
- "font-library-text-line-height-2-5x": 40,
61
- "font-library-text-line-height-3x": 48,
62
- "font-library-text-line-height-3-5x": 56,
63
- "font-library-text-line-height-4x": 64,
64
- "font-library-text-letter-spacing-8x": 1.600000023841858,
65
- "font-library-text-letter-spacing-4x": 0.800000011920929,
66
- "font-library-text-letter-spacing-2x": 0.4000000059604645,
67
- "font-library-text-letter-spacing-1x": 0.20000000298023224,
68
- "font-library-text-letter-spacing-0x": 0,
69
- "font-library-text-letter-spacing--1x": -0.20000000298023224,
70
- "font-library-text-letter-spacing--2x": -0.4000000059604645
71
- }, a = {
72
- "color-primary-1-500": "red",
73
- "color-primary-1-600": "#ffc19b",
74
- "color-primary-1-700": "#ffe3d2",
75
- "color-primary-1-800": "#fff8f4",
76
- "color-primary-2-500": "#032759",
77
- "color-primary-2-600": "#01347b",
78
- "color-primary-2-700": "#9ac3fb",
79
- "color-primary-2-800": "#e6f0fe",
80
- "color-secondary-1-500": "#5b4c39",
81
- "color-secondary-1-600": "#8b7457",
82
- "color-secondary-1-700": "#ddd1b9",
83
- "color-secondary-1-800": "#faf4e8",
84
- "color-neutral-100": "#252627",
85
- "color-neutral-200": "#686a6d",
86
- "color-neutral-300": "#979da7",
87
- "color-neutral-400": "#e6e6e6",
88
- "color-neutral-500": "#f2f2f2",
89
- "color-neutral-600": "#fafafa",
90
- "color-neutral-white": "#ffffff",
91
- "color-additions-green-500": "#1cb548",
92
- "color-additions-green-100": "#effbf3",
93
- "color-additions-yellow-500": "#ffb703",
94
- "color-additions-yellow-100": "#fffcef",
95
- "color-additions-red-500": "#ff4747",
96
- "color-additions-red-100": "#fffafa",
97
- "color-additions-purple-500": "#6730ec",
98
- "color-additions-purple-100": "#f4f0ff",
99
- "color-additions-blue-500": "#3e64ff",
100
- "color-additions-blue-100": "#f5f9ff",
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
- "font-library-text-font-style-bold": "Bold",
111
- "font-library-text-font-style-semibold": "SemiBold",
112
- "font-library-text-font-style-medium": "Medium",
113
- "font-library-text-font-style-regular": "Regular",
114
- "font-library-text-size-100": 8,
115
- "font-library-text-size-200": 12,
116
- "font-library-text-size-300": 16,
117
- "font-library-text-size-400": 20,
118
- "font-library-text-size-500": 24,
119
- "font-library-text-size-600": 28,
120
- "font-library-text-size-700": 32,
121
- "font-library-text-size-800": 36,
122
- "font-library-text-size-900": 40,
123
- "font-library-text-line-height-1x": 16,
124
- "font-library-text-line-height-1-25x": 20,
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": 32,
155
- "typefaces-headline-large-letter-spacing": -0.20000000298023224,
156
- "typefaces-headline-medium-font-styles": "Bold",
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.20000000298023224,
160
- "typefaces-headline-small-font-styles": "Bold",
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.20000000298023224,
164
- "typefaces-body-large-font-styles": "Medium",
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.20000000298023224,
168
- "typefaces-body-medium-font-styles": "Medium",
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-letter-spacing": 0,
172
- "typefaces-body-small-font-styles": "Medium",
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": 16,
175
- "typefaces-body-small-letter-spacing": 0,
176
- "typefaces-subtitle-large-font-styles": "SemiBold",
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": 0.4000000059604645,
180
- "typefaces-subtitle-medium-font-styles": "SemiBold",
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": 0.4000000059604645,
184
- "typefaces-subtitle-small-font-styles": "SemiBold",
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": 16,
187
- "typefaces-subtitle-small-letter-spacing": 0.4000000059604645,
188
- "typefaces-hyperlink-large-font-styles": "Medium",
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.20000000298023224,
192
- "typefaces-hyperlink-medium-font-styles": "Medium",
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-letter-spacing": 0,
196
- "typefaces-hyperlink-small-font-styles": "Medium",
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": 16,
199
- "typefaces-hyperlink-small-letter-spacing": 0
200
- }, f = ["theme_2", "theme_1"], o = {
201
- theme_2: r,
202
- theme_1: a
203
- }, t = l("theme_2"), c = (e) => {
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
- }, s = i(() => o[t.value]), y = (e) => s.value[e];
251
+ }, f = i(() => c[t.value]), y = (e) => f.value[e];
206
252
  export {
207
- c as applyTheme,
253
+ n as applyTheme,
208
254
  t as currentTheme,
209
255
  y as dt,
210
- f as themesList
256
+ r as themesList
211
257
  };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.8",
2
+ "version": "1.0.10",
3
3
  "description": "Package mô tả",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
@@ -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"}