@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.
Files changed (54) hide show
  1. package/dist/config/index.cjs +24 -0
  2. package/dist/config/index.d.cts +19 -0
  3. package/dist/config/index.d.cts.map +1 -0
  4. package/dist/config/index.d.mts +8 -4
  5. package/dist/config/index.d.mts.map +1 -0
  6. package/dist/config/index.mjs +22 -1
  7. package/dist/config/index.mjs.map +1 -0
  8. package/dist/config/tailwind-content/tailwind-content.cjs +6 -0
  9. package/dist/config/tailwind-content/tailwind-content.d.cts +5 -0
  10. package/dist/config/tailwind-content/tailwind-content.d.cts.map +1 -0
  11. package/dist/config/tailwind-content/tailwind-content.d.mts +5 -0
  12. package/dist/config/tailwind-content/tailwind-content.d.mts.map +1 -0
  13. package/dist/config/tailwind-content/tailwind-content.mjs +6 -0
  14. package/dist/config/tailwind-content/tailwind-content.mjs.map +1 -0
  15. package/dist/config/tailwind-preset/index.d.cts +1 -0
  16. package/dist/config/tailwind-preset/index.d.mts +1 -0
  17. package/dist/config/tailwind-preset/tailwind-preset.cjs +34 -0
  18. package/dist/{tailwind-preset-Bz71olkK.d.mts → config/tailwind-preset/tailwind-preset.d.cts} +5 -5
  19. package/dist/config/tailwind-preset/tailwind-preset.d.cts.map +1 -0
  20. package/dist/{tailwind-preset-Bz71olkK.d.ts → config/tailwind-preset/tailwind-preset.d.mts} +5 -5
  21. package/dist/config/tailwind-preset/tailwind-preset.d.mts.map +1 -0
  22. package/dist/config/tailwind-preset/tailwind-preset.mjs +35 -0
  23. package/dist/config/tailwind-preset/tailwind-preset.mjs.map +1 -0
  24. package/dist/foundations/borderRadius.cjs +14 -0
  25. package/dist/foundations/borderRadius.d.cts +13 -0
  26. package/dist/foundations/borderRadius.d.cts.map +1 -0
  27. package/dist/foundations/borderRadius.d.mts +13 -0
  28. package/dist/foundations/borderRadius.d.mts.map +1 -0
  29. package/dist/foundations/borderRadius.mjs +14 -0
  30. package/dist/foundations/borderRadius.mjs.map +1 -0
  31. package/dist/foundations/colors.cjs +34 -0
  32. package/dist/foundations/colors.d.cts +39 -0
  33. package/dist/foundations/colors.d.cts.map +1 -0
  34. package/dist/foundations/colors.d.mts +39 -0
  35. package/dist/foundations/colors.d.mts.map +1 -0
  36. package/dist/foundations/colors.mjs +34 -0
  37. package/dist/foundations/colors.mjs.map +1 -0
  38. package/dist/foundations/typography.cjs +70 -0
  39. package/dist/foundations/typography.d.cts +34 -0
  40. package/dist/foundations/typography.d.cts.map +1 -0
  41. package/dist/foundations/typography.d.mts +34 -0
  42. package/dist/foundations/typography.d.mts.map +1 -0
  43. package/dist/foundations/typography.mjs +70 -0
  44. package/dist/foundations/typography.mjs.map +1 -0
  45. package/dist/index.cjs +11 -0
  46. package/dist/index.d.cts +7 -0
  47. package/dist/index.d.mts +7 -75
  48. package/dist/index.mjs +7 -1
  49. package/package.json +21 -11
  50. package/dist/chunk-6XXGXQS3.mjs +0 -159
  51. package/dist/config/index.d.ts +0 -15
  52. package/dist/config/index.js +0 -165
  53. package/dist/index.d.ts +0 -75
  54. package/dist/index.js +0 -158
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.d.mts","names":[],"sources":["../../src/foundations/typography.ts"],"mappings":";cAAa,UAAA;EAAA"}
@@ -0,0 +1,70 @@
1
+ //#region src/foundations/typography.ts
2
+ const typography = {
3
+ fontFamily: {
4
+ sans: [
5
+ "Pretendard",
6
+ "Pretendard Variable",
7
+ "-apple-system",
8
+ "BlinkMacSystemFont",
9
+ "system-ui",
10
+ "Roboto",
11
+ "Helvetica Neue",
12
+ "Segoe UI",
13
+ "Apple SD Gothic Neo",
14
+ "Noto Sans KR",
15
+ "Malgun Gothic",
16
+ "Apple Color Emoji",
17
+ "Segoe UI Emoji",
18
+ "Segoe UI Symbol",
19
+ "sans-serif"
20
+ ],
21
+ mono: [
22
+ "Pretendard",
23
+ "Pretendard Variable",
24
+ "ui-monospace",
25
+ "SFMono-Regular",
26
+ "SF Mono",
27
+ "Menlo",
28
+ "Consolas",
29
+ "Liberation Mono",
30
+ "monospace"
31
+ ],
32
+ serif: [
33
+ "Pretendard",
34
+ "Pretendard Variable",
35
+ "ui-serif",
36
+ "Georgia",
37
+ "Cambria",
38
+ "Times New Roman",
39
+ "Times",
40
+ "serif"
41
+ ]
42
+ },
43
+ fontSize: {
44
+ "2xs": "0.75rem",
45
+ xs: "0.875rem",
46
+ sm: "0.9375rem",
47
+ base: "1rem",
48
+ lg: "1.125rem",
49
+ xl: "1.25rem",
50
+ "2xl": "1.375rem",
51
+ "3xl": "1.5rem",
52
+ "4xl": "1.875rem",
53
+ "5xl": "2rem",
54
+ "6xl": "3rem"
55
+ },
56
+ fontWeight: {
57
+ regular: "400",
58
+ medium: "500",
59
+ semibold: "600",
60
+ bold: "700"
61
+ },
62
+ lineHeight: {
63
+ tight: "1.5",
64
+ normal: "1.6"
65
+ }
66
+ };
67
+
68
+ //#endregion
69
+ export { typography };
70
+ //# sourceMappingURL=typography.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.mjs","names":[],"sources":["../../src/foundations/typography.ts"],"sourcesContent":["export const typography = {\n fontFamily: {\n sans: [\n 'Pretendard',\n 'Pretendard Variable',\n '-apple-system',\n 'BlinkMacSystemFont',\n 'system-ui',\n 'Roboto',\n 'Helvetica Neue',\n 'Segoe UI',\n 'Apple SD Gothic Neo',\n 'Noto Sans KR',\n 'Malgun Gothic',\n 'Apple Color Emoji',\n 'Segoe UI Emoji',\n 'Segoe UI Symbol',\n 'sans-serif',\n ],\n mono: [\n 'Pretendard',\n 'Pretendard Variable',\n 'ui-monospace',\n 'SFMono-Regular',\n 'SF Mono',\n 'Menlo',\n 'Consolas',\n 'Liberation Mono',\n 'monospace',\n ],\n serif: [\n 'Pretendard',\n 'Pretendard Variable',\n 'ui-serif',\n 'Georgia',\n 'Cambria',\n 'Times New Roman',\n 'Times',\n 'serif',\n ],\n },\n fontSize: {\n '2xs': '0.75rem', // 12px\n xs: '0.875rem', // 14px\n sm: '0.9375rem', // 15px\n base: '1rem', // 16px\n lg: '1.125rem', // 18px\n xl: '1.25rem', // 20px\n '2xl': '1.375rem', // 22px\n '3xl': '1.5rem', // 24px\n '4xl': '1.875rem', // 30px\n '5xl': '2rem', // 32px\n '6xl': '3rem', // 48px\n },\n fontWeight: {\n regular: '400',\n medium: '500',\n semibold: '600',\n bold: '700',\n },\n lineHeight: {\n tight: '1.5',\n normal: '1.6',\n },\n} as const;\n"],"mappings":";AAAA,MAAa,aAAa;CACxB,YAAY;EACV,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACD;EACD,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACD;EACD,OAAO;GACL;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACD;EACF;CACD,UAAU;EACR,OAAO;EACP,IAAI;EACJ,IAAI;EACJ,MAAM;EACN,IAAI;EACJ,IAAI;EACJ,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACR;CACD,YAAY;EACV,SAAS;EACT,QAAQ;EACR,UAAU;EACV,MAAM;EACP;CACD,YAAY;EACV,OAAO;EACP,QAAQ;EACT;CACF"}
package/dist/index.cjs ADDED
@@ -0,0 +1,11 @@
1
+ const require_borderRadius = require('./foundations/borderRadius.cjs');
2
+ const require_colors = require('./foundations/colors.cjs');
3
+ const require_typography = require('./foundations/typography.cjs');
4
+ const require_tailwind_content = require('./config/tailwind-content/tailwind-content.cjs');
5
+ const require_tailwind_preset = require('./config/tailwind-preset/tailwind-preset.cjs');
6
+
7
+ exports.borderRadius = require_borderRadius.borderRadius;
8
+ exports.causwContent = require_tailwind_content.causwContent;
9
+ exports.causwPreset = require_tailwind_preset.causwPreset;
10
+ exports.colors = require_colors.colors;
11
+ exports.typography = require_typography.typography;
@@ -0,0 +1,7 @@
1
+ import { causwContent } from "./config/tailwind-content/tailwind-content.cjs";
2
+ import { causwPreset } from "./config/tailwind-preset/tailwind-preset.cjs";
3
+ import "./config/index.cjs";
4
+ import { borderRadius } from "./foundations/borderRadius.cjs";
5
+ import { colors } from "./foundations/colors.cjs";
6
+ import { typography } from "./foundations/typography.cjs";
7
+ export { borderRadius, causwContent, causwPreset, colors, typography };
package/dist/index.d.mts CHANGED
@@ -1,75 +1,7 @@
1
- export { c as causwContent, a as causwPreset } from './tailwind-preset-Bz71olkK.mjs';
2
- import 'tailwindcss';
3
-
4
- declare const borderRadius: {
5
- readonly xs: "0.25rem";
6
- readonly sm: "0.5rem";
7
- readonly md: "0.75rem";
8
- readonly lg: "1rem";
9
- readonly xl: "1.25rem";
10
- readonly '2xl': "1.5rem";
11
- readonly '3xl': "2rem";
12
- };
13
-
14
- declare const colors: {
15
- readonly blue: {
16
- readonly 100: "#EEF4FF";
17
- readonly 500: "#4F98FF";
18
- readonly 700: "#237EFF";
19
- };
20
- readonly gray: {
21
- readonly 50: "#F9FAFB";
22
- readonly 100: "#F5F6F8";
23
- readonly 200: "#E9ECF2";
24
- readonly 300: "#CACED5";
25
- readonly 400: "#99A1AF";
26
- readonly 500: "#6A7282";
27
- readonly 600: "#4A5565";
28
- readonly 700: "#364153";
29
- readonly 800: "#1E2939";
30
- readonly 900: "#101828";
31
- };
32
- readonly red: {
33
- readonly 100: "#FFEFEF";
34
- readonly 400: "#FD5C5F";
35
- };
36
- readonly white: {
37
- readonly main: "#FFEFEF";
38
- };
39
- readonly black: {
40
- readonly main: "#000000";
41
- };
42
- };
43
-
44
- declare const typography: {
45
- readonly fontFamily: {
46
- readonly sans: readonly ["Pretendard", "Pretendard Variable", "-apple-system", "BlinkMacSystemFont", "system-ui", "Roboto", "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "sans-serif"];
47
- readonly mono: readonly ["Pretendard", "Pretendard Variable", "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas", "Liberation Mono", "monospace"];
48
- readonly serif: readonly ["Pretendard", "Pretendard Variable", "ui-serif", "Georgia", "Cambria", "Times New Roman", "Times", "serif"];
49
- };
50
- readonly fontSize: {
51
- readonly '2xs': "0.75rem";
52
- readonly xs: "0.875rem";
53
- readonly sm: "0.9375rem";
54
- readonly base: "1rem";
55
- readonly lg: "1.125rem";
56
- readonly xl: "1.25rem";
57
- readonly '2xl': "1.375rem";
58
- readonly '3xl': "1.5rem";
59
- readonly '4xl': "1.875rem";
60
- readonly '5xl': "2rem";
61
- readonly '6xl': "3rem";
62
- };
63
- readonly fontWeight: {
64
- readonly regular: "400";
65
- readonly medium: "500";
66
- readonly semibold: "600";
67
- readonly bold: "700";
68
- };
69
- readonly lineHeight: {
70
- readonly tight: "1.5";
71
- readonly normal: "1.6";
72
- };
73
- };
74
-
75
- export { borderRadius, colors, typography };
1
+ import { causwContent } from "./config/tailwind-content/tailwind-content.mjs";
2
+ import { causwPreset } from "./config/tailwind-preset/tailwind-preset.mjs";
3
+ import "./config/index.mjs";
4
+ import { borderRadius } from "./foundations/borderRadius.mjs";
5
+ import { colors } from "./foundations/colors.mjs";
6
+ import { typography } from "./foundations/typography.mjs";
7
+ export { borderRadius, causwContent, causwPreset, colors, typography };
package/dist/index.mjs CHANGED
@@ -1 +1,7 @@
1
- export { borderRadius, causwContent, causwPreset, colors, typography } from './chunk-6XXGXQS3.mjs';
1
+ import { borderRadius } from "./foundations/borderRadius.mjs";
2
+ import { colors } from "./foundations/colors.mjs";
3
+ import { typography } from "./foundations/typography.mjs";
4
+ import { causwContent } from "./config/tailwind-content/tailwind-content.mjs";
5
+ import { causwPreset } from "./config/tailwind-preset/tailwind-preset.mjs";
6
+
7
+ export { borderRadius, causwContent, causwPreset, colors, typography };
package/package.json CHANGED
@@ -1,20 +1,30 @@
1
1
  {
2
2
  "name": "@causw/tokens",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "Design tokens for CAUSW Design System - CAU Software Community Service",
5
- "main": "dist/index.js",
5
+ "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
7
- "types": "dist/index.d.ts",
7
+ "types": "dist/index.d.cts",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.mjs",
12
- "require": "./dist/index.js"
10
+ "import": {
11
+ "types": "./dist/index.d.mts",
12
+ "default": "./dist/index.mjs"
13
+ },
14
+ "require": {
15
+ "types": "./dist/index.d.cts",
16
+ "default": "./dist/index.cjs"
17
+ }
13
18
  },
14
19
  "./config": {
15
- "types": "./dist/config/index.d.ts",
16
- "import": "./dist/config/index.mjs",
17
- "require": "./dist/config/index.js"
20
+ "import": {
21
+ "types": "./dist/config/index.d.mts",
22
+ "default": "./dist/config/index.mjs"
23
+ },
24
+ "require": {
25
+ "types": "./dist/config/index.d.cts",
26
+ "default": "./dist/config/index.cjs"
27
+ }
18
28
  }
19
29
  },
