achery-ui 0.1.0

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.
@@ -0,0 +1,188 @@
1
+ export { A as AccentColor, a as accentColorNames, b as accentColors } from '../accents-DrqL1lLe.cjs';
2
+
3
+ declare const palette: {
4
+ readonly ink: "#1f1d18";
5
+ readonly inkDeep: "#14130f";
6
+ readonly paper: "#fbf8f0";
7
+ readonly paperWarm: "#f0e9d6";
8
+ readonly paperToasted: "#e6dec5";
9
+ readonly cream: "#e8dfc8";
10
+ readonly creamSoft: "#d8cdb0";
11
+ readonly mossDeep: "#2e3a20";
12
+ readonly moss: "#4a5a32";
13
+ readonly mossMid: "#6b7a48";
14
+ readonly mossLight: "#8da866";
15
+ readonly sage: "#b6c898";
16
+ readonly terracotta: "#c46a3a";
17
+ readonly terracottaDeep: "#a05526";
18
+ readonly terracottaLight: "#d97a4a";
19
+ readonly plum: "#5d4a6a";
20
+ readonly plumMid: "#7a5e8a";
21
+ readonly plumLight: "#8b6fa8";
22
+ readonly rust: "#8a3a22";
23
+ readonly ochre: "#b8924a";
24
+ readonly leather: "#6b3a26";
25
+ readonly leatherMid: "#8a4e34";
26
+ readonly leatherLight: "#a86a48";
27
+ readonly copper: "#b8742a";
28
+ readonly copperDeep: "#8a531a";
29
+ readonly copperLight: "#d68f48";
30
+ readonly copperPatina: "#5a7a6a";
31
+ readonly silver: "#a8a098";
32
+ readonly silverDeep: "#6e6a62";
33
+ readonly silverLight: "#c8c0b6";
34
+ readonly wood: "#7a5a3a";
35
+ readonly woodLight: "#a88660";
36
+ readonly woodDeep: "#4a3422";
37
+ readonly gold: "#c69a4a";
38
+ readonly goldDeep: "#9a7430";
39
+ readonly goldLight: "#e0bc70";
40
+ readonly success: "#6ba03d";
41
+ };
42
+ type PaletteKey = keyof typeof palette;
43
+
44
+ declare const spacingScale: readonly [0, 2, 4, 6, 8, 12, 16, 20, 24, 32, 40, 56, 80];
45
+ declare const spacing: {
46
+ readonly sp0: 0;
47
+ readonly sp1: 2;
48
+ readonly sp2: 4;
49
+ readonly sp3: 6;
50
+ readonly sp4: 8;
51
+ readonly sp5: 12;
52
+ readonly sp6: 16;
53
+ readonly sp7: 20;
54
+ readonly sp8: 24;
55
+ readonly sp9: 32;
56
+ readonly sp10: 40;
57
+ readonly sp11: 56;
58
+ readonly sp12: 80;
59
+ };
60
+ declare const px: (n: number) => string;
61
+
62
+ declare const fontFamilies: {
63
+ readonly display: "'Roboto Slab', 'Rockwell', 'Courier New', serif";
64
+ readonly body: "'Space Grotesk', 'Helvetica Neue', 'Inter', system-ui, sans-serif";
65
+ readonly mono: "'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace";
66
+ };
67
+ declare const fontSizes: {
68
+ readonly xs: "11px";
69
+ readonly sm: "12px";
70
+ readonly md: "14px";
71
+ readonly lg: "16px";
72
+ readonly xl: "20px";
73
+ readonly '2xl': "26px";
74
+ readonly '3xl': "34px";
75
+ readonly '4xl': "46px";
76
+ readonly '5xl': "64px";
77
+ readonly '6xl': "88px";
78
+ };
79
+ declare const fontWeights: {
80
+ readonly regular: 400;
81
+ readonly medium: 500;
82
+ readonly semibold: 600;
83
+ readonly bold: 700;
84
+ readonly black: 900;
85
+ };
86
+ declare const lineHeights: {
87
+ readonly tight: 1.08;
88
+ readonly snug: 1.2;
89
+ readonly base: 1.45;
90
+ readonly loose: 1.65;
91
+ };
92
+ declare const letterSpacings: {
93
+ readonly tight: "-0.02em";
94
+ readonly snug: "-0.01em";
95
+ readonly base: "0";
96
+ readonly wide: "0.04em";
97
+ readonly wider: "0.08em";
98
+ readonly widest: "0.18em";
99
+ };
100
+ declare const googleFontsUrl = "https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;700;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap";
101
+
102
+ declare const radius: {
103
+ readonly none: "0";
104
+ readonly hairline: "1px";
105
+ readonly sm: "2px";
106
+ readonly pill: "999px";
107
+ };
108
+
109
+ declare const shadows: {
110
+ readonly stamp: "2px 2px 0 0";
111
+ readonly stampLg: "4px 4px 0 0";
112
+ readonly pressLight: "inset 0 1px 0 rgba(20,19,15,0.18)";
113
+ readonly pressDark: "inset 0 1px 0 rgba(232,223,200,0.10)";
114
+ readonly softLight: "0 1px 0 rgba(20,19,15,0.12), 0 0 0 1px rgba(20,19,15,0.04)";
115
+ readonly softDark: "0 1px 0 rgba(0,0,0,0.6), 0 0 0 1px rgba(232,223,200,0.05)";
116
+ };
117
+
118
+ declare const duration: {
119
+ readonly fast: "120ms";
120
+ readonly base: "180ms";
121
+ readonly slow: "320ms";
122
+ };
123
+ declare const easing: {
124
+ readonly out: "cubic-bezier(.2,.7,.2,1)";
125
+ readonly in: "cubic-bezier(.6,.0,.8,.3)";
126
+ readonly snap: "cubic-bezier(.5,1.6,.4,1)";
127
+ };
128
+ declare const zIndex: {
129
+ readonly base: 1;
130
+ readonly sticky: 10;
131
+ readonly overlay: 50;
132
+ readonly modal: 100;
133
+ readonly toast: 200;
134
+ };
135
+
136
+ declare const lightTokens: {
137
+ readonly bg: "#fbf8f0";
138
+ readonly bg2: "#f0e9d6";
139
+ readonly bgSunken: "#e6dec5";
140
+ readonly surface: "#fdfaf3";
141
+ readonly surface2: "#f0e9d6";
142
+ readonly fg: "#1f1d18";
143
+ readonly fg2: "#4a463c";
144
+ readonly fg3: "#6e6a5e";
145
+ readonly fgMute: "#8a8576";
146
+ readonly border: "#1f1d18";
147
+ readonly border2: "#6e6a5e";
148
+ readonly borderMute: "#b8ad94";
149
+ readonly rule: "#14130f";
150
+ readonly accent: "#c46a3a";
151
+ readonly accentFg: "#fbf8f0";
152
+ readonly accent2: "#4a5a32";
153
+ readonly accent3: "#5d4a6a";
154
+ readonly success: "#6ba03d";
155
+ readonly warn: "#b8924a";
156
+ readonly danger: "#8a3a22";
157
+ readonly info: "#7a5e8a";
158
+ readonly selectionBg: "#b8924a";
159
+ readonly selectionFg: "#1f1d18";
160
+ };
161
+ declare const darkTokens: {
162
+ readonly bg: "#14130f";
163
+ readonly bg2: "#1f1d18";
164
+ readonly bgSunken: "#0c0b08";
165
+ readonly surface: "#26241e";
166
+ readonly surface2: "#2d2a23";
167
+ readonly fg: "#e8dfc8";
168
+ readonly fg2: "#b8ad94";
169
+ readonly fg3: "#8a8576";
170
+ readonly fgMute: "#6e6a5e";
171
+ readonly border: "#e8dfc8";
172
+ readonly border2: "#8a8576";
173
+ readonly borderMute: "#4a463c";
174
+ readonly rule: "#e8dfc8";
175
+ readonly accent: "#d97a4a";
176
+ readonly accentFg: "#14130f";
177
+ readonly accent2: "#8da866";
178
+ readonly accent3: "#8b6fa8";
179
+ readonly success: "#7fba4a";
180
+ readonly warn: "#b8924a";
181
+ readonly danger: "#c46a3a";
182
+ readonly info: "#7a5e8a";
183
+ readonly selectionBg: "#8da866";
184
+ readonly selectionFg: "#14130f";
185
+ };
186
+ type SemanticTokens = typeof lightTokens;
187
+
188
+ export { type PaletteKey, type SemanticTokens, darkTokens, duration, easing, fontFamilies, fontSizes, fontWeights, googleFontsUrl, letterSpacings, lightTokens, lineHeights, palette, px, radius, shadows, spacing, spacingScale, zIndex };
@@ -0,0 +1,188 @@
1
+ export { A as AccentColor, a as accentColorNames, b as accentColors } from '../accents-DrqL1lLe.js';
2
+
3
+ declare const palette: {
4
+ readonly ink: "#1f1d18";
5
+ readonly inkDeep: "#14130f";
6
+ readonly paper: "#fbf8f0";
7
+ readonly paperWarm: "#f0e9d6";
8
+ readonly paperToasted: "#e6dec5";
9
+ readonly cream: "#e8dfc8";
10
+ readonly creamSoft: "#d8cdb0";
11
+ readonly mossDeep: "#2e3a20";
12
+ readonly moss: "#4a5a32";
13
+ readonly mossMid: "#6b7a48";
14
+ readonly mossLight: "#8da866";
15
+ readonly sage: "#b6c898";
16
+ readonly terracotta: "#c46a3a";
17
+ readonly terracottaDeep: "#a05526";
18
+ readonly terracottaLight: "#d97a4a";
19
+ readonly plum: "#5d4a6a";
20
+ readonly plumMid: "#7a5e8a";
21
+ readonly plumLight: "#8b6fa8";
22
+ readonly rust: "#8a3a22";
23
+ readonly ochre: "#b8924a";
24
+ readonly leather: "#6b3a26";
25
+ readonly leatherMid: "#8a4e34";
26
+ readonly leatherLight: "#a86a48";
27
+ readonly copper: "#b8742a";
28
+ readonly copperDeep: "#8a531a";
29
+ readonly copperLight: "#d68f48";
30
+ readonly copperPatina: "#5a7a6a";
31
+ readonly silver: "#a8a098";
32
+ readonly silverDeep: "#6e6a62";
33
+ readonly silverLight: "#c8c0b6";
34
+ readonly wood: "#7a5a3a";
35
+ readonly woodLight: "#a88660";
36
+ readonly woodDeep: "#4a3422";
37
+ readonly gold: "#c69a4a";
38
+ readonly goldDeep: "#9a7430";
39
+ readonly goldLight: "#e0bc70";
40
+ readonly success: "#6ba03d";
41
+ };
42
+ type PaletteKey = keyof typeof palette;
43
+
44
+ declare const spacingScale: readonly [0, 2, 4, 6, 8, 12, 16, 20, 24, 32, 40, 56, 80];
45
+ declare const spacing: {
46
+ readonly sp0: 0;
47
+ readonly sp1: 2;
48
+ readonly sp2: 4;
49
+ readonly sp3: 6;
50
+ readonly sp4: 8;
51
+ readonly sp5: 12;
52
+ readonly sp6: 16;
53
+ readonly sp7: 20;
54
+ readonly sp8: 24;
55
+ readonly sp9: 32;
56
+ readonly sp10: 40;
57
+ readonly sp11: 56;
58
+ readonly sp12: 80;
59
+ };
60
+ declare const px: (n: number) => string;
61
+
62
+ declare const fontFamilies: {
63
+ readonly display: "'Roboto Slab', 'Rockwell', 'Courier New', serif";
64
+ readonly body: "'Space Grotesk', 'Helvetica Neue', 'Inter', system-ui, sans-serif";
65
+ readonly mono: "'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace";
66
+ };
67
+ declare const fontSizes: {
68
+ readonly xs: "11px";
69
+ readonly sm: "12px";
70
+ readonly md: "14px";
71
+ readonly lg: "16px";
72
+ readonly xl: "20px";
73
+ readonly '2xl': "26px";
74
+ readonly '3xl': "34px";
75
+ readonly '4xl': "46px";
76
+ readonly '5xl': "64px";
77
+ readonly '6xl': "88px";
78
+ };
79
+ declare const fontWeights: {
80
+ readonly regular: 400;
81
+ readonly medium: 500;
82
+ readonly semibold: 600;
83
+ readonly bold: 700;
84
+ readonly black: 900;
85
+ };
86
+ declare const lineHeights: {
87
+ readonly tight: 1.08;
88
+ readonly snug: 1.2;
89
+ readonly base: 1.45;
90
+ readonly loose: 1.65;
91
+ };
92
+ declare const letterSpacings: {
93
+ readonly tight: "-0.02em";
94
+ readonly snug: "-0.01em";
95
+ readonly base: "0";
96
+ readonly wide: "0.04em";
97
+ readonly wider: "0.08em";
98
+ readonly widest: "0.18em";
99
+ };
100
+ declare const googleFontsUrl = "https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;700;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap";
101
+
102
+ declare const radius: {
103
+ readonly none: "0";
104
+ readonly hairline: "1px";
105
+ readonly sm: "2px";
106
+ readonly pill: "999px";
107
+ };
108
+
109
+ declare const shadows: {
110
+ readonly stamp: "2px 2px 0 0";
111
+ readonly stampLg: "4px 4px 0 0";
112
+ readonly pressLight: "inset 0 1px 0 rgba(20,19,15,0.18)";
113
+ readonly pressDark: "inset 0 1px 0 rgba(232,223,200,0.10)";
114
+ readonly softLight: "0 1px 0 rgba(20,19,15,0.12), 0 0 0 1px rgba(20,19,15,0.04)";
115
+ readonly softDark: "0 1px 0 rgba(0,0,0,0.6), 0 0 0 1px rgba(232,223,200,0.05)";
116
+ };
117
+
118
+ declare const duration: {
119
+ readonly fast: "120ms";
120
+ readonly base: "180ms";
121
+ readonly slow: "320ms";
122
+ };
123
+ declare const easing: {
124
+ readonly out: "cubic-bezier(.2,.7,.2,1)";
125
+ readonly in: "cubic-bezier(.6,.0,.8,.3)";
126
+ readonly snap: "cubic-bezier(.5,1.6,.4,1)";
127
+ };
128
+ declare const zIndex: {
129
+ readonly base: 1;
130
+ readonly sticky: 10;
131
+ readonly overlay: 50;
132
+ readonly modal: 100;
133
+ readonly toast: 200;
134
+ };
135
+
136
+ declare const lightTokens: {
137
+ readonly bg: "#fbf8f0";
138
+ readonly bg2: "#f0e9d6";
139
+ readonly bgSunken: "#e6dec5";
140
+ readonly surface: "#fdfaf3";
141
+ readonly surface2: "#f0e9d6";
142
+ readonly fg: "#1f1d18";
143
+ readonly fg2: "#4a463c";
144
+ readonly fg3: "#6e6a5e";
145
+ readonly fgMute: "#8a8576";
146
+ readonly border: "#1f1d18";
147
+ readonly border2: "#6e6a5e";
148
+ readonly borderMute: "#b8ad94";
149
+ readonly rule: "#14130f";
150
+ readonly accent: "#c46a3a";
151
+ readonly accentFg: "#fbf8f0";
152
+ readonly accent2: "#4a5a32";
153
+ readonly accent3: "#5d4a6a";
154
+ readonly success: "#6ba03d";
155
+ readonly warn: "#b8924a";
156
+ readonly danger: "#8a3a22";
157
+ readonly info: "#7a5e8a";
158
+ readonly selectionBg: "#b8924a";
159
+ readonly selectionFg: "#1f1d18";
160
+ };
161
+ declare const darkTokens: {
162
+ readonly bg: "#14130f";
163
+ readonly bg2: "#1f1d18";
164
+ readonly bgSunken: "#0c0b08";
165
+ readonly surface: "#26241e";
166
+ readonly surface2: "#2d2a23";
167
+ readonly fg: "#e8dfc8";
168
+ readonly fg2: "#b8ad94";
169
+ readonly fg3: "#8a8576";
170
+ readonly fgMute: "#6e6a5e";
171
+ readonly border: "#e8dfc8";
172
+ readonly border2: "#8a8576";
173
+ readonly borderMute: "#4a463c";
174
+ readonly rule: "#e8dfc8";
175
+ readonly accent: "#d97a4a";
176
+ readonly accentFg: "#14130f";
177
+ readonly accent2: "#8da866";
178
+ readonly accent3: "#8b6fa8";
179
+ readonly success: "#7fba4a";
180
+ readonly warn: "#b8924a";
181
+ readonly danger: "#c46a3a";
182
+ readonly info: "#7a5e8a";
183
+ readonly selectionBg: "#8da866";
184
+ readonly selectionFg: "#14130f";
185
+ };
186
+ type SemanticTokens = typeof lightTokens;
187
+
188
+ export { type PaletteKey, type SemanticTokens, darkTokens, duration, easing, fontFamilies, fontSizes, fontWeights, googleFontsUrl, letterSpacings, lightTokens, lineHeights, palette, px, radius, shadows, spacing, spacingScale, zIndex };
@@ -0,0 +1,155 @@
1
+ import { palette } from '../chunk-IARZATZY.js';
2
+ export { accentColorNames, accentColors, palette } from '../chunk-IARZATZY.js';
3
+
4
+ // src/tokens/spacing.ts
5
+ var spacingScale = [0, 2, 4, 6, 8, 12, 16, 20, 24, 32, 40, 56, 80];
6
+ var spacing = {
7
+ sp0: 0,
8
+ sp1: 2,
9
+ sp2: 4,
10
+ sp3: 6,
11
+ sp4: 8,
12
+ sp5: 12,
13
+ sp6: 16,
14
+ sp7: 20,
15
+ sp8: 24,
16
+ sp9: 32,
17
+ sp10: 40,
18
+ sp11: 56,
19
+ sp12: 80
20
+ };
21
+ var px = (n) => `${n}px`;
22
+
23
+ // src/tokens/typography.ts
24
+ var fontFamilies = {
25
+ display: "'Roboto Slab', 'Rockwell', 'Courier New', serif",
26
+ body: "'Space Grotesk', 'Helvetica Neue', 'Inter', system-ui, sans-serif",
27
+ mono: "'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace"
28
+ };
29
+ var fontSizes = {
30
+ xs: "11px",
31
+ sm: "12px",
32
+ md: "14px",
33
+ lg: "16px",
34
+ xl: "20px",
35
+ "2xl": "26px",
36
+ "3xl": "34px",
37
+ "4xl": "46px",
38
+ "5xl": "64px",
39
+ "6xl": "88px"
40
+ };
41
+ var fontWeights = {
42
+ regular: 400,
43
+ medium: 500,
44
+ semibold: 600,
45
+ bold: 700,
46
+ black: 900
47
+ };
48
+ var lineHeights = {
49
+ tight: 1.08,
50
+ snug: 1.2,
51
+ base: 1.45,
52
+ loose: 1.65
53
+ };
54
+ var letterSpacings = {
55
+ tight: "-0.02em",
56
+ snug: "-0.01em",
57
+ base: "0",
58
+ wide: "0.04em",
59
+ wider: "0.08em",
60
+ widest: "0.18em"
61
+ };
62
+ var googleFontsUrl = "https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;700;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap";
63
+
64
+ // src/tokens/radius.ts
65
+ var radius = {
66
+ none: "0",
67
+ hairline: "1px",
68
+ sm: "2px",
69
+ pill: "999px"
70
+ };
71
+
72
+ // src/tokens/shadows.ts
73
+ var shadows = {
74
+ stamp: "2px 2px 0 0",
75
+ stampLg: "4px 4px 0 0",
76
+ pressLight: "inset 0 1px 0 rgba(20,19,15,0.18)",
77
+ pressDark: "inset 0 1px 0 rgba(232,223,200,0.10)",
78
+ softLight: "0 1px 0 rgba(20,19,15,0.12), 0 0 0 1px rgba(20,19,15,0.04)",
79
+ softDark: "0 1px 0 rgba(0,0,0,0.6), 0 0 0 1px rgba(232,223,200,0.05)"
80
+ };
81
+
82
+ // src/tokens/motion.ts
83
+ var duration = {
84
+ fast: "120ms",
85
+ base: "180ms",
86
+ slow: "320ms"
87
+ };
88
+ var easing = {
89
+ out: "cubic-bezier(.2,.7,.2,1)",
90
+ in: "cubic-bezier(.6,.0,.8,.3)",
91
+ snap: "cubic-bezier(.5,1.6,.4,1)"
92
+ };
93
+ var zIndex = {
94
+ base: 1,
95
+ sticky: 10,
96
+ overlay: 50,
97
+ modal: 100,
98
+ toast: 200
99
+ };
100
+
101
+ // src/tokens/semantic.ts
102
+ var lightTokens = {
103
+ bg: palette.paper,
104
+ bg2: palette.paperWarm,
105
+ bgSunken: palette.paperToasted,
106
+ surface: "#fdfaf3",
107
+ surface2: palette.paperWarm,
108
+ fg: palette.ink,
109
+ fg2: "#4a463c",
110
+ fg3: "#6e6a5e",
111
+ fgMute: "#8a8576",
112
+ border: palette.ink,
113
+ border2: "#6e6a5e",
114
+ borderMute: "#b8ad94",
115
+ rule: palette.inkDeep,
116
+ accent: palette.terracotta,
117
+ accentFg: palette.paper,
118
+ accent2: palette.moss,
119
+ accent3: palette.plum,
120
+ success: palette.success,
121
+ warn: palette.ochre,
122
+ danger: palette.rust,
123
+ info: palette.plumMid,
124
+ selectionBg: palette.ochre,
125
+ selectionFg: palette.ink
126
+ };
127
+ var darkTokens = {
128
+ bg: palette.inkDeep,
129
+ bg2: "#1f1d18",
130
+ bgSunken: "#0c0b08",
131
+ surface: "#26241e",
132
+ surface2: "#2d2a23",
133
+ fg: palette.cream,
134
+ fg2: "#b8ad94",
135
+ fg3: "#8a8576",
136
+ fgMute: "#6e6a5e",
137
+ border: palette.cream,
138
+ border2: "#8a8576",
139
+ borderMute: "#4a463c",
140
+ rule: palette.cream,
141
+ accent: palette.terracottaLight,
142
+ accentFg: palette.inkDeep,
143
+ accent2: palette.mossLight,
144
+ accent3: palette.plumLight,
145
+ success: "#7fba4a",
146
+ warn: palette.ochre,
147
+ danger: palette.terracotta,
148
+ info: palette.plumMid,
149
+ selectionBg: palette.mossLight,
150
+ selectionFg: palette.inkDeep
151
+ };
152
+
153
+ export { darkTokens, duration, easing, fontFamilies, fontSizes, fontWeights, googleFontsUrl, letterSpacings, lightTokens, lineHeights, px, radius, shadows, spacing, spacingScale, zIndex };
154
+ //# sourceMappingURL=index.js.map
155
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/tokens/spacing.ts","../../src/tokens/typography.ts","../../src/tokens/radius.ts","../../src/tokens/shadows.ts","../../src/tokens/motion.ts","../../src/tokens/semantic.ts"],"names":[],"mappings":";;;;AAAO,IAAM,YAAA,GAAe,CAAC,CAAA,EAAG,CAAA,EAAG,GAAG,CAAA,EAAG,CAAA,EAAG,EAAA,EAAI,EAAA,EAAI,EAAA,EAAI,EAAA,EAAI,EAAA,EAAI,EAAA,EAAI,IAAI,EAAE;AAEnE,IAAM,OAAA,GAAU;AAAA,EACrB,GAAA,EAAK,CAAA;AAAA,EACL,GAAA,EAAK,CAAA;AAAA,EACL,GAAA,EAAK,CAAA;AAAA,EACL,GAAA,EAAK,CAAA;AAAA,EACL,GAAA,EAAK,CAA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, 2, 4, 6, 8, 12, 16, 20, 24, 32, 40, 56, 80] as const\n\nexport const spacing = {\n sp0: 0,\n sp1: 2,\n sp2: 4,\n sp3: 6,\n sp4: 8,\n sp5: 12,\n sp6: 16,\n sp7: 20,\n sp8: 24,\n sp9: 32,\n sp10: 40,\n sp11: 56,\n sp12: 80,\n} as const\n\nexport const px = (n: number): string => `${n}px`\n","export const fontFamilies = {\n display: \"'Roboto Slab', 'Rockwell', 'Courier New', serif\",\n body: \"'Space Grotesk', 'Helvetica Neue', 'Inter', system-ui, sans-serif\",\n mono: \"'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace\",\n} as const\n\nexport const fontSizes = {\n xs: '11px',\n sm: '12px',\n md: '14px',\n lg: '16px',\n xl: '20px',\n '2xl': '26px',\n '3xl': '34px',\n '4xl': '46px',\n '5xl': '64px',\n '6xl': '88px',\n} as const\n\nexport const fontWeights = {\n regular: 400,\n medium: 500,\n semibold: 600,\n bold: 700,\n black: 900,\n} as const\n\nexport const lineHeights = {\n tight: 1.08,\n snug: 1.2,\n base: 1.45,\n loose: 1.65,\n} as const\n\nexport const letterSpacings = {\n tight: '-0.02em',\n snug: '-0.01em',\n base: '0',\n wide: '0.04em',\n wider: '0.08em',\n widest: '0.18em',\n} as const\n\nexport const googleFontsUrl =\n 'https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;700;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap'\n","export const radius = {\n none: '0',\n hairline: '1px',\n sm: '2px',\n pill: '999px',\n} as const\n","export const shadows = {\n stamp: '2px 2px 0 0',\n stampLg: '4px 4px 0 0',\n pressLight: 'inset 0 1px 0 rgba(20,19,15,0.18)',\n pressDark: 'inset 0 1px 0 rgba(232,223,200,0.10)',\n softLight: '0 1px 0 rgba(20,19,15,0.12), 0 0 0 1px rgba(20,19,15,0.04)',\n softDark: '0 1px 0 rgba(0,0,0,0.6), 0 0 0 1px rgba(232,223,200,0.05)',\n} as const\n","export const duration = {\n fast: '120ms',\n base: '180ms',\n slow: '320ms',\n} as const\n\nexport const easing = {\n out: 'cubic-bezier(.2,.7,.2,1)',\n in: 'cubic-bezier(.6,.0,.8,.3)',\n snap: 'cubic-bezier(.5,1.6,.4,1)',\n} as const\n\nexport const zIndex = {\n base: 1,\n sticky: 10,\n overlay: 50,\n modal: 100,\n toast: 200,\n} as const\n","import { palette } from './palette.js'\n\nexport const lightTokens = {\n bg: palette.paper,\n bg2: palette.paperWarm,\n bgSunken: palette.paperToasted,\n surface: '#fdfaf3',\n surface2: palette.paperWarm,\n\n fg: palette.ink,\n fg2: '#4a463c',\n fg3: '#6e6a5e',\n fgMute: '#8a8576',\n\n border: palette.ink,\n border2: '#6e6a5e',\n borderMute: '#b8ad94',\n rule: palette.inkDeep,\n\n accent: palette.terracotta,\n accentFg: palette.paper,\n accent2: palette.moss,\n accent3: palette.plum,\n\n success: palette.success,\n warn: palette.ochre,\n danger: palette.rust,\n info: palette.plumMid,\n\n selectionBg: palette.ochre,\n selectionFg: palette.ink,\n} as const\n\nexport const darkTokens = {\n bg: palette.inkDeep,\n bg2: '#1f1d18',\n bgSunken: '#0c0b08',\n surface: '#26241e',\n surface2: '#2d2a23',\n\n fg: palette.cream,\n fg2: '#b8ad94',\n fg3: '#8a8576',\n fgMute: '#6e6a5e',\n\n border: palette.cream,\n border2: '#8a8576',\n borderMute: '#4a463c',\n rule: palette.cream,\n\n accent: palette.terracottaLight,\n accentFg: palette.inkDeep,\n accent2: palette.mossLight,\n accent3: palette.plumLight,\n\n success: '#7fba4a',\n warn: palette.ochre,\n danger: palette.terracotta,\n info: palette.plumMid,\n\n selectionBg: palette.mossLight,\n selectionFg: palette.inkDeep,\n} as const\n\nexport type SemanticTokens = typeof lightTokens\n"]}
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "achery-ui",
3
+ "version": "0.1.0",
4
+ "description": "Achery Workshop design system — autumn alchemy, hard edges, botanical marginalia.",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./dist/index.d.ts",
9
+ "import": "./dist/index.js",
10
+ "require": "./dist/index.cjs"
11
+ },
12
+ "./tokens": {
13
+ "types": "./dist/tokens/index.d.ts",
14
+ "import": "./dist/tokens/index.js",
15
+ "require": "./dist/tokens/index.cjs"
16
+ },
17
+ "./style.css": "./dist/index.css"
18
+ },
19
+ "main": "./dist/index.cjs",
20
+ "module": "./dist/index.js",
21
+ "types": "./dist/index.d.ts",
22
+ "files": [
23
+ "dist"
24
+ ],
25
+ "sideEffects": [
26
+ "**/*.css"
27
+ ],
28
+ "peerDependencies": {
29
+ "react": ">=19",
30
+ "react-dom": ">=19"
31
+ },
32
+ "dependencies": {
33
+ "@radix-ui/react-dialog": "^1.1.14",
34
+ "@radix-ui/react-select": "^2.2.4",
35
+ "@radix-ui/react-tabs": "^1.1.11",
36
+ "@radix-ui/react-toggle": "^1.1.9",
37
+ "@radix-ui/react-tooltip": "^1.2.6",
38
+ "@vanilla-extract/css": "^1.17.2",
39
+ "@vanilla-extract/recipes": "^0.5.6"
40
+ },
41
+ "devDependencies": {
42
+ "@storybook/addon-a11y": "^10.3.6",
43
+ "@storybook/addon-docs": "^10.4.0",
44
+ "@storybook/addon-themes": "^10.3.6",
45
+ "@storybook/react": "^10.3.6",
46
+ "@storybook/react-vite": "^10.3.6",
47
+ "@types/react": "^19.1.4",
48
+ "@types/react-dom": "^19.1.3",
49
+ "@vanilla-extract/esbuild-plugin": "^2.3.22",
50
+ "@vanilla-extract/vite-plugin": "^5.2.2",
51
+ "react": "^19.1.0",
52
+ "react-dom": "^19.1.0",
53
+ "remark-gfm": "^4.0.1",
54
+ "storybook": "^10.3.6",
55
+ "tsup": "^8.5.0",
56
+ "typescript": "^5.8.3",
57
+ "vite": "^6.3.5",
58
+ "vite-plugin-svgr": "^4.3.0"
59
+ },
60
+ "scripts": {
61
+ "build": "tsup",
62
+ "build:watch": "tsup --watch",
63
+ "storybook": "storybook dev -p 6006",
64
+ "build-storybook": "storybook build",
65
+ "typecheck": "tsc --noEmit",
66
+ "lint": "tsc --noEmit"
67
+ }
68
+ }