@compose-market/theme 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/brand/Logo.d.ts +25 -0
- package/dist/components/brand/Logo.d.ts.map +1 -0
- package/dist/components/brand/Logo.js +20 -0
- package/dist/components/brand/Logo.js.map +1 -0
- package/dist/components/brand/index.d.ts +2 -0
- package/dist/components/brand/index.d.ts.map +1 -0
- package/dist/components/brand/index.js +2 -0
- package/dist/components/brand/index.js.map +1 -0
- package/dist/components/session.d.ts +58 -0
- package/dist/components/session.d.ts.map +1 -0
- package/dist/components/session.js +280 -0
- package/dist/components/session.js.map +1 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +24 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/button.d.ts +14 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +43 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/card.d.ts +13 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +18 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/dialog.d.ts +20 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +23 -0
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +37 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/index.d.ts +7 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/components/ui/index.js +7 -0
- package/dist/components/ui/index.js.map +1 -0
- package/dist/components/ui/progress.d.ts +5 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/progress.js +9 -0
- package/dist/components/ui/progress.js.map +1 -0
- package/dist/components/ui/surface-variant.d.ts +4 -0
- package/dist/components/ui/surface-variant.d.ts.map +1 -0
- package/dist/components/ui/surface-variant.js +10 -0
- package/dist/components/ui/surface-variant.js.map +1 -0
- package/dist/index.d.ts +5 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -6
- package/dist/index.js.map +1 -1
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +6 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/lib/visual-system.d.ts +39 -0
- package/dist/lib/visual-system.d.ts.map +1 -0
- package/dist/lib/visual-system.js +129 -0
- package/dist/lib/visual-system.js.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +2 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +45 -9
- package/dist/css/dark.css +0 -38
- package/dist/css/index.css +0 -9
- package/dist/css/index.d.ts +0 -16
- package/dist/css/index.d.ts.map +0 -1
- package/dist/css/index.js +0 -96
- package/dist/css/index.js.map +0 -1
- package/dist/css/light.css +0 -70
- package/dist/css/tokens.css +0 -24
- package/dist/tailwind/preset.d.ts +0 -282
- package/dist/tailwind/preset.d.ts.map +0 -1
- package/dist/tailwind/preset.js +0 -144
- package/dist/tailwind/preset.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compose-market/theme",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Official design tokens and
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Official design tokens and UI primitives for Compose.Market",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-tokens",
|
|
7
7
|
"theme",
|
|
8
8
|
"compose-market",
|
|
9
9
|
"tailwind",
|
|
10
|
-
"css-variables"
|
|
10
|
+
"css-variables",
|
|
11
|
+
"react-components"
|
|
11
12
|
],
|
|
12
13
|
"homepage": "https://github.com/compose-market/theme#readme",
|
|
13
14
|
"bugs": {
|
|
@@ -26,6 +27,11 @@
|
|
|
26
27
|
"import": "./dist/index.js",
|
|
27
28
|
"default": "./dist/index.js"
|
|
28
29
|
},
|
|
30
|
+
"./utils": {
|
|
31
|
+
"types": "./dist/utils/index.d.ts",
|
|
32
|
+
"import": "./dist/utils/index.js",
|
|
33
|
+
"default": "./dist/utils/index.js"
|
|
34
|
+
},
|
|
29
35
|
"./tokens": {
|
|
30
36
|
"types": "./dist/tokens/index.d.ts",
|
|
31
37
|
"import": "./dist/tokens/index.js",
|
|
@@ -52,21 +58,51 @@
|
|
|
52
58
|
"dist"
|
|
53
59
|
],
|
|
54
60
|
"scripts": {
|
|
55
|
-
"build": "
|
|
61
|
+
"build": "tsc",
|
|
56
62
|
"prepublishOnly": "npm run build",
|
|
57
63
|
"typecheck": "tsc --noEmit"
|
|
58
64
|
},
|
|
59
65
|
"dependencies": {
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
66
|
+
"@compose-market/session": "^0.0.3",
|
|
67
|
+
"@radix-ui/react-accordion": "^1.2.12",
|
|
68
|
+
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
69
|
+
"@radix-ui/react-aspect-ratio": "^1.1.8",
|
|
70
|
+
"@radix-ui/react-avatar": "^1.1.11",
|
|
71
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
72
|
+
"@radix-ui/react-collapsible": "^1.1.12",
|
|
73
|
+
"@radix-ui/react-context-menu": "^2.2.16",
|
|
74
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
75
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
76
|
+
"@radix-ui/react-hover-card": "^1.1.15",
|
|
77
|
+
"@radix-ui/react-label": "^2.1.8",
|
|
78
|
+
"@radix-ui/react-menubar": "^1.1.16",
|
|
79
|
+
"@radix-ui/react-navigation-menu": "^1.2.14",
|
|
80
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
81
|
+
"@radix-ui/react-progress": "^1.1.8",
|
|
82
|
+
"@radix-ui/react-radio-group": "^1.3.8",
|
|
83
|
+
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
84
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
85
|
+
"@radix-ui/react-separator": "^1.1.8",
|
|
86
|
+
"@radix-ui/react-slider": "^1.3.6",
|
|
87
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
88
|
+
"@radix-ui/react-switch": "^1.2.6",
|
|
89
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
90
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
91
|
+
"class-variance-authority": "^0.7.1",
|
|
92
|
+
"clsx": "^2.1.1",
|
|
93
|
+
"lucide-react": "^0.575.0",
|
|
94
|
+
"tailwind-merge": "^3.5.0"
|
|
64
95
|
},
|
|
65
96
|
"devDependencies": {
|
|
66
97
|
"@types/node": "^25.3.3",
|
|
67
|
-
"
|
|
98
|
+
"@types/react": "^19.2.14",
|
|
99
|
+
"react": "^19.2.4",
|
|
68
100
|
"typescript": "^5.9.3"
|
|
69
101
|
},
|
|
102
|
+
"peerDependencies": {
|
|
103
|
+
"react": ">=18.0.0",
|
|
104
|
+
"react-dom": ">=18.0.0"
|
|
105
|
+
},
|
|
70
106
|
"publishConfig": {
|
|
71
107
|
"access": "public"
|
|
72
108
|
},
|
package/dist/css/dark.css
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compose.Market Dark Theme
|
|
3
|
-
* @compose-market/theme
|
|
4
|
-
*
|
|
5
|
-
* Cyberpunk-inspired dark theme with neon accents.
|
|
6
|
-
* DO NOT EDIT - This file is generated from the theme package.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
:root {
|
|
10
|
-
/* Colors */
|
|
11
|
-
--background: 222 47% 3%;
|
|
12
|
-
--foreground: 210 40% 80%;
|
|
13
|
-
--card: 222 40% 5%;
|
|
14
|
-
--card-foreground: 210 30% 75%;
|
|
15
|
-
--popover: 222 40% 4%;
|
|
16
|
-
--popover-foreground: 210 30% 75%;
|
|
17
|
-
--primary: 188 95% 43%;
|
|
18
|
-
--primary-foreground: 222 47% 3%;
|
|
19
|
-
--secondary: 270 60% 20%;
|
|
20
|
-
--secondary-foreground: 270 80% 90%;
|
|
21
|
-
--muted: 217 33% 15%;
|
|
22
|
-
--muted-foreground: 215 16% 47%;
|
|
23
|
-
--accent: 292 85% 55%;
|
|
24
|
-
--accent-foreground: 0 0% 100%;
|
|
25
|
-
--destructive: 0 90% 50%;
|
|
26
|
-
--destructive-foreground: 0 0% 100%;
|
|
27
|
-
--border: 217 33% 15%;
|
|
28
|
-
--input: 217 33% 10%;
|
|
29
|
-
--ring: 188 95% 43%;
|
|
30
|
-
--sidebar: 222 47% 3%;
|
|
31
|
-
--sidebar-foreground: 210 30% 75%;
|
|
32
|
-
--sidebar-primary: 188 95% 43%;
|
|
33
|
-
--sidebar-primary-foreground: 222 47% 3%;
|
|
34
|
-
--sidebar-accent: 222 40% 8%;
|
|
35
|
-
--sidebar-accent-foreground: 210 40% 90%;
|
|
36
|
-
--sidebar-border: 217 33% 15%;
|
|
37
|
-
--sidebar-ring: 188 95% 43%;
|
|
38
|
-
}
|
package/dist/css/index.css
DELETED
package/dist/css/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CSS Custom Properties Generator
|
|
3
|
-
*
|
|
4
|
-
* This file is the source for generating CSS. The actual CSS files
|
|
5
|
-
* are generated via the build script, but we also export static
|
|
6
|
-
* templates that can be used directly.
|
|
7
|
-
*/
|
|
8
|
-
import { darkTheme } from '../themes/dark';
|
|
9
|
-
export declare function generateThemeCss(theme: typeof darkTheme, themeName: string): string;
|
|
10
|
-
export declare function generateFontCss(): string;
|
|
11
|
-
export declare function generateRadiusCss(): string;
|
|
12
|
-
export declare const baseTokensCss: string;
|
|
13
|
-
export declare const darkThemeCss: string;
|
|
14
|
-
export declare const lightThemeCss: string;
|
|
15
|
-
export declare const indexCss = "/**\n * Compose.Market Theme System\n * @compose-market/theme/css\n * \n * Import this file for the complete theme (dark by default).\n * For light mode support, also import ./light.css\n */\n\n@import './tokens.css';\n@import './dark.css';\n";
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/css/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/css/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,SAAS,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAanF;AAED,wBAAgB,eAAe,IAAI,MAAM,CASxC;AAED,wBAAgB,iBAAiB,IAAI,MAAM,CAS1C;AAED,eAAO,MAAM,aAAa,QAazB,CAAC;AAEF,eAAO,MAAM,YAAY,QAaxB,CAAC;AAEF,eAAO,MAAM,aAAa,QAiBzB,CAAC;AAEF,eAAO,MAAM,QAAQ,uPAUpB,CAAC"}
|
package/dist/css/index.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CSS Custom Properties Generator
|
|
3
|
-
*
|
|
4
|
-
* This file is the source for generating CSS. The actual CSS files
|
|
5
|
-
* are generated via the build script, but we also export static
|
|
6
|
-
* templates that can be used directly.
|
|
7
|
-
*/
|
|
8
|
-
import { fontFamilies } from '../tokens/typography';
|
|
9
|
-
import { radius } from '../tokens/radius';
|
|
10
|
-
import { darkTheme } from '../themes/dark';
|
|
11
|
-
import { lightTheme } from '../themes/light';
|
|
12
|
-
export function generateThemeCss(theme, themeName) {
|
|
13
|
-
const lines = [];
|
|
14
|
-
lines.push(`/* Compose.Market Theme: ${themeName} */`);
|
|
15
|
-
lines.push(`/* Generated from @compose-market/theme */`);
|
|
16
|
-
lines.push('');
|
|
17
|
-
for (const [key, value] of Object.entries(theme)) {
|
|
18
|
-
const cssVarName = `--${key.replace(/([A-Z])/g, '-$1').toLowerCase()}`;
|
|
19
|
-
lines.push(` ${cssVarName}: ${value};`);
|
|
20
|
-
}
|
|
21
|
-
return lines.join('\n');
|
|
22
|
-
}
|
|
23
|
-
export function generateFontCss() {
|
|
24
|
-
const lines = [];
|
|
25
|
-
lines.push('/* Typography */');
|
|
26
|
-
for (const font of Object.values(fontFamilies)) {
|
|
27
|
-
lines.push(` ${font.cssVar}: ${font.value}, ${font.fallback};`);
|
|
28
|
-
}
|
|
29
|
-
return lines.join('\n');
|
|
30
|
-
}
|
|
31
|
-
export function generateRadiusCss() {
|
|
32
|
-
const lines = [];
|
|
33
|
-
lines.push('/* Border Radius */');
|
|
34
|
-
for (const r of Object.values(radius)) {
|
|
35
|
-
lines.push(` ${r.cssVar}: ${r.value};`);
|
|
36
|
-
}
|
|
37
|
-
return lines.join('\n');
|
|
38
|
-
}
|
|
39
|
-
export const baseTokensCss = `/**
|
|
40
|
-
* Compose.Market Design Tokens
|
|
41
|
-
* @compose-market/theme
|
|
42
|
-
*
|
|
43
|
-
* DO NOT EDIT - This file is generated from the theme package.
|
|
44
|
-
* Source: backend/services/packages/theme/src/css/tokens.css
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
|
-
:root {
|
|
48
|
-
${generateFontCss()}
|
|
49
|
-
|
|
50
|
-
${generateRadiusCss()}
|
|
51
|
-
}
|
|
52
|
-
`;
|
|
53
|
-
export const darkThemeCss = `/**
|
|
54
|
-
* Compose.Market Dark Theme
|
|
55
|
-
* @compose-market/theme
|
|
56
|
-
*
|
|
57
|
-
* Cyberpunk-inspired dark theme with neon accents.
|
|
58
|
-
* DO NOT EDIT - This file is generated from the theme package.
|
|
59
|
-
*/
|
|
60
|
-
|
|
61
|
-
:root {
|
|
62
|
-
${generateThemeCss(darkTheme, 'dark')}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* Dark mode is default - no @media query needed */
|
|
66
|
-
`;
|
|
67
|
-
export const lightThemeCss = `/**
|
|
68
|
-
* Compose.Market Light Theme
|
|
69
|
-
* @compose-market/theme
|
|
70
|
-
*
|
|
71
|
-
* Clean, professional light theme.
|
|
72
|
-
* DO NOT EDIT - This file is generated from the theme package.
|
|
73
|
-
*/
|
|
74
|
-
|
|
75
|
-
:root {
|
|
76
|
-
${generateThemeCss(lightTheme, 'light')}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* Light mode activation via class or data attribute */
|
|
80
|
-
.light,
|
|
81
|
-
[data-theme="light"] {
|
|
82
|
-
${generateThemeCss(lightTheme, 'light').split('\n').slice(3).join('\n')}
|
|
83
|
-
}
|
|
84
|
-
`;
|
|
85
|
-
export const indexCss = `/**
|
|
86
|
-
* Compose.Market Theme System
|
|
87
|
-
* @compose-market/theme/css
|
|
88
|
-
*
|
|
89
|
-
* Import this file for the complete theme (dark by default).
|
|
90
|
-
* For light mode support, also import ./light.css
|
|
91
|
-
*/
|
|
92
|
-
|
|
93
|
-
@import './tokens.css';
|
|
94
|
-
@import './dark.css';
|
|
95
|
-
`;
|
|
96
|
-
//# sourceMappingURL=index.js.map
|
package/dist/css/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/css/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,UAAU,gBAAgB,CAAC,KAAuB,EAAE,SAAiB;IACzE,MAAM,KAAK,GAAa,EAAE,CAAC;IAE3B,KAAK,CAAC,IAAI,CAAC,4BAA4B,SAAS,KAAK,CAAC,CAAC;IACvD,KAAK,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;IACzD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAEf,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACjD,MAAM,UAAU,GAAG,KAAK,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC;QACvE,KAAK,CAAC,IAAI,CAAC,KAAK,UAAU,KAAK,KAAK,GAAG,CAAC,CAAC;IAC3C,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,MAAM,UAAU,eAAe;IAC7B,MAAM,KAAK,GAAa,EAAE,CAAC;IAE3B,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IAC/B,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/C,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;IACnE,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,MAAM,UAAU,iBAAiB;IAC/B,MAAM,KAAK,GAAa,EAAE,CAAC;IAE3B,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;IAClC,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC;IAC3C,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;EAS3B,eAAe,EAAE;;EAEjB,iBAAiB,EAAE;;CAEpB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG;;;;;;;;;EAS1B,gBAAgB,CAAC,SAAS,EAAE,MAAM,CAAC;;;;CAIpC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;EAS3B,gBAAgB,CAAC,UAAU,EAAE,OAAO,CAAC;;;;;;EAMrC,gBAAgB,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;;CAEtE,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;CAUvB,CAAC"}
|
package/dist/css/light.css
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compose.Market Light Theme
|
|
3
|
-
* @compose-market/theme
|
|
4
|
-
*
|
|
5
|
-
* Clean, professional light theme.
|
|
6
|
-
* DO NOT EDIT - This file is generated from the theme package.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
:root {
|
|
10
|
-
/* Colors */
|
|
11
|
-
--background: 0 0% 100%;
|
|
12
|
-
--foreground: 222 47% 11%;
|
|
13
|
-
--card: 0 0% 100%;
|
|
14
|
-
--card-foreground: 222 47% 11%;
|
|
15
|
-
--popover: 0 0% 100%;
|
|
16
|
-
--popover-foreground: 222 47% 11%;
|
|
17
|
-
--primary: 188 95% 43%;
|
|
18
|
-
--primary-foreground: 0 0% 100%;
|
|
19
|
-
--secondary: 210 40% 96%;
|
|
20
|
-
--secondary-foreground: 222 47% 11%;
|
|
21
|
-
--muted: 210 40% 96%;
|
|
22
|
-
--muted-foreground: 215 16% 47%;
|
|
23
|
-
--accent: 292 85% 55%;
|
|
24
|
-
--accent-foreground: 0 0% 100%;
|
|
25
|
-
--destructive: 0 84% 60%;
|
|
26
|
-
--destructive-foreground: 0 0% 100%;
|
|
27
|
-
--border: 214 32% 91%;
|
|
28
|
-
--input: 214 32% 91%;
|
|
29
|
-
--ring: 188 95% 43%;
|
|
30
|
-
--sidebar: 0 0% 98%;
|
|
31
|
-
--sidebar-foreground: 222 47% 11%;
|
|
32
|
-
--sidebar-primary: 188 95% 43%;
|
|
33
|
-
--sidebar-primary-foreground: 0 0% 100%;
|
|
34
|
-
--sidebar-accent: 210 40% 96%;
|
|
35
|
-
--sidebar-accent-foreground: 222 47% 11%;
|
|
36
|
-
--sidebar-border: 214 32% 91%;
|
|
37
|
-
--sidebar-ring: 188 95% 43%;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/* Light mode activation */
|
|
41
|
-
.light,
|
|
42
|
-
[data-theme="light"] {
|
|
43
|
-
--background: 0 0% 100%;
|
|
44
|
-
--foreground: 222 47% 11%;
|
|
45
|
-
--card: 0 0% 100%;
|
|
46
|
-
--card-foreground: 222 47% 11%;
|
|
47
|
-
--popover: 0 0% 100%;
|
|
48
|
-
--popover-foreground: 222 47% 11%;
|
|
49
|
-
--primary: 188 95% 43%;
|
|
50
|
-
--primary-foreground: 0 0% 100%;
|
|
51
|
-
--secondary: 210 40% 96%;
|
|
52
|
-
--secondary-foreground: 222 47% 11%;
|
|
53
|
-
--muted: 210 40% 96%;
|
|
54
|
-
--muted-foreground: 215 16% 47%;
|
|
55
|
-
--accent: 292 85% 55%;
|
|
56
|
-
--accent-foreground: 0 0% 100%;
|
|
57
|
-
--destructive: 0 84% 60%;
|
|
58
|
-
--destructive-foreground: 0 0% 100%;
|
|
59
|
-
--border: 214 32% 91%;
|
|
60
|
-
--input: 214 32% 91%;
|
|
61
|
-
--ring: 188 95% 43%;
|
|
62
|
-
--sidebar: 0 0% 98%;
|
|
63
|
-
--sidebar-foreground: 222 47% 11%;
|
|
64
|
-
--sidebar-primary: 188 95% 43%;
|
|
65
|
-
--sidebar-primary-foreground: 0 0% 100%;
|
|
66
|
-
--sidebar-accent: 210 40% 96%;
|
|
67
|
-
--sidebar-accent-foreground: 222 47% 11%;
|
|
68
|
-
--sidebar-border: 214 32% 91%;
|
|
69
|
-
--sidebar-ring: 188 95% 43%;
|
|
70
|
-
}
|
package/dist/css/tokens.css
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compose.Market Design Tokens
|
|
3
|
-
* @compose-market/theme
|
|
4
|
-
*
|
|
5
|
-
* DO NOT EDIT - This file is generated from the theme package.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
:root {
|
|
9
|
-
/* Typography */
|
|
10
|
-
--font-display: "Orbitron", sans-serif;
|
|
11
|
-
--font-sans: "Rajdhani", sans-serif;
|
|
12
|
-
--font-mono: "Fira Code", monospace;
|
|
13
|
-
|
|
14
|
-
/* Border Radius */
|
|
15
|
-
--radius-none: 0;
|
|
16
|
-
--radius-sm: 0.125rem;
|
|
17
|
-
--radius: 0.25rem;
|
|
18
|
-
--radius-md: 0.25rem;
|
|
19
|
-
--radius-lg: 0.5rem;
|
|
20
|
-
--radius-xl: 0.75rem;
|
|
21
|
-
--radius-2xl: 1rem;
|
|
22
|
-
--radius-3xl: 1.5rem;
|
|
23
|
-
--radius-full: 9999px;
|
|
24
|
-
}
|
|
@@ -1,282 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|