@compose-market/theme 0.0.1

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 (50) hide show
  1. package/README.md +145 -0
  2. package/dist/css/dark.css +38 -0
  3. package/dist/css/index.css +9 -0
  4. package/dist/css/index.d.ts +16 -0
  5. package/dist/css/index.d.ts.map +1 -0
  6. package/dist/css/index.js +96 -0
  7. package/dist/css/index.js.map +1 -0
  8. package/dist/css/light.css +70 -0
  9. package/dist/css/tokens.css +24 -0
  10. package/dist/index.d.ts +13 -0
  11. package/dist/index.d.ts.map +1 -0
  12. package/dist/index.js +13 -0
  13. package/dist/index.js.map +1 -0
  14. package/dist/tailwind/preset.d.ts +282 -0
  15. package/dist/tailwind/preset.d.ts.map +1 -0
  16. package/dist/tailwind/preset.js +144 -0
  17. package/dist/tailwind/preset.js.map +1 -0
  18. package/dist/themes/dark.d.ts +61 -0
  19. package/dist/themes/dark.d.ts.map +1 -0
  20. package/dist/themes/dark.js +59 -0
  21. package/dist/themes/dark.js.map +1 -0
  22. package/dist/themes/index.d.ts +22 -0
  23. package/dist/themes/index.d.ts.map +1 -0
  24. package/dist/themes/index.js +30 -0
  25. package/dist/themes/index.js.map +1 -0
  26. package/dist/themes/light.d.ts +37 -0
  27. package/dist/themes/light.d.ts.map +1 -0
  28. package/dist/themes/light.js +64 -0
  29. package/dist/themes/light.js.map +1 -0
  30. package/dist/tokens/colors.d.ts +79 -0
  31. package/dist/tokens/colors.d.ts.map +1 -0
  32. package/dist/tokens/colors.js +149 -0
  33. package/dist/tokens/colors.js.map +1 -0
  34. package/dist/tokens/index.d.ts +25 -0
  35. package/dist/tokens/index.d.ts.map +1 -0
  36. package/dist/tokens/index.js +24 -0
  37. package/dist/tokens/index.js.map +1 -0
  38. package/dist/tokens/radius.d.ts +16 -0
  39. package/dist/tokens/radius.d.ts.map +1 -0
  40. package/dist/tokens/radius.js +57 -0
  41. package/dist/tokens/radius.js.map +1 -0
  42. package/dist/tokens/spacing.d.ts +13 -0
  43. package/dist/tokens/spacing.d.ts.map +1 -0
  44. package/dist/tokens/spacing.js +218 -0
  45. package/dist/tokens/spacing.js.map +1 -0
  46. package/dist/tokens/typography.d.ts +35 -0
  47. package/dist/tokens/typography.d.ts.map +1 -0
  48. package/dist/tokens/typography.js +117 -0
  49. package/dist/tokens/typography.js.map +1 -0
  50. package/package.json +74 -0