20
30
  "files": [
@@ -31,8 +41,8 @@
31
41
  },
32
42
  "sideEffects": false,
33
43
  "scripts": {
34
- "build": "tsup src/index.ts src/config/index.ts --format cjs,esm --dts --treeshake",
35
- "dev": "tsup src/index.ts src/config/index.ts --format cjs,esm --dts --watch",
44
+ "build": "tsdown",
45
+ "dev": "tsdown --watch",
36
46
  "lint": "eslint src",
37
47
  "test": "echo \"No tests yet\""
38
48
  }
@@ -1,159 +0,0 @@
1
- // src/config/tailwind-content/tailwind-content.ts
2
- var causwContent = [
3
- "./node_modules/@causw/core/dist/**/*.{js,mjs}",
4
- "./node_modules/@causw/tokens/dist/**/*.{js,mjs}"
5
- ];
6
-
7
- // src/foundations/borderRadius.ts
8
- var borderRadius = {
9
- xs: "0.25rem",
10
- // 4px
11
- sm: "0.5rem",
12
- // 8px
13
- md: "0.75rem",
14
- // 12px
15
- lg: "1rem",
16
- // 16px
17
- xl: "1.25rem",
18
- // 20px
19
- "2xl": "1.5rem",
20
- // 24px
21
- "3xl": "2rem"
22
- // 32px
23
- };
24
-
25
- // src/foundations/colors.ts
26
- var colors = {
27
- blue: {
28
- 100: "#EEF4FF",
29
- 500: "#4F98FF",
30
- 700: "#237EFF"
31
- },
32
- gray: {
33
- 50: "#F9FAFB",
34
- 100: "#F5F6F8",
35
- 200: "#E9ECF2",
36
- 300: "#CACED5",
37
- 400: "#99A1AF",
38
- 500: "#6A7282",
39
- 600: "#4A5565",
40
- 700: "#364153",
41
- 800: "#1E2939",
42
- 900: "#101828"
43
- },
44
- red: {
45
- 100: "#FFEFEF",
46
- 400: "#FD5C5F"
47
- },
48
- white: {
49
- main: "#FFEFEF"
50
- },
51
- black: {
52
- main: "#000000"
53
- }
54
- };
55
-
56
- // src/foundations/typography.ts
57
- var typography = {
58
- fontFamily: {
59
- sans: [
60
- "Pretendard",
61
- "Pretendard Variable",
62
- "-apple-system",
63
- "BlinkMacSystemFont",
64
- "system-ui",
65
- "Roboto",
66
- "Helvetica Neue",
67
- "Segoe UI",
68
- "Apple SD Gothic Neo",
69
- "Noto Sans KR",
70
- "Malgun Gothic",
71
- "Apple Color Emoji",
72
- "Segoe UI Emoji",
73
- "Segoe UI Symbol",
74
- "sans-serif"
75
- ],
76
- mono: [
77
- "Pretendard",
78
- "Pretendard Variable",
79
- "ui-monospace",
80
- "SFMono-Regular",
81
- "SF Mono",
82
- "Menlo",
83
- "Consolas",
84
- "Liberation Mono",
85
- "monospace"
86
- ],
87
- serif: [
88
- "Pretendard",
89
- "Pretendard Variable",
90
- "ui-serif",
91
- "Georgia",
92
- "Cambria",
93
- "Times New Roman",
94
- "Times",
95
- "serif"
96
- ]
97
- },
98
- fontSize: {
99
- "2xs": "0.75rem",
100
- // 12px
101
- xs: "0.875rem",
102
- // 14px
103
- sm: "0.9375rem",
104
- // 15px
105
- base: "1rem",
106
- // 16px
107
- lg: "1.125rem",
108
- // 18px
109
- xl: "1.25rem",
110
- // 20px
111
- "2xl": "1.375rem",
112
- // 22px
113
- "3xl": "1.5rem",
114
- // 24px
115
- "4xl": "1.875rem",
116
- // 30px
117
- "5xl": "2rem",
118
- // 32px
119
- "6xl": "3rem"
120
- // 48px
121
- },
122
- fontWeight: {
123
- regular: "400",
124
- medium: "500",
125
- semibold: "600",
126
- bold: "700"
127
- },
128
- lineHeight: {
129
- tight: "1.5",
130
- normal: "1.6"
131
- }
132
- };
133
-
134
- // src/config/tailwind-preset/tailwind-preset.ts
135
- var causwPreset = {
136
- theme: {
137
- extend: {
138
- borderRadius,
139
- colors,
140
- fontFamily: {
141
- sans: typography.fontFamily.sans,
142
- mono: typography.fontFamily.mono,
143
- serif: typography.fontFamily.serif
144
- },
145
- fontSize: typography.fontSize,
146
- fontWeight: typography.fontWeight,
147
- lineHeight: typography.lineHeight
148
- }
149
- }
150
- };
151
-
152
- // src/config/index.ts
153
- var causwConfig = {
154
- content: causwContent,
155
- presets: [causwPreset]
156
- };
157
- var config_default = causwConfig;
158
-
159
- export { borderRadius, causwContent, causwPreset, colors, config_default, typography };
@@ -1,15 +0,0 @@
1
- import { Config } from 'tailwindcss';
2
- export { c as causwContent, a as causwPreset } from '../tailwind-preset-Bz71olkK.js';
3
-
4
- /**
5
- * Tailwind CSS 4 config for use with @config directive
6
- *
7
- * @example
8
- * ```css
9
- * @import 'tailwindcss';
10
- * @config '@causw/tokens/config';
11
- * ```
12
- */
13
- declare const causwConfig: Config;
14
-
15
- export { causwConfig as default };
@@ -1,165 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- // src/config/tailwind-content/tailwind-content.ts
6
- var causwContent = [
7
- "./node_modules/@causw/core/dist/**/*.{js,mjs}",
8
- "./node_modules/@causw/tokens/dist/**/*.{js,mjs}"
9
- ];
10
-
11
- // src/foundations/borderRadius.ts
12
- var borderRadius = {
13
- xs: "0.25rem",
14
- // 4px
15
- sm: "0.5rem",
16
- // 8px
17
- md: "0.75rem",
18
- // 12px
19
- lg: "1rem",
20
- // 16px
21
- xl: "1.25rem",
22
- // 20px
23
- "2xl": "1.5rem",
24
- // 24px
25
- "3xl": "2rem"
26
- // 32px
27
- };
28
-
29
- // src/foundations/colors.ts
30
- var colors = {
31
- blue: {
32
- 100: "#EEF4FF",
33
- 500: "#4F98FF",
34
- 700: "#237EFF"
35
- },
36
- gray: {
37
- 50: "#F9FAFB",
38
- 100: "#F5F6F8",
39
- 200: "#E9ECF2",
40
- 300: "#CACED5",
41
- 400: "#99A1AF",
42
- 500: "#6A7282",
43
- 600: "#4A5565",
44
- 700: "#364153",
45
- 800: "#1E2939",
46
- 900: "#101828"
47
- },
48
- red: {
49
- 100: "#FFEFEF",
50
- 400: "#FD5C5F"
51
- },
52
- white: {
53
- main: "#FFEFEF"
54
- },
55
- black: {
56
- main: "#000000"
57
- }
58
- };
59
-
60
- // src/foundations/typography.ts
61
- var typography = {
62
- fontFamily: {
63
- sans: [
64
- "Pretendard",
65
- "Pretendard Variable",
66
- "-apple-system",
67
- "BlinkMacSystemFont",
68
- "system-ui",
69
- "Roboto",
70
- "Helvetica Neue",
71
- "Segoe UI",
72
- "Apple SD Gothic Neo",
73
- "Noto Sans KR",
74
- "Malgun Gothic",
75
- "Apple Color Emoji",
76
- "Segoe UI Emoji",
77
- "Segoe UI Symbol",
78
- "sans-serif"
79
- ],
80
- mono: [
81
- "Pretendard",
82
- "Pretendard Variable",
83
- "ui-monospace",
84
- "SFMono-Regular",
85
- "SF Mono",
86
- "Menlo",
87
- "Consolas",
88
- "Liberation Mono",
89
- "monospace"
90
- ],
91
- serif: [
92
- "Pretendard",
93
- "Pretendard Variable",
94
- "ui-serif",
95
- "Georgia",
96
- "Cambria",
97
- "Times New Roman",
98
- "Times",
99
- "serif"
100
- ]
101
- },
102
- fontSize: {
103
- "2xs": "0.75rem",
104
- // 12px
105
- xs: "0.875rem",
106
- // 14px
107
- sm: "0.9375rem",
108
- // 15px
109
- base: "1rem",
110
- // 16px
111
- lg: "1.125rem",
112
- // 18px
113
- xl: "1.25rem",
114
- // 20px
115
- "2xl": "1.375rem",
116
- // 22px
117
- "3xl": "1.5rem",
118
- // 24px
119
- "4xl": "1.875rem",
120
- // 30px
121
- "5xl": "2rem",
122
- // 32px
123
- "6xl": "3rem"
124
- // 48px
125
- },
126
- fontWeight: {
127
- regular: "400",
128
- medium: "500",
129
- semibold: "600",
130
- bold: "700"
131
- },
132
- lineHeight: {
133
- tight: "1.5",
134
- normal: "1.6"
135
- }
136
- };
137
-
138
- // src/config/tailwind-preset/tailwind-preset.ts
139
- var causwPreset = {
140
- theme: {
141
- extend: {
142
- borderRadius,
143
- colors,
144
- fontFamily: {
145
- sans: typography.fontFamily.sans,
146
- mono: typography.fontFamily.mono,
147
- serif: typography.fontFamily.serif
148
- },
149
- fontSize: typography.fontSize,
150
- fontWeight: typography.fontWeight,
151
- lineHeight: typography.lineHeight
152
- }
153
- }
154
- };
155
-
156
- // src/config/index.ts
157
- var causwConfig = {
158
- content: causwContent,
159
- presets: [causwPreset]
160
- };
161
- var config_default = causwConfig;
162
-
163
- exports.causwContent = causwContent;
164
- exports.causwPreset = causwPreset;
165
- exports.default = config_default;
package/dist/index.d.ts DELETED
@@ -1,75 +0,0 @@
1
- export { c as causwContent, a as causwPreset } from './tailwind-preset-Bz71olkK.js';
2
- import 'tailwindcss';
3
-
4
- declare const borderRadius: {
5
- readonly xs: "0.25rem";
6
- readonly sm: "0.5rem";
7
- readonly md: "0.75rem";
8
- readonly lg: "1rem";
9
- readonly xl: "1.25rem";
10
- readonly '2xl': "1.5rem";
11
- readonly '3xl': "2rem";
12
- };
13
-
14
- declare const colors: {
15
- readonly blue: {
16
- readonly 100: "#EEF4FF";
17
- readonly 500: "#4F98FF";
18
- readonly 700: "#237EFF";
19
- };
20
- readonly gray: {
21
- readonly 50: "#F9FAFB";
22
- readonly 100: "#F5F6F8";
23
- readonly 200: "#E9ECF2";
24
- readonly 300: "#CACED5";
25
- readonly 400: "#99A1AF";
26
- readonly 500: "#6A7282";
27
- readonly 600: "#4A5565";
28
- readonly 700: "#364153";
29
- readonly 800: "#1E2939";
30
- readonly 900: "#101828";
31
- };
32
- readonly red: {
33
- readonly 100: "#FFEFEF";
34
- readonly 400: "#FD5C5F";
35
- };
36
- readonly white: {
37
- readonly main: "#FFEFEF";
38
- };
39
- readonly black: {
40
- readonly main: "#000000";
41
- };
42
- };
43
-
44
- declare const typography: {
45
- readonly fontFamily: {
46
- readonly sans: readonly ["Pretendard", "Pretendard Variable", "-apple-system", "BlinkMacSystemFont", "system-ui", "Roboto", "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "sans-serif"];
47
- readonly mono: readonly ["Pretendard", "Pretendard Variable", "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas", "Liberation Mono", "monospace"];
48
- readonly serif: readonly ["Pretendard", "Pretendard Variable", "ui-serif", "Georgia", "Cambria", "Times New Roman", "Times", "serif"];
49
- };
50
- readonly fontSize: {
51
- readonly '2xs': "0.75rem";
52
- readonly xs: "0.875rem";
53
- readonly sm: "0.9375rem";
54
- readonly base: "1rem";
55
- readonly lg: "1.125rem";
56
- readonly xl: "1.25rem";
57
- readonly '2xl': "1.375rem";
58
- readonly '3xl': "1.5rem";
59
- readonly '4xl': "1.875rem";
60
- readonly '5xl': "2rem";
61
- readonly '6xl': "3rem";
62
- };
63
- readonly fontWeight: {
64
- readonly regular: "400";
65
- readonly medium: "500";
66
- readonly semibold: "600";
67
- readonly bold: "700";
68
- };
69
- readonly lineHeight: {
70
- readonly tight: "1.5";
71
- readonly normal: "1.6";
72
- };
73
- };
74
-
75
- export { borderRadius, colors, typography };