@causw/tokens 0.0.11 → 0.0.13
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/config/index.cjs +24 -0
- package/dist/config/index.d.cts +19 -0
- package/dist/config/index.d.cts.map +1 -0
- package/dist/config/index.d.mts +8 -4
- package/dist/config/index.d.mts.map +1 -0
- package/dist/config/index.mjs +22 -1
- package/dist/config/index.mjs.map +1 -0
- package/dist/config/tailwind-content/tailwind-content.cjs +6 -0
- package/dist/config/tailwind-content/tailwind-content.d.cts +5 -0
- package/dist/config/tailwind-content/tailwind-content.d.cts.map +1 -0
- package/dist/config/tailwind-content/tailwind-content.d.mts +5 -0
- package/dist/config/tailwind-content/tailwind-content.d.mts.map +1 -0
- package/dist/config/tailwind-content/tailwind-content.mjs +6 -0
- package/dist/config/tailwind-content/tailwind-content.mjs.map +1 -0
- package/dist/config/tailwind-preset/index.d.cts +1 -0
- package/dist/config/tailwind-preset/index.d.mts +1 -0
- package/dist/config/tailwind-preset/tailwind-preset.cjs +34 -0
- package/dist/{tailwind-preset-Bz71olkK.d.mts → config/tailwind-preset/tailwind-preset.d.cts} +5 -5
- package/dist/config/tailwind-preset/tailwind-preset.d.cts.map +1 -0
- package/dist/{tailwind-preset-Bz71olkK.d.ts → config/tailwind-preset/tailwind-preset.d.mts} +5 -5
- package/dist/config/tailwind-preset/tailwind-preset.d.mts.map +1 -0
- package/dist/config/tailwind-preset/tailwind-preset.mjs +35 -0
- package/dist/config/tailwind-preset/tailwind-preset.mjs.map +1 -0
- package/dist/foundations/borderRadius.cjs +14 -0
- package/dist/foundations/borderRadius.d.cts +13 -0
- package/dist/foundations/borderRadius.d.cts.map +1 -0
- package/dist/foundations/borderRadius.d.mts +13 -0
- package/dist/foundations/borderRadius.d.mts.map +1 -0
- package/dist/foundations/borderRadius.mjs +14 -0
- package/dist/foundations/borderRadius.mjs.map +1 -0
- package/dist/foundations/colors.cjs +34 -0
- package/dist/foundations/colors.d.cts +39 -0
- package/dist/foundations/colors.d.cts.map +1 -0
- package/dist/foundations/colors.d.mts +39 -0
- package/dist/foundations/colors.d.mts.map +1 -0
- package/dist/foundations/colors.mjs +34 -0
- package/dist/foundations/colors.mjs.map +1 -0
- package/dist/foundations/typography.cjs +70 -0
- package/dist/foundations/typography.d.cts +34 -0
- package/dist/foundations/typography.d.cts.map +1 -0
- package/dist/foundations/typography.d.mts +34 -0
- package/dist/foundations/typography.d.mts.map +1 -0
- package/dist/foundations/typography.mjs +70 -0
- package/dist/foundations/typography.mjs.map +1 -0
- package/dist/index.cjs +11 -0
- package/dist/index.d.cts +7 -0
- package/dist/index.d.mts +7 -75
- package/dist/index.mjs +7 -1
- package/package.json +21 -11
- package/dist/chunk-6XXGXQS3.mjs +0 -159
- package/dist/config/index.d.ts +0 -15
- package/dist/config/index.js +0 -165
- package/dist/index.d.ts +0 -75
- package/dist/index.js +0 -158
package/dist/index.js
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// src/foundations/borderRadius.ts
|
|
4
|
-
var borderRadius = {
|
|
5
|
-
xs: "0.25rem",
|
|
6
|
-
// 4px
|
|
7
|
-
sm: "0.5rem",
|
|
8
|
-
// 8px
|
|
9
|
-
md: "0.75rem",
|
|
10
|
-
// 12px
|
|
11
|
-
lg: "1rem",
|
|
12
|
-
// 16px
|
|
13
|
-
xl: "1.25rem",
|
|
14
|
-
// 20px
|
|
15
|
-
"2xl": "1.5rem",
|
|
16
|
-
// 24px
|
|
17
|
-
"3xl": "2rem"
|
|
18
|
-
// 32px
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
// src/foundations/colors.ts
|
|
22
|
-
var colors = {
|
|
23
|
-
blue: {
|
|
24
|
-
100: "#EEF4FF",
|
|
25
|
-
500: "#4F98FF",
|
|
26
|
-
700: "#237EFF"
|
|
27
|
-
},
|
|
28
|
-
gray: {
|
|
29
|
-
50: "#F9FAFB",
|
|
30
|
-
100: "#F5F6F8",
|
|
31
|
-
200: "#E9ECF2",
|
|
32
|
-
300: "#CACED5",
|
|
33
|
-
400: "#99A1AF",
|
|
34
|
-
500: "#6A7282",
|
|
35
|
-
600: "#4A5565",
|
|
36
|
-
700: "#364153",
|
|
37
|
-
800: "#1E2939",
|
|
38
|
-
900: "#101828"
|
|
39
|
-
},
|
|
40
|
-
red: {
|
|
41
|
-
100: "#FFEFEF",
|
|
42
|
-
400: "#FD5C5F"
|
|
43
|
-
},
|
|
44
|
-
white: {
|
|
45
|
-
main: "#FFEFEF"
|
|
46
|
-
},
|
|
47
|
-
black: {
|
|
48
|
-
main: "#000000"
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
// src/foundations/typography.ts
|
|
53
|
-
var typography = {
|
|
54
|
-
fontFamily: {
|
|
55
|
-
sans: [
|
|
56
|
-
"Pretendard",
|
|
57
|
-
"Pretendard Variable",
|
|
58
|
-
"-apple-system",
|
|
59
|
-
"BlinkMacSystemFont",
|
|
60
|
-
"system-ui",
|
|
61
|
-
"Roboto",
|
|
62
|
-
"Helvetica Neue",
|
|
63
|
-
"Segoe UI",
|
|
64
|
-
"Apple SD Gothic Neo",
|
|
65
|
-
"Noto Sans KR",
|
|
66
|
-
"Malgun Gothic",
|
|
67
|
-
"Apple Color Emoji",
|
|
68
|
-
"Segoe UI Emoji",
|
|
69
|
-
"Segoe UI Symbol",
|
|
70
|
-
"sans-serif"
|
|
71
|
-
],
|
|
72
|
-
mono: [
|
|
73
|
-
"Pretendard",
|
|
74
|
-
"Pretendard Variable",
|
|
75
|
-
"ui-monospace",
|
|
76
|
-
"SFMono-Regular",
|
|
77
|
-
"SF Mono",
|
|
78
|
-
"Menlo",
|
|
79
|
-
"Consolas",
|
|
80
|
-
"Liberation Mono",
|
|
81
|
-
"monospace"
|
|
82
|
-
],
|
|
83
|
-
serif: [
|
|
84
|
-
"Pretendard",
|
|
85
|
-
"Pretendard Variable",
|
|
86
|
-
"ui-serif",
|
|
87
|
-
"Georgia",
|
|
88
|
-
"Cambria",
|
|
89
|
-
"Times New Roman",
|
|
90
|
-
"Times",
|
|
91
|
-
"serif"
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
fontSize: {
|
|
95
|
-
"2xs": "0.75rem",
|
|
96
|
-
// 12px
|
|
97
|
-
xs: "0.875rem",
|
|
98
|
-
// 14px
|
|
99
|
-
sm: "0.9375rem",
|
|
100
|
-
// 15px
|
|
101
|
-
base: "1rem",
|
|
102
|
-
// 16px
|
|
103
|
-
lg: "1.125rem",
|
|
104
|
-
// 18px
|
|
105
|
-
xl: "1.25rem",
|
|
106
|
-
// 20px
|
|
107
|
-
"2xl": "1.375rem",
|
|
108
|
-
// 22px
|
|
109
|
-
"3xl": "1.5rem",
|
|
110
|
-
// 24px
|
|
111
|
-
"4xl": "1.875rem",
|
|
112
|
-
// 30px
|
|
113
|
-
"5xl": "2rem",
|
|
114
|
-
// 32px
|
|
115
|
-
"6xl": "3rem"
|
|
116
|
-
// 48px
|
|
117
|
-
},
|
|
118
|
-
fontWeight: {
|
|
119
|
-
regular: "400",
|
|
120
|
-
medium: "500",
|
|
121
|
-
semibold: "600",
|
|
122
|
-
bold: "700"
|
|
123
|
-
},
|
|
124
|
-
lineHeight: {
|
|
125
|
-
tight: "1.5",
|
|
126
|
-
normal: "1.6"
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
// src/config/tailwind-content/tailwind-content.ts
|
|
131
|
-
var causwContent = [
|
|
132
|
-
"./node_modules/@causw/core/dist/**/*.{js,mjs}",
|
|
133
|
-
"./node_modules/@causw/tokens/dist/**/*.{js,mjs}"
|
|
134
|
-
];
|
|
135
|
-
|
|
136
|
-
// src/config/tailwind-preset/tailwind-preset.ts
|
|
137
|
-
var causwPreset = {
|
|
138
|
-
theme: {
|
|
139
|
-
extend: {
|
|
140
|
-
borderRadius,
|
|
141
|
-
colors,
|
|
142
|
-
fontFamily: {
|
|
143
|
-
sans: typography.fontFamily.sans,
|
|
144
|
-
mono: typography.fontFamily.mono,
|
|
145
|
-
serif: typography.fontFamily.serif
|
|
146
|
-
},
|
|
147
|
-
fontSize: typography.fontSize,
|
|
148
|
-
fontWeight: typography.fontWeight,
|
|
149
|
-
lineHeight: typography.lineHeight
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
exports.borderRadius = borderRadius;
|
|
155
|
-
exports.causwContent = causwContent;
|
|
156
|
-
exports.causwPreset = causwPreset;
|
|
157
|
-
exports.colors = colors;
|
|
158
|
-
exports.typography = typography;
|