@@ -0,0 +1,282 @@
1
+ /**
2
+ * Tailwind CSS Preset - Compose.Market Design System
3
+ *
4
+ * This preset maps Compose.Market design tokens to Tailwind CSS.
5
+ * It provides a seamless integration for the web app while
6
+ * maintaining the single source of truth from the theme package.
7
+ *
8
+ * Usage in tailwind.config.js:
9
+ *
10
+ * import composeTheme from '@compose-market/theme/tailwind';
11
+ *
12
+ * export default {
13
+ * presets: [composeTheme],
14
+ * // ... other config
15
+ * }
16
+ */
17
+ export declare const colors: {
18
+ background: string;
19
+ foreground: string;
20
+ card: {
21
+ DEFAULT: string;
22
+ foreground: string;
23
+ };
24
+ popover: {
25
+ DEFAULT: string;
26
+ foreground: string;
27
+ };
28
+ primary: {
29
+ DEFAULT: string;
30
+ foreground: string;
31
+ };
32
+ secondary: {
33
+ DEFAULT: string;
34
+ foreground: string;
35
+ };
36
+ muted: {
37
+ DEFAULT: string;
38
+ foreground: string;
39
+ };
40
+ accent: {
41
+ DEFAULT: string;
42
+ foreground: string;
43
+ };
44
+ destructive: {
45
+ DEFAULT: string;
46
+ foreground: string;
47
+ };
48
+ border: string;
49
+ input: string;
50
+ ring: string;
51
+ sidebar: {
52
+ DEFAULT: string;
53
+ foreground: string;
54
+ primary: string;
55
+ 'primary-foreground': string;
56
+ accent: string;
57
+ 'accent-foreground': string;
58
+ border: string;
59
+ ring: string;
60
+ };
61
+ };
62
+ export declare const fontFamily: Record<string, string>;
63
+ export declare const borderRadius: {
64
+ lg: string;
65
+ md: string;
66
+ sm: string;
67
+ xl: string;
68
+ };
69
+ export declare const extend: {
70
+ colors: {
71
+ background: string;
72
+ foreground: string;
73
+ card: {
74
+ DEFAULT: string;
75
+ foreground: string;
76
+ };
77
+ popover: {
78
+ DEFAULT: string;
79
+ foreground: string;
80
+ };
81
+ primary: {
82
+ DEFAULT: string;
83
+ foreground: string;
84
+ };
85
+ secondary: {
86
+ DEFAULT: string;
87
+ foreground: string;
88
+ };
89
+ muted: {
90
+ DEFAULT: string;
91
+ foreground: string;
92
+ };
93
+ accent: {
94
+ DEFAULT: string;
95
+ foreground: string;
96
+ };
97
+ destructive: {
98
+ DEFAULT: string;
99
+ foreground: string;
100
+ };
101
+ border: string;
102
+ input: string;
103
+ ring: string;
104
+ sidebar: {
105
+ DEFAULT: string;
106
+ foreground: string;
107
+ primary: string;
108
+ 'primary-foreground': string;
109
+ accent: string;
110
+ 'accent-foreground': string;
111
+ border: string;
112
+ ring: string;
113
+ };
114
+ };
115
+ fontFamily: Record<string, string>;
116
+ borderRadius: {
117
+ lg: string;
118
+ md: string;
119
+ sm: string;
120
+ xl: string;
121
+ };
122
+ keyframes: {
123
+ 'accordion-down': {
124
+ from: {
125
+ height: string;
126
+ };
127
+ to: {
128
+ height: string;
129
+ };
130
+ };
131
+ 'accordion-up': {
132
+ from: {
133
+ height: string;
134
+ };
135
+ to: {
136
+ height: string;
137
+ };
138
+ };
139
+ 'pulse-slow': {
140
+ '0%, 100%': {
141
+ opacity: string;
142
+ };
143
+ '50%': {
144
+ opacity: string;
145
+ };
146
+ };
147
+ shimmer: {
148
+ '0%': {
149
+ transform: string;
150
+ };
151
+ '100%': {
152
+ transform: string;
153
+ };
154
+ };
155
+ 'neon-pulse': {
156
+ from: {
157
+ boxShadow: string;
158
+ };
159
+ to: {
160
+ boxShadow: string;
161
+ };
162
+ };
163
+ };
164
+ animation: {
165
+ 'accordion-down': string;
166
+ 'accordion-up': string;
167
+ 'pulse-slow': string;
168
+ shimmer: string;
169
+ 'neon-glow': string;
170
+ };
171
+ };
172
+ declare const composeTheme: {
173
+ content: never[];
174
+ theme: {
175
+ extend: {
176
+ colors: {
177
+ background: string;
178
+ foreground: string;
179
+ card: {
180
+ DEFAULT: string;
181
+ foreground: string;
182
+ };
183
+ popover: {
184
+ DEFAULT: string;
185
+ foreground: string;
186
+ };
187
+ primary: {
188
+ DEFAULT: string;
189
+ foreground: string;
190
+ };
191
+ secondary: {
192
+ DEFAULT: string;
193
+ foreground: string;
194
+ };
195
+ muted: {
196
+ DEFAULT: string;
197
+ foreground: string;
198
+ };
199
+ accent: {
200
+ DEFAULT: string;
201
+ foreground: string;
202
+ };
203
+ destructive: {
204
+ DEFAULT: string;
205
+ foreground: string;
206
+ };
207
+ border: string;
208
+ input: string;
209
+ ring: string;
210
+ sidebar: {
211
+ DEFAULT: string;
212
+ foreground: string;
213
+ primary: string;
214
+ 'primary-foreground': string;
215
+ accent: string;
216
+ 'accent-foreground': string;
217
+ border: string;
218
+ ring: string;
219
+ };
220
+ };
221
+ fontFamily: Record<string, string>;
222
+ borderRadius: {
223
+ lg: string;
224
+ md: string;
225
+ sm: string;
226
+ xl: string;
227
+ };
228
+ keyframes: {
229
+ 'accordion-down': {
230
+ from: {
231
+ height: string;
232
+ };
233
+ to: {
234
+ height: string;
235
+ };
236
+ };
237
+ 'accordion-up': {
238
+ from: {
239
+ height: string;
240
+ };
241
+ to: {
242
+ height: string;
243
+ };
244
+ };
245
+ 'pulse-slow': {
246
+ '0%, 100%': {
247
+ opacity: string;
248
+ };
249
+ '50%': {
250
+ opacity: string;
251
+ };
252
+ };
253
+ shimmer: {
254
+ '0%': {
255
+ transform: string;
256
+ };
257
+ '100%': {
258
+ transform: string;
259
+ };
260
+ };
261
+ 'neon-pulse': {
262
+ from: {
263
+ boxShadow: string;
264
+ };
265
+ to: {
266
+ boxShadow: string;
267
+ };
268
+ };
269
+ };
270
+ animation: {
271
+ 'accordion-down': string;
272
+ 'accordion-up': string;
273
+ 'pulse-slow': string;
274
+ shimmer: string;
275
+ 'neon-glow': string;
276
+ };
277
+ };
278
+ };
279
+ plugins: never[];
280
+ };
281
+ export default composeTheme;
282
+ //# sourceMappingURL=preset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../src/tailwind/preset.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAuCH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6ClB,CAAC;AAEF,eAAO,MAAM,UAAU,wBAAyC,CAAC;AAEjE,eAAO,MAAM,YAAY;;;;;CAMxB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqClB,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,144 @@
1
+ /**
2
+ * Tailwind CSS Preset - Compose.Market Design System
3
+ *
4
+ * This preset maps Compose.Market design tokens to Tailwind CSS.
5
+ * It provides a seamless integration for the web app while
6
+ * maintaining the single source of truth from the theme package.
7
+ *
8
+ * Usage in tailwind.config.js:
9
+ *
10
+ * import composeTheme from '@compose-market/theme/tailwind';
11
+ *
12
+ * export default {
13
+ * presets: [composeTheme],
14
+ * // ... other config
15
+ * }
16
+ */
17
+ import { fontFamilies } from '../tokens/typography';
18
+ import { radius } from '../tokens/radius';
19
+ import { colorScales } from '../tokens/colors';
20
+ function generateColorScales(scales) {
21
+ const result = {};
22
+ for (const [scaleName, scale] of Object.entries(scales)) {
23
+ result[scaleName] = {};
24
+ for (const [shade, hsl] of Object.entries(scale)) {
25
+ result[scaleName][shade] = `hsl(${hsl} / <alpha-value>)`;
26
+ }
27
+ }
28
+ return result;
29
+ }
30
+ function generateFontFamilyTokens(fonts) {
31
+ const result = {};
32
+ for (const [key, font] of Object.entries(fonts)) {
33
+ result[key] = `var(${font.cssVar})`;
34
+ }
35
+ return result;
36
+ }
37
+ function generateRadiusTokens(r) {
38
+ const result = {};
39
+ for (const [key, value] of Object.entries(r)) {
40
+ result[key === 'DEFAULT' ? 'DEFAULT' : key] = `var(${value.cssVar})`;
41
+ }
42
+ return result;
43
+ }
44
+ export const colors = {
45
+ background: 'hsl(var(--background) / <alpha-value>)',
46
+ foreground: 'hsl(var(--foreground) / <alpha-value>)',
47
+ card: {
48
+ DEFAULT: 'hsl(var(--card) / <alpha-value>)',
49
+ foreground: 'hsl(var(--card-foreground) / <alpha-value>)',
50
+ },
51
+ popover: {
52
+ DEFAULT: 'hsl(var(--popover) / <alpha-value>)',
53
+ foreground: 'hsl(var(--popover-foreground) / <alpha-value>)',
54
+ },
55
+ primary: {
56
+ DEFAULT: 'hsl(var(--primary) / <alpha-value>)',
57
+ foreground: 'hsl(var(--primary-foreground) / <alpha-value>)',
58
+ },
59
+ secondary: {
60
+ DEFAULT: 'hsl(var(--secondary) / <alpha-value>)',
61
+ foreground: 'hsl(var(--secondary-foreground) / <alpha-value>)',
62
+ },
63
+ muted: {
64
+ DEFAULT: 'hsl(var(--muted) / <alpha-value>)',
65
+ foreground: 'hsl(var(--muted-foreground) / <alpha-value>)',
66
+ },
67
+ accent: {
68
+ DEFAULT: 'hsl(var(--accent) / <alpha-value>)',
69
+ foreground: 'hsl(var(--accent-foreground) / <alpha-value>)',
70
+ },
71
+ destructive: {
72
+ DEFAULT: 'hsl(var(--destructive) / <alpha-value>)',
73
+ foreground: 'hsl(var(--destructive-foreground) / <alpha-value>)',
74
+ },
75
+ border: 'hsl(var(--border) / <alpha-value>)',
76
+ input: 'hsl(var(--input) / <alpha-value>)',
77
+ ring: 'hsl(var(--ring) / <alpha-value>)',
78
+ sidebar: {
79
+ DEFAULT: 'hsl(var(--sidebar) / <alpha-value>)',
80
+ foreground: 'hsl(var(--sidebar-foreground) / <alpha-value>)',
81
+ primary: 'hsl(var(--sidebar-primary) / <alpha-value>)',
82
+ 'primary-foreground': 'hsl(var(--sidebar-primary-foreground) / <alpha-value>)',
83
+ accent: 'hsl(var(--sidebar-accent) / <alpha-value>)',
84
+ 'accent-foreground': 'hsl(var(--sidebar-accent-foreground) / <alpha-value>)',
85
+ border: 'hsl(var(--sidebar-border) / <alpha-value>)',
86
+ ring: 'hsl(var(--sidebar-ring) / <alpha-value>)',
87
+ },
88
+ ...generateColorScales(colorScales),
89
+ };
90
+ export const fontFamily = generateFontFamilyTokens(fontFamilies);
91
+ export const borderRadius = {
92
+ ...generateRadiusTokens(radius),
93
+ lg: 'var(--radius-lg)',
94
+ md: 'var(--radius-md)',
95
+ sm: 'var(--radius-sm)',
96
+ xl: 'var(--radius-xl)',
97
+ };
98
+ export const extend = {
99
+ colors,
100
+ fontFamily,
101
+ borderRadius,
102
+ keyframes: {
103
+ 'accordion-down': {
104
+ from: { height: '0' },
105
+ to: { height: 'var(--radix-accordion-content-height)' },
106
+ },
107
+ 'accordion-up': {
108
+ from: { height: 'var(--radix-accordion-content-height)' },
109
+ to: { height: '0' },
110
+ },
111
+ 'pulse-slow': {
112
+ '0%, 100%': { opacity: '1' },
113
+ '50%': { opacity: '0.5' },
114
+ },
115
+ shimmer: {
116
+ '0%': { transform: 'translateX(-100%)' },
117
+ '100%': { transform: 'translateX(100%)' },
118
+ },
119
+ 'neon-pulse': {
120
+ from: {
121
+ boxShadow: '0 0 5px hsl(var(--primary) / 0.5), 0 0 10px hsl(var(--primary) / 0.3), 0 0 15px hsl(var(--primary) / 0.1)',
122
+ },
123
+ to: {
124
+ boxShadow: '0 0 10px hsl(var(--primary) / 0.6), 0 0 20px hsl(var(--primary) / 0.4), 0 0 30px hsl(var(--primary) / 0.2)',
125
+ },
126
+ },
127
+ },
128
+ animation: {
129
+ 'accordion-down': 'accordion-down 0.2s ease-out',
130
+ 'accordion-up': 'accordion-up 0.2s ease-out',
131
+ 'pulse-slow': 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
132
+ shimmer: 'shimmer 2s linear infinite',
133
+ 'neon-glow': 'neon-pulse 2s ease-in-out infinite alternate',
134
+ },
135
+ };
136
+ const composeTheme = {
137
+ content: [],
138
+ theme: {
139
+ extend,
140
+ },
141
+ plugins: [],
142
+ };
143
+ export default composeTheme;
144
+ //# sourceMappingURL=preset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset.js","sourceRoot":"","sources":["../../src/tailwind/preset.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,SAAS,mBAAmB,CAAC,MAA0B;IACrD,MAAM,MAAM,GAA2C,EAAE,CAAC;IAE1D,KAAK,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACxD,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC;QACvB,KAAK,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YACjD,MAAM,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,GAAG,OAAO,GAAG,mBAAmB,CAAC;QAC3D,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,wBAAwB,CAAC,KAA0B;IAC1D,MAAM,MAAM,GAA2B,EAAE,CAAC;IAE1C,KAAK,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAChD,MAAM,CAAC,GAAG,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QAChD,cAAc,EAAE,4BAA4B;QAC5C,YAAY,EAAE,gDAAgD;QAC9D,OAAO,EAAE,4BAA4B;QACrC,WAAW,EAAE,8CAA8C;KAC5D;CACF,CAAC;AAEF,MAAM,YAAY,GAAG;IACnB,OAAO,EAAE,EAAE;IACX,KAAK,EAAE;QACL,MAAM;KACP;IACD,OAAO,EAAE,EAAE;CACZ,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Dark Theme - Compose.Market Design System
3
+ *
4
+ * Cyberpunk-inspired dark theme with neon accents.
5
+ * Based on official branding guidelines.
6
+ */
7
+ import type { HSL } from '../tokens/colors';
8
+ export interface ThemeColors {
9
+ background: HSL;
10
+ foreground: HSL;
11
+ card: HSL;
12
+ cardForeground: HSL;
13
+ popover: HSL;
14
+ popoverForeground: HSL;
15
+ primary: HSL;
16
+ primaryForeground: HSL;
17
+ secondary: HSL;
18
+ secondaryForeground: HSL;
19
+ muted: HSL;
20
+ mutedForeground: HSL;
21
+ accent: HSL;
22
+ accentForeground: HSL;
23
+ destructive: HSL;
24
+ destructiveForeground: HSL;
25
+ border: HSL;
26
+ input: HSL;
27
+ ring: HSL;
28
+ sidebar: HSL;
29
+ sidebarForeground: HSL;
30
+ sidebarPrimary: HSL;
31
+ sidebarPrimaryForeground: HSL;
32
+ sidebarAccent: HSL;
33
+ sidebarAccentForeground: HSL;
34
+ sidebarBorder: HSL;
35
+ sidebarRing: HSL;
36
+ }
37
+ export declare const darkTheme: ThemeColors;
38
+ export declare const darkThemeMeta: {
39
+ name: string;
40
+ displayName: string;
41
+ description: string;
42
+ colors: ThemeColors;
43
+ };
44
+ export declare const darkBackgrounds: {
45
+ default: string;
46
+ subtle: string;
47
+ elevated: string;
48
+ };
49
+ export declare const darkEffects: {
50
+ neonGlow: {
51
+ cyan: string;
52
+ fuchsia: string;
53
+ };
54
+ glassPanel: {
55
+ background: string;
56
+ backdropFilter: string;
57
+ border: string;
58
+ boxShadow: string;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vB,CAAC"}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Dark Theme - Compose.Market Design System
3
+ *
4
+ * Cyberpunk-inspired dark theme with neon accents.
5
+ * Based on official branding guidelines.
6
+ */
7
+ export const darkTheme = {
8
+ background: '222 47% 3%',
9
+ foreground: '210 40% 80%',
10
+ card: '222 40% 5%',
11
+ cardForeground: '210 30% 75%',
12
+ popover: '222 40% 4%',
13
+ popoverForeground: '210 30% 75%',
14
+ primary: '188 95% 43%',
15
+ primaryForeground: '222 47% 3%',
16
+ secondary: '270 60% 20%',
17
+ secondaryForeground: '270 80% 90%',
18
+ muted: '217 33% 15%',
19
+ mutedForeground: '215 16% 47%',
20
+ accent: '292 85% 55%',
21
+ accentForeground: '0 0% 100%',
22
+ destructive: '0 90% 50%',
23
+ destructiveForeground: '0 0% 100%',
24
+ border: '217 33% 15%',
25
+ input: '217 33% 10%',
26
+ ring: '188 95% 43%',
27
+ sidebar: '222 47% 3%',
28
+ sidebarForeground: '210 30% 75%',
29
+ sidebarPrimary: '188 95% 43%',
30
+ sidebarPrimaryForeground: '222 47% 3%',
31
+ sidebarAccent: '222 40% 8%',
32
+ sidebarAccentForeground: '210 40% 90%',
33
+ sidebarBorder: '217 33% 15%',
34
+ sidebarRing: '188 95% 43%',
35
+ };
36
+ export const darkThemeMeta = {
37
+ name: 'dark',
38
+ displayName: 'Dark',
39
+ description: 'Cyberpunk-inspired dark theme with neon cyan and fuchsia accents',
40
+ colors: darkTheme,
41
+ };
42
+ export const darkBackgrounds = {
43
+ default: 'radial-gradient(circle at 50% 0%, hsl(270 60% 10% / 0.2), transparent 70%), linear-gradient(to bottom, transparent, hsl(222 47% 3%))',
44
+ subtle: 'hsl(222 47% 3%)',
45
+ elevated: 'hsl(222 40% 5%)',
46
+ };
47
+ export const darkEffects = {
48
+ neonGlow: {
49
+ cyan: '0 0 10px hsl(188 95% 43% / 0.5), 0 0 20px hsl(188 95% 43% / 0.3)',
50
+ fuchsia: '0 0 10px hsl(292 85% 55% / 0.5), 0 0 20px hsl(292 85% 55% / 0.3)',
51
+ },
52
+ glassPanel: {
53
+ background: 'linear-gradient(145deg, hsl(222 40% 5% / 0.8), hsl(222 40% 5% / 0.4))',
54
+ backdropFilter: 'blur(12px)',
55
+ border: '1px solid hsl(217 33% 15% / 0.5)',
56
+ boxShadow: '0 4px 24px -1px hsl(0 0% 0% / 0.3), inset 0 1px 0 hsl(0 0% 100% / 0.05)',
57
+ },
58
+ };
59
+ //# sourceMappingURL=dark.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dark.js","sourceRoot":"","sources":["../../src/themes/dark.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkCH,MAAM,CAAC,MAAM,SAAS,GAAgB;IACpC,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE,YAAY;IAClB,cAAc,EAAE,aAAa;IAC7B,OAAO,EAAE,YAAY;IACrB,iBAAiB,EAAE,aAAa;IAChC,OAAO,EAAE,aAAa;IACtB,iBAAiB,EAAE,YAAY;IAC/B,SAAS,EAAE,aAAa;IACxB,mBAAmB,EAAE,aAAa;IAClC,KAAK,EAAE,aAAa;IACpB,eAAe,EAAE,aAAa;IAC9B,MAAM,EAAE,aAAa;IACrB,gBAAgB,EAAE,WAAW;IAC7B,WAAW,EAAE,WAAW;IACxB,qBAAqB,EAAE,WAAW;IAClC,MAAM,EAAE,aAAa;IACrB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,YAAY;IACrB,iBAAiB,EAAE,aAAa;IAChC,cAAc,EAAE,aAAa;IAC7B,wBAAwB,EAAE,YAAY;IACtC,aAAa,EAAE,YAAY;IAC3B,uBAAuB,EAAE,aAAa;IACtC,aAAa,EAAE,aAAa;IAC5B,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,kEAAkE;IAC/E,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,OAAO,EAAE,sIAAsI;IAC/I,MAAM,EAAE,iBAAiB;IACzB,QAAQ,EAAE,iBAAiB;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE;QACR,IAAI,EAAE,kEAAkE;QACxE,OAAO,EAAE,kEAAkE;KAC5E;IACD,UAAU,EAAE;QACV,UAAU,EAAE,uEAAuE;QACnF,cAAc,EAAE,YAAY;QAC5B,MAAM,EAAE,kCAAkC;QAC1C,SAAS,EAAE,yEAAyE;KACrF;CACF,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Themes Index - Compose.Market Design System
3
+ */
4
+ export * from './dark';
5
+ export * from './light';
6
+ import { darkTheme, darkThemeMeta, darkBackgrounds, darkEffects } from './dark';
7
+ import { lightTheme, lightThemeMeta, lightBackgrounds, lightEffects } from './light';
8
+ import type { ThemeColors } from './dark';
9
+ export { type ThemeColors } from './dark';
10
+ export type ThemeName = 'dark' | 'light';
11
+ export interface Theme {
12
+ name: ThemeName;
13
+ displayName: string;
14
+ description: string;
15
+ colors: ThemeColors;
16
+ }
17
+ export declare const themes: Record<ThemeName, Theme>;
18
+ export declare const defaultTheme: ThemeName;
19
+ export declare function getTheme(name: ThemeName): Theme;
20
+ export declare function getThemeColors(name: ThemeName): ThemeColors;
21
+ export { darkTheme, darkThemeMeta, darkBackgrounds, darkEffects, lightTheme, lightThemeMeta, lightBackgrounds, lightEffects, };
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;AAEzC,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;CACrB;AAED,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,CAa3C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,SAAkB,CAAC;AAE9C,wBAAgB,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,KAAK,CAE/C;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,GAAG,WAAW,CAE3D;AAED,OAAO,EACL,SAAS,EACT,aAAa,EACb,eAAe,EACf,WAAW,EACX,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,YAAY,GACb,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Themes Index - Compose.Market Design System
3
+ */
4
+ export * from './dark';
5
+ export * from './light';
6
+ import { darkTheme, darkThemeMeta, darkBackgrounds, darkEffects } from './dark';
7
+ import { lightTheme, lightThemeMeta, lightBackgrounds, lightEffects } from './light';
8
+ export const themes = {
9
+ dark: {
10
+ name: 'dark',
11
+ displayName: darkThemeMeta.displayName,
12
+ description: darkThemeMeta.description,
13
+ colors: darkTheme,
14
+ },
15
+ light: {
16
+ name: 'light',
17
+ displayName: lightThemeMeta.displayName,
18
+ description: lightThemeMeta.description,
19
+ colors: lightTheme,
20
+ },
21
+ };
22
+ export const defaultTheme = 'dark';
23
+ export function getTheme(name) {
24
+ return themes[name];
25
+ }
26
+ export function getThemeColors(name) {
27
+ return themes[name].colors;
28
+ }
29
+ export { darkTheme, darkThemeMeta, darkBackgrounds, darkEffects, lightTheme, lightThemeMeta, lightBackgrounds, lightEffects, };
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAcrF,MAAM,CAAC,MAAM,MAAM,GAA6B;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,aAAa,CAAC,WAAW;QACtC,WAAW,EAAE,aAAa,CAAC,WAAW;QACtC,MAAM,EAAE,SAAS;KAClB;IACD,KAAK,EAAE;QACL,IAAI,EAAE,OAAO;QACb,WAAW,EAAE,cAAc,CAAC,WAAW;QACvC,WAAW,EAAE,cAAc,CAAC,WAAW;QACvC,MAAM,EAAE,UAAU;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAc,MAAM,CAAC;AAE9C,MAAM,UAAU,QAAQ,CAAC,IAAe;IACtC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,IAAe;IAC5C,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;AAC7B,CAAC;AAED,OAAO,EACL,SAAS,EACT,aAAa,EACb,eAAe,EACf,WAAW,EACX,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,YAAY,GACb,CAAC"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Light Theme - Compose.Market Design System
3
+ *
4
+ * Clean, professional light theme derived from the dark theme's
5
+ * color relationships but adapted for light backgrounds.
6
+ *
7
+ * Based on logo-white.svg color relationships:
8
+ * - Dark text: #0f172a (slate-900)
9
+ * - Muted text: #475569 (slate-600)
10
+ * - Light fills: #f8fafc (slate-50)
11
+ */
12
+ import type { ThemeColors } from './dark';
13
+ export declare const lightTheme: ThemeColors;
14
+ export declare const lightThemeMeta: {
15
+ name: string;
16
+ displayName: string;
17
+ description: string;
18
+ colors: ThemeColors;
19
+ };
20
+ export declare const lightBackgrounds: {
21
+ default: string;
22
+ subtle: string;
23
+ elevated: string;
24
+ };
25
+ export declare const lightEffects: {
26
+ cardShadow: {
27
+ boxShadow: string;
28
+ boxShadowHover: string;
29
+ };
30
+ glassPanel: {
31
+ background: string;
32
+ backdropFilter: string;
33
+ border: string;
34
+ boxShadow: string;
35
+ };
36
+ };
37
+ //# sourceMappingURL=light.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../src/themes/light.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,eAAO,MAAM,UAAU,EAAE,WA4BxB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;CAK1B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;CAI5B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;CAWxB,CAAC"}