@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.
- package/README.md +145 -0
- package/dist/css/dark.css +38 -0
- package/dist/css/index.css +9 -0
- package/dist/css/index.d.ts +16 -0
- package/dist/css/index.d.ts.map +1 -0
- package/dist/css/index.js +96 -0
- package/dist/css/index.js.map +1 -0
- package/dist/css/light.css +70 -0
- package/dist/css/tokens.css +24 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/tailwind/preset.d.ts +282 -0
- package/dist/tailwind/preset.d.ts.map +1 -0
- package/dist/tailwind/preset.js +144 -0
- package/dist/tailwind/preset.js.map +1 -0
- package/dist/themes/dark.d.ts +61 -0
- package/dist/themes/dark.d.ts.map +1 -0
- package/dist/themes/dark.js +59 -0
- package/dist/themes/dark.js.map +1 -0
- package/dist/themes/index.d.ts +22 -0
- package/dist/themes/index.d.ts.map +1 -0
- package/dist/themes/index.js +30 -0
- package/dist/themes/index.js.map +1 -0
- package/dist/themes/light.d.ts +37 -0
- package/dist/themes/light.d.ts.map +1 -0
- package/dist/themes/light.js +64 -0
- package/dist/themes/light.js.map +1 -0
- package/dist/tokens/colors.d.ts +79 -0
- package/dist/tokens/colors.d.ts.map +1 -0
- package/dist/tokens/colors.js +149 -0
- package/dist/tokens/colors.js.map +1 -0
- package/dist/tokens/index.d.ts +25 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.js +24 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/radius.d.ts +16 -0
- package/dist/tokens/radius.d.ts.map +1 -0
- package/dist/tokens/radius.js +57 -0
- package/dist/tokens/radius.js.map +1 -0
- package/dist/tokens/spacing.d.ts +13 -0
- package/dist/tokens/spacing.d.ts.map +1 -0
- package/dist/tokens/spacing.js +218 -0
- package/dist/tokens/spacing.js.map +1 -0
- package/dist/tokens/typography.d.ts +35 -0
- package/dist/tokens/typography.d.ts.map +1 -0
- package/dist/tokens/typography.js +117 -0
- package/dist/tokens/typography.js.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
export const lightTheme = {
|
|
13
|
+
background: '0 0% 100%',
|
|
14
|
+
foreground: '222 47% 11%',
|
|
15
|
+
card: '0 0% 100%',
|
|
16
|
+
cardForeground: '222 47% 11%',
|
|
17
|
+
popover: '0 0% 100%',
|
|
18
|
+
popoverForeground: '222 47% 11%',
|
|
19
|
+
primary: '188 95% 43%',
|
|
20
|
+
primaryForeground: '0 0% 100%',
|
|
21
|
+
secondary: '210 40% 96%',
|
|
22
|
+
secondaryForeground: '222 47% 11%',
|
|
23
|
+
muted: '210 40% 96%',
|
|
24
|
+
mutedForeground: '215 16% 47%',
|
|
25
|
+
accent: '292 85% 55%',
|
|
26
|
+
accentForeground: '0 0% 100%',
|
|
27
|
+
destructive: '0 84% 60%',
|
|
28
|
+
destructiveForeground: '0 0% 100%',
|
|
29
|
+
border: '214 32% 91%',
|
|
30
|
+
input: '214 32% 91%',
|
|
31
|
+
ring: '188 95% 43%',
|
|
32
|
+
sidebar: '0 0% 98%',
|
|
33
|
+
sidebarForeground: '222 47% 11%',
|
|
34
|
+
sidebarPrimary: '188 95% 43%',
|
|
35
|
+
sidebarPrimaryForeground: '0 0% 100%',
|
|
36
|
+
sidebarAccent: '210 40% 96%',
|
|
37
|
+
sidebarAccentForeground: '222 47% 11%',
|
|
38
|
+
sidebarBorder: '214 32% 91%',
|
|
39
|
+
sidebarRing: '188 95% 43%',
|
|
40
|
+
};
|
|
41
|
+
export const lightThemeMeta = {
|
|
42
|
+
name: 'light',
|
|
43
|
+
displayName: 'Light',
|
|
44
|
+
description: 'Clean, professional light theme with cyan and fuchsia accents',
|
|
45
|
+
colors: lightTheme,
|
|
46
|
+
};
|
|
47
|
+
export const lightBackgrounds = {
|
|
48
|
+
default: 'hsl(0 0% 100%)',
|
|
49
|
+
subtle: 'hsl(0 0% 98%)',
|
|
50
|
+
elevated: 'hsl(0 0% 100%)',
|
|
51
|
+
};
|
|
52
|
+
export const lightEffects = {
|
|
53
|
+
cardShadow: {
|
|
54
|
+
boxShadow: '0 1px 3px hsl(0 0% 0% / 0.1), 0 1px 2px hsl(0 0% 0% / 0.06)',
|
|
55
|
+
boxShadowHover: '0 4px 6px hsl(0 0% 0% / 0.1), 0 2px 4px hsl(0 0% 0% / 0.06)',
|
|
56
|
+
},
|
|
57
|
+
glassPanel: {
|
|
58
|
+
background: 'linear-gradient(145deg, hsl(0 0% 100% / 0.9), hsl(0 0% 100% / 0.7))',
|
|
59
|
+
backdropFilter: 'blur(12px)',
|
|
60
|
+
border: '1px solid hsl(214 32% 91% / 0.8)',
|
|
61
|
+
boxShadow: '0 4px 24px -1px hsl(0 0% 0% / 0.1), inset 0 1px 0 hsl(0 0% 100% / 0.5)',
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=light.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"light.js","sourceRoot":"","sources":["../../src/themes/light.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,MAAM,CAAC,MAAM,UAAU,GAAgB;IACrC,UAAU,EAAE,WAAW;IACvB,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE,WAAW;IACjB,cAAc,EAAE,aAAa;IAC7B,OAAO,EAAE,WAAW;IACpB,iBAAiB,EAAE,aAAa;IAChC,OAAO,EAAE,aAAa;IACtB,iBAAiB,EAAE,WAAW;IAC9B,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,UAAU;IACnB,iBAAiB,EAAE,aAAa;IAChC,cAAc,EAAE,aAAa;IAC7B,wBAAwB,EAAE,WAAW;IACrC,aAAa,EAAE,aAAa;IAC5B,uBAAuB,EAAE,aAAa;IACtC,aAAa,EAAE,aAAa;IAC5B,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,+DAA+D;IAC5E,MAAM,EAAE,UAAU;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,gBAAgB;IACzB,MAAM,EAAE,eAAe;IACvB,QAAQ,EAAE,gBAAgB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE;QACV,SAAS,EAAE,6DAA6D;QACxE,cAAc,EAAE,6DAA6D;KAC9E;IACD,UAAU,EAAE;QACV,UAAU,EAAE,qEAAqE;QACjF,cAAc,EAAE,YAAY;QAC5B,MAAM,EAAE,kCAAkC;QAC1C,SAAS,EAAE,wEAAwE;KACpF;CACF,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Color Tokens - Compose.Market Design System
|
|
3
|
+
*
|
|
4
|
+
* Based on official branding guidelines from /app/public/branding/README.md
|
|
5
|
+
*
|
|
6
|
+
* Color Philosophy:
|
|
7
|
+
* - Cyan (Primary): Action-oriented, links, primary buttons, focus states
|
|
8
|
+
* - Fuchsia (Accent): Highlights, secondary actions, special elements
|
|
9
|
+
* - Dark backgrounds for dark mode, light backgrounds for light mode
|
|
10
|
+
*/
|
|
11
|
+
export type HSL = `${number} ${number}% ${number}%`;
|
|
12
|
+
export type HSLWithAlpha = `${number} ${number}% ${number}% / ${number | `${number}%`}`;
|
|
13
|
+
export interface ColorToken {
|
|
14
|
+
name: string;
|
|
15
|
+
hsl: HSL;
|
|
16
|
+
cssVar: string;
|
|
17
|
+
description: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ColorScale {
|
|
20
|
+
50: HSL;
|
|
21
|
+
100: HSL;
|
|
22
|
+
200: HSL;
|
|
23
|
+
300: HSL;
|
|
24
|
+
400: HSL;
|
|
25
|
+
500: HSL;
|
|
26
|
+
600: HSL;
|
|
27
|
+
700: HSL;
|
|
28
|
+
800: HSL;
|
|
29
|
+
900: HSL;
|
|
30
|
+
950: HSL;
|
|
31
|
+
}
|
|
32
|
+
export declare const brandColors: {
|
|
33
|
+
readonly cyan: {
|
|
34
|
+
readonly name: "Cyan";
|
|
35
|
+
readonly description: "Primary brand color - actions, links, focus states";
|
|
36
|
+
readonly hsl: HSL;
|
|
37
|
+
};
|
|
38
|
+
readonly fuchsia: {
|
|
39
|
+
readonly name: "Fuchsia";
|
|
40
|
+
readonly description: "Accent brand color - highlights, special elements";
|
|
41
|
+
readonly hsl: HSL;
|
|
42
|
+
};
|
|
43
|
+
readonly dark: {
|
|
44
|
+
readonly name: "Dark";
|
|
45
|
+
readonly description: "Primary dark background";
|
|
46
|
+
readonly hsl: HSL;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export declare const colorScales: Record<string, ColorScale>;
|
|
50
|
+
export declare const semanticColors: {
|
|
51
|
+
readonly background: "Background color for the main content area";
|
|
52
|
+
readonly foreground: "Primary text color for content";
|
|
53
|
+
readonly card: "Background color for card components";
|
|
54
|
+
readonly cardForeground: "Text color for card content";
|
|
55
|
+
readonly popover: "Background color for popover/dropdown components";
|
|
56
|
+
readonly popoverForeground: "Text color for popover content";
|
|
57
|
+
readonly primary: "Primary action color (buttons, links)";
|
|
58
|
+
readonly primaryForeground: "Text color on primary backgrounds";
|
|
59
|
+
readonly secondary: "Secondary action color";
|
|
60
|
+
readonly secondaryForeground: "Text color on secondary backgrounds";
|
|
61
|
+
readonly muted: "Background for muted/de-emphasized content";
|
|
62
|
+
readonly mutedForeground: "Text color for muted content";
|
|
63
|
+
readonly accent: "Accent/highlight color";
|
|
64
|
+
readonly accentForeground: "Text color on accent backgrounds";
|
|
65
|
+
readonly destructive: "Destructive/error color";
|
|
66
|
+
readonly destructiveForeground: "Text color on destructive backgrounds";
|
|
67
|
+
readonly border: "Default border color";
|
|
68
|
+
readonly input: "Input field border/background color";
|
|
69
|
+
readonly ring: "Focus ring color";
|
|
70
|
+
readonly sidebar: "Sidebar background color";
|
|
71
|
+
readonly sidebarForeground: "Sidebar text color";
|
|
72
|
+
readonly sidebarPrimary: "Sidebar primary accent color";
|
|
73
|
+
readonly sidebarPrimaryForeground: "Text on sidebar primary elements";
|
|
74
|
+
readonly sidebarAccent: "Sidebar accent color";
|
|
75
|
+
readonly sidebarAccentForeground: "Text on sidebar accent elements";
|
|
76
|
+
readonly sidebarBorder: "Sidebar border color";
|
|
77
|
+
};
|
|
78
|
+
export type SemanticColorName = keyof typeof semanticColors;
|
|
79
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/tokens/colors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,MAAM,GAAG,GAAG,GAAG,MAAM,IAAI,MAAM,KAAK,MAAM,GAAG,CAAC;AACpD,MAAM,MAAM,YAAY,GAAG,GAAG,MAAM,IAAI,MAAM,KAAK,MAAM,OAAO,MAAM,GAAG,GAAG,MAAM,GAAG,EAAE,CAAC;AAExF,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,GAAG,CAAC;IACR,GAAG,EAAE,GAAG,CAAC;IACT,GAAG,EAAE,GAAG,CAAC;IACT,GAAG,EAAE,GAAG,CAAC;IACT,GAAG,EAAE,GAAG,CAAC;IACT,GAAG,EAAE,GAAG,CAAC;IACT,GAAG,EAAE,GAAG,CAAC;IACT,GAAG,EAAE,GAAG,CAAC;IACT,GAAG,EAAE,GAAG,CAAC;IACT,GAAG,EAAE,GAAG,CAAC;IACT,GAAG,EAAE,GAAG,CAAC;CACV;AAED,eAAO,MAAM,WAAW;;;;sBAIE,GAAG;;;;;sBAKH,GAAG;;;;;sBAKJ,GAAG;;CAElB,CAAC;AAEX,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CA4FlD,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BjB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,cAAc,CAAC"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Color Tokens - Compose.Market Design System
|
|
3
|
+
*
|
|
4
|
+
* Based on official branding guidelines from /app/public/branding/README.md
|
|
5
|
+
*
|
|
6
|
+
* Color Philosophy:
|
|
7
|
+
* - Cyan (Primary): Action-oriented, links, primary buttons, focus states
|
|
8
|
+
* - Fuchsia (Accent): Highlights, secondary actions, special elements
|
|
9
|
+
* - Dark backgrounds for dark mode, light backgrounds for light mode
|
|
10
|
+
*/
|
|
11
|
+
export const brandColors = {
|
|
12
|
+
cyan: {
|
|
13
|
+
name: 'Cyan',
|
|
14
|
+
description: 'Primary brand color - actions, links, focus states',
|
|
15
|
+
hsl: '188 95% 43%',
|
|
16
|
+
},
|
|
17
|
+
fuchsia: {
|
|
18
|
+
name: 'Fuchsia',
|
|
19
|
+
description: 'Accent brand color - highlights, special elements',
|
|
20
|
+
hsl: '292 85% 55%',
|
|
21
|
+
},
|
|
22
|
+
dark: {
|
|
23
|
+
name: 'Dark',
|
|
24
|
+
description: 'Primary dark background',
|
|
25
|
+
hsl: '222 47% 3%',
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
export const colorScales = {
|
|
29
|
+
slate: {
|
|
30
|
+
50: '210 40% 98%',
|
|
31
|
+
100: '210 40% 96%',
|
|
32
|
+
200: '210 40% 90%',
|
|
33
|
+
300: '210 40% 80%',
|
|
34
|
+
400: '215 20% 65%',
|
|
35
|
+
500: '215 16% 47%',
|
|
36
|
+
600: '215 19% 35%',
|
|
37
|
+
700: '217 23% 23%',
|
|
38
|
+
800: '217 25% 15%',
|
|
39
|
+
900: '222 47% 11%',
|
|
40
|
+
950: '222 47% 4%',
|
|
41
|
+
},
|
|
42
|
+
cyan: {
|
|
43
|
+
50: '183 100% 96%',
|
|
44
|
+
100: '185 96% 90%',
|
|
45
|
+
200: '186 95% 80%',
|
|
46
|
+
300: '187 95% 65%',
|
|
47
|
+
400: '188 95% 43%',
|
|
48
|
+
500: '189 94% 43%',
|
|
49
|
+
600: '190 95% 36%',
|
|
50
|
+
700: '191 97% 30%',
|
|
51
|
+
800: '192 100% 25%',
|
|
52
|
+
900: '193 100% 21%',
|
|
53
|
+
950: '194 100% 13%',
|
|
54
|
+
},
|
|
55
|
+
fuchsia: {
|
|
56
|
+
50: '287 100% 96%',
|
|
57
|
+
100: '289 100% 91%',
|
|
58
|
+
200: '290 100% 83%',
|
|
59
|
+
300: '291 97% 73%',
|
|
60
|
+
400: '292 85% 65%',
|
|
61
|
+
500: '292 85% 55%',
|
|
62
|
+
600: '293 84% 47%',
|
|
63
|
+
700: '294 83% 40%',
|
|
64
|
+
800: '295 82% 35%',
|
|
65
|
+
900: '296 80% 30%',
|
|
66
|
+
950: '297 80% 18%',
|
|
67
|
+
},
|
|
68
|
+
purple: {
|
|
69
|
+
50: '270 100% 97%',
|
|
70
|
+
100: '269 100% 94%',
|
|
71
|
+
200: '269 100% 88%',
|
|
72
|
+
300: '269 100% 80%',
|
|
73
|
+
400: '270 100% 70%',
|
|
74
|
+
500: '270 100% 60%',
|
|
75
|
+
600: '271 91% 51%',
|
|
76
|
+
700: '272 72% 42%',
|
|
77
|
+
800: '273 67% 35%',
|
|
78
|
+
900: '274 66% 29%',
|
|
79
|
+
950: '275 60% 18%',
|
|
80
|
+
},
|
|
81
|
+
red: {
|
|
82
|
+
50: '0 86% 97%',
|
|
83
|
+
100: '0 93% 94%',
|
|
84
|
+
200: '0 96% 89%',
|
|
85
|
+
300: '0 94% 82%',
|
|
86
|
+
400: '0 91% 71%',
|
|
87
|
+
500: '0 84% 60%',
|
|
88
|
+
600: '0 72% 51%',
|
|
89
|
+
700: '0 74% 42%',
|
|
90
|
+
800: '0 70% 35%',
|
|
91
|
+
900: '0 63% 31%',
|
|
92
|
+
950: '0 75% 15%',
|
|
93
|
+
},
|
|
94
|
+
green: {
|
|
95
|
+
50: '138 76% 97%',
|
|
96
|
+
100: '141 85% 93%',
|
|
97
|
+
200: '141 79% 85%',
|
|
98
|
+
300: '142 77% 73%',
|
|
99
|
+
400: '142 76% 60%',
|
|
100
|
+
500: '142 71% 45%',
|
|
101
|
+
600: '142 76% 36%',
|
|
102
|
+
700: '142 72% 29%',
|
|
103
|
+
800: '143 64% 24%',
|
|
104
|
+
900: '144 61% 20%',
|
|
105
|
+
950: '145 80% 10%',
|
|
106
|
+
},
|
|
107
|
+
amber: {
|
|
108
|
+
50: '48 100% 96%',
|
|
109
|
+
100: '48 96% 89%',
|
|
110
|
+
200: '48 97% 77%',
|
|
111
|
+
300: '46 97% 65%',
|
|
112
|
+
400: '43 96% 56%',
|
|
113
|
+
500: '38 92% 50%',
|
|
114
|
+
600: '32 95% 44%',
|
|
115
|
+
700: '26 90% 37%',
|
|
116
|
+
800: '22 82% 32%',
|
|
117
|
+
900: '18 78% 28%',
|
|
118
|
+
950: '12 76% 15%',
|
|
119
|
+
},
|
|
120
|
+
};
|
|
121
|
+
export const semanticColors = {
|
|
122
|
+
background: 'Background color for the main content area',
|
|
123
|
+
foreground: 'Primary text color for content',
|
|
124
|
+
card: 'Background color for card components',
|
|
125
|
+
cardForeground: 'Text color for card content',
|
|
126
|
+
popover: 'Background color for popover/dropdown components',
|
|
127
|
+
popoverForeground: 'Text color for popover content',
|
|
128
|
+
primary: 'Primary action color (buttons, links)',
|
|
129
|
+
primaryForeground: 'Text color on primary backgrounds',
|
|
130
|
+
secondary: 'Secondary action color',
|
|
131
|
+
secondaryForeground: 'Text color on secondary backgrounds',
|
|
132
|
+
muted: 'Background for muted/de-emphasized content',
|
|
133
|
+
mutedForeground: 'Text color for muted content',
|
|
134
|
+
accent: 'Accent/highlight color',
|
|
135
|
+
accentForeground: 'Text color on accent backgrounds',
|
|
136
|
+
destructive: 'Destructive/error color',
|
|
137
|
+
destructiveForeground: 'Text color on destructive backgrounds',
|
|
138
|
+
border: 'Default border color',
|
|
139
|
+
input: 'Input field border/background color',
|
|
140
|
+
ring: 'Focus ring color',
|
|
141
|
+
sidebar: 'Sidebar background color',
|
|
142
|
+
sidebarForeground: 'Sidebar text color',
|
|
143
|
+
sidebarPrimary: 'Sidebar primary accent color',
|
|
144
|
+
sidebarPrimaryForeground: 'Text on sidebar primary elements',
|
|
145
|
+
sidebarAccent: 'Sidebar accent color',
|
|
146
|
+
sidebarAccentForeground: 'Text on sidebar accent elements',
|
|
147
|
+
sidebarBorder: 'Sidebar border color',
|
|
148
|
+
};
|
|
149
|
+
//# sourceMappingURL=colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../src/tokens/colors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA0BH,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AU,EAAE,gCAAgC;IAC5C,IAAI,EAAE,sCAAsC;IAC5C,cAAc,EAAE,6BAA6B;IAC7C,OAAO,EAAE,kDAAkD;IAC3D,iBAAiB,EAAE,gCAAgC;IACnD,OAAO,EAAE,uCAAuC;IAChD,iBAAiB,EAAE,mCAAmC;IACtD,SAAS,EAAE,wBAAwB;IACnC,mBAAmB,EAAE,qCAAqC;IAC1D,KAAK,EAAE,4CAA4C;IACnD,eAAe,EAAE,8BAA8B;IAC/C,MAAM,EAAE,wBAAwB;IAChC,gBAAgB,EAAE,kCAAkC;IACpD,WAAW,EAAE,yBAAyB;IACtC,qBAAqB,EAAE,uCAAuC;IAC9D,MAAM,EAAE,sBAAsB;IAC9B,KAAK,EAAE,qCAAqC;IAC5C,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,0BAA0B;IACnC,iBAAiB,EAAE,oBAAoB;IACvC,cAAc,EAAE,8BAA8B;IAC9C,wBAAwB,EAAE,kCAAkC;IAC5D,aAAa,EAAE,sBAAsB;IACrC,uBAAuB,EAAE,iCAAiC;IAC1D,aAAa,EAAE,sBAAsB;CAC7B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Design Tokens Index - Compose.Market Design System
|
|
3
|
+
*
|
|
4
|
+
* Aggregates all token definitions for the design system
|
|
5
|
+
*/
|
|
6
|
+
export * from './colors';
|
|
7
|
+
export * from './typography';
|
|
8
|
+
export * from './spacing';
|
|
9
|
+
export * from './radius';
|
|
10
|
+
import { brandColors, colorScales, semanticColors } from './colors';
|
|
11
|
+
import { fontTokens } from './typography';
|
|
12
|
+
import { spacing } from './spacing';
|
|
13
|
+
import { radius } from './radius';
|
|
14
|
+
export interface DesignTokens {
|
|
15
|
+
colors: {
|
|
16
|
+
brand: typeof brandColors;
|
|
17
|
+
scales: typeof colorScales;
|
|
18
|
+
semantic: typeof semanticColors;
|
|
19
|
+
};
|
|
20
|
+
typography: typeof fontTokens;
|
|
21
|
+
spacing: typeof spacing;
|
|
22
|
+
radius: typeof radius;
|
|
23
|
+
}
|
|
24
|
+
export declare const tokens: DesignTokens;
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AAEzB,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE;QACN,KAAK,EAAE,OAAO,WAAW,CAAC;QAC1B,MAAM,EAAE,OAAO,WAAW,CAAC;QAC3B,QAAQ,EAAE,OAAO,cAAc,CAAC;KACjC,CAAC;IACF,UAAU,EAAE,OAAO,UAAU,CAAC;IAC9B,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,MAAM,EAAE,OAAO,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,MAAM,EAAE,YASpB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Design Tokens Index - Compose.Market Design System
|
|
3
|
+
*
|
|
4
|
+
* Aggregates all token definitions for the design system
|
|
5
|
+
*/
|
|
6
|
+
export * from './colors';
|
|
7
|
+
export * from './typography';
|
|
8
|
+
export * from './spacing';
|
|
9
|
+
export * from './radius';
|
|
10
|
+
import { brandColors, colorScales, semanticColors } from './colors';
|
|
11
|
+
import { fontTokens } from './typography';
|
|
12
|
+
import { spacing } from './spacing';
|
|
13
|
+
import { radius } from './radius';
|
|
14
|
+
export const tokens = {
|
|
15
|
+
colors: {
|
|
16
|
+
brand: brandColors,
|
|
17
|
+
scales: colorScales,
|
|
18
|
+
semantic: semanticColors,
|
|
19
|
+
},
|
|
20
|
+
typography: fontTokens,
|
|
21
|
+
spacing,
|
|
22
|
+
radius,
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AAEzB,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAalC,MAAM,CAAC,MAAM,MAAM,GAAiB;IAClC,MAAM,EAAE;QACN,KAAK,EAAE,WAAW;QAClB,MAAM,EAAE,WAAW;QACnB,QAAQ,EAAE,cAAc;KACzB;IACD,UAAU,EAAE,UAAU;IACtB,OAAO;IACP,MAAM;CACP,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Border Radius Tokens - Compose.Market Design System
|
|
3
|
+
*
|
|
4
|
+
* Sharp, cyberpunk-inspired aesthetic with minimal rounding
|
|
5
|
+
*/
|
|
6
|
+
export type RadiusScale = {
|
|
7
|
+
name: string;
|
|
8
|
+
value: string;
|
|
9
|
+
cssVar: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const radius: Record<string, RadiusScale>;
|
|
12
|
+
export declare const radiusTokens: {
|
|
13
|
+
readonly radius: Record<string, RadiusScale>;
|
|
14
|
+
readonly default: string;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=radius.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radius.d.ts","sourceRoot":"","sources":["../../src/tokens/radius.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CA8CrC,CAAC;AAEX,eAAO,MAAM,YAAY;;;CAGf,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Border Radius Tokens - Compose.Market Design System
|
|
3
|
+
*
|
|
4
|
+
* Sharp, cyberpunk-inspired aesthetic with minimal rounding
|
|
5
|
+
*/
|
|
6
|
+
export const radius = {
|
|
7
|
+
none: {
|
|
8
|
+
name: 'None',
|
|
9
|
+
value: '0',
|
|
10
|
+
cssVar: '--radius-none',
|
|
11
|
+
},
|
|
12
|
+
sm: {
|
|
13
|
+
name: 'Small',
|
|
14
|
+
value: '0.125rem',
|
|
15
|
+
cssVar: '--radius-sm',
|
|
16
|
+
},
|
|
17
|
+
DEFAULT: {
|
|
18
|
+
name: 'Default',
|
|
19
|
+
value: '0.25rem',
|
|
20
|
+
cssVar: '--radius',
|
|
21
|
+
},
|
|
22
|
+
md: {
|
|
23
|
+
name: 'Medium',
|
|
24
|
+
value: '0.25rem',
|
|
25
|
+
cssVar: '--radius-md',
|
|
26
|
+
},
|
|
27
|
+
lg: {
|
|
28
|
+
name: 'Large',
|
|
29
|
+
value: '0.5rem',
|
|
30
|
+
cssVar: '--radius-lg',
|
|
31
|
+
},
|
|
32
|
+
xl: {
|
|
33
|
+
name: 'Extra Large',
|
|
34
|
+
value: '0.75rem',
|
|
35
|
+
cssVar: '--radius-xl',
|
|
36
|
+
},
|
|
37
|
+
'2xl': {
|
|
38
|
+
name: '2XL',
|
|
39
|
+
value: '1rem',
|
|
40
|
+
cssVar: '--radius-2xl',
|
|
41
|
+
},
|
|
42
|
+
'3xl': {
|
|
43
|
+
name: '3XL',
|
|
44
|
+
value: '1.5rem',
|
|
45
|
+
cssVar: '--radius-3xl',
|
|
46
|
+
},
|
|
47
|
+
full: {
|
|
48
|
+
name: 'Full',
|
|
49
|
+
value: '9999px',
|
|
50
|
+
cssVar: '--radius-full',
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
export const radiusTokens = {
|
|
54
|
+
radius,
|
|
55
|
+
default: radius.DEFAULT.value,
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=radius.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radius.js","sourceRoot":"","sources":["../../src/tokens/radius.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,MAAM,CAAC,MAAM,MAAM,GAAgC;IACjD,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,eAAe;KACxB;IACD,EAAE,EAAE;QACF,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,UAAU;QACjB,MAAM,EAAE,aAAa;KACtB;IACD,OAAO,EAAE;QACP,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,UAAU;KACnB;IACD,EAAE,EAAE;QACF,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,aAAa;KACtB;IACD,EAAE,EAAE;QACF,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,aAAa;KACtB;IACD,EAAE,EAAE;QACF,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,aAAa;KACtB;IACD,KAAK,EAAE;QACL,IAAI,EAAE,KAAK;QACX,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,cAAc;KACvB;IACD,KAAK,EAAE;QACL,IAAI,EAAE,KAAK;QACX,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,cAAc;KACvB;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,eAAe;KACxB;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM;IACN,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK;CACrB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Spacing Tokens - Compose.Market Design System
|
|
3
|
+
*
|
|
4
|
+
* Based on a 4px base unit for consistent rhythm
|
|
5
|
+
*/
|
|
6
|
+
export type SpacingScale = {
|
|
7
|
+
name: string;
|
|
8
|
+
value: string;
|
|
9
|
+
pixels: number;
|
|
10
|
+
cssVar: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const spacing: Record<string, SpacingScale>;
|
|
13
|
+
//# sourceMappingURL=spacing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/tokens/spacing.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAmNvC,CAAC"}
|