@potenlab/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.
- package/dist/chunk-2W3RBVMM.js +698 -0
- package/dist/chunk-2W3RBVMM.js.map +1 -0
- package/dist/chunk-3PDPL453.cjs +42 -0
- package/dist/chunk-3PDPL453.cjs.map +1 -0
- package/dist/chunk-6GVBJTP3.js +3 -0
- package/dist/chunk-6GVBJTP3.js.map +1 -0
- package/dist/chunk-7XPQQR3Z.cjs +586 -0
- package/dist/chunk-7XPQQR3Z.cjs.map +1 -0
- package/dist/chunk-CN4BR5A5.cjs +1442 -0
- package/dist/chunk-CN4BR5A5.cjs.map +1 -0
- package/dist/chunk-DUACVZEX.js +13 -0
- package/dist/chunk-DUACVZEX.js.map +1 -0
- package/dist/chunk-EKVWVJD4.cjs +4 -0
- package/dist/chunk-EKVWVJD4.cjs.map +1 -0
- package/dist/chunk-IIMC6ODV.js +554 -0
- package/dist/chunk-IIMC6ODV.js.map +1 -0
- package/dist/chunk-M67D4PYJ.cjs +4 -0
- package/dist/chunk-M67D4PYJ.cjs.map +1 -0
- package/dist/chunk-O4BML5KD.cjs +744 -0
- package/dist/chunk-O4BML5KD.cjs.map +1 -0
- package/dist/chunk-OF2IE7ZP.cjs +26 -0
- package/dist/chunk-OF2IE7ZP.cjs.map +1 -0
- package/dist/chunk-T2ZO7QTO.js +3 -0
- package/dist/chunk-T2ZO7QTO.js.map +1 -0
- package/dist/chunk-T3VMPVU4.js +20 -0
- package/dist/chunk-T3VMPVU4.js.map +1 -0
- package/dist/chunk-VMWIQIIN.js +1343 -0
- package/dist/chunk-VMWIQIIN.js.map +1 -0
- package/dist/chunk-YDSVKR35.js +23 -0
- package/dist/chunk-YDSVKR35.js.map +1 -0
- package/dist/chunk-YSNZIYC2.cjs +16 -0
- package/dist/chunk-YSNZIYC2.cjs.map +1 -0
- package/dist/components/common/index.cjs +54 -0
- package/dist/components/common/index.cjs.map +1 -0
- package/dist/components/common/index.d.cts +138 -0
- package/dist/components/common/index.d.ts +138 -0
- package/dist/components/common/index.js +5 -0
- package/dist/components/common/index.js.map +1 -0
- package/dist/components/layouts/index.cjs +16 -0
- package/dist/components/layouts/index.cjs.map +1 -0
- package/dist/components/layouts/index.d.cts +15 -0
- package/dist/components/layouts/index.d.ts +15 -0
- package/dist/components/layouts/index.js +3 -0
- package/dist/components/layouts/index.js.map +1 -0
- package/dist/components/ui/index.cjs +503 -0
- package/dist/components/ui/index.cjs.map +1 -0
- package/dist/components/ui/index.d.cts +217 -0
- package/dist/components/ui/index.d.ts +217 -0
- package/dist/components/ui/index.js +6 -0
- package/dist/components/ui/index.js.map +1 -0
- package/dist/hooks/index.cjs +13 -0
- package/dist/hooks/index.cjs.map +1 -0
- package/dist/hooks/index.d.cts +3 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/index.cjs +571 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +29 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/index.cjs +17 -0
- package/dist/lib/index.cjs.map +1 -0
- package/dist/lib/index.d.cts +6 -0
- package/dist/lib/index.d.ts +6 -0
- package/dist/lib/index.js +4 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/styles/globals.css +167 -0
- package/package.json +137 -0
- package/src/styles/globals.css +167 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
@custom-variant dark (&:is(.dark *));
|
|
2
|
+
|
|
3
|
+
/* ============================================================
|
|
4
|
+
Tailwind CSS 4 @theme — Potenlab Design Tokens
|
|
5
|
+
All custom colors, fonts, and radii registered as first-class
|
|
6
|
+
Tailwind utilities (bg-primary, text-placeholder, font-pretendard, etc.)
|
|
7
|
+
============================================================ */
|
|
8
|
+
@theme inline {
|
|
9
|
+
/* ---------- shadcn/ui CSS-variable-backed colors ---------- */
|
|
10
|
+
--color-background: var(--background);
|
|
11
|
+
--color-foreground: var(--foreground);
|
|
12
|
+
--color-card: var(--card);
|
|
13
|
+
--color-card-foreground: var(--card-foreground);
|
|
14
|
+
--color-popover: var(--popover);
|
|
15
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
16
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
17
|
+
--color-secondary: var(--secondary);
|
|
18
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
19
|
+
--color-muted: var(--muted);
|
|
20
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
21
|
+
--color-accent: var(--accent);
|
|
22
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
23
|
+
--color-destructive: var(--destructive);
|
|
24
|
+
--color-ring: var(--ring);
|
|
25
|
+
--color-input: var(--input);
|
|
26
|
+
|
|
27
|
+
/* shadcn sidebar colors */
|
|
28
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
29
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
30
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
31
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
32
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
33
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
34
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
35
|
+
--color-sidebar: var(--sidebar);
|
|
36
|
+
|
|
37
|
+
/* shadcn chart colors */
|
|
38
|
+
--color-chart-5: var(--chart-5);
|
|
39
|
+
--color-chart-4: var(--chart-4);
|
|
40
|
+
--color-chart-3: var(--chart-3);
|
|
41
|
+
--color-chart-2: var(--chart-2);
|
|
42
|
+
--color-chart-1: var(--chart-1);
|
|
43
|
+
|
|
44
|
+
/* ---------- Potenlab brand colors (direct hex values) ---------- */
|
|
45
|
+
--color-primary: #509594;
|
|
46
|
+
--color-primary-hover: #3F7A79;
|
|
47
|
+
--color-primary-active: #357070;
|
|
48
|
+
--color-primary-light: #B9D5D4;
|
|
49
|
+
|
|
50
|
+
/* Backgrounds & surfaces */
|
|
51
|
+
--color-surface: #FFFFFF;
|
|
52
|
+
--color-border: #E2E8F0;
|
|
53
|
+
--color-divider: #EFF1F4;
|
|
54
|
+
--color-table-header: #F9FAFC;
|
|
55
|
+
--color-sidebar-selected: #EEF2F6;
|
|
56
|
+
|
|
57
|
+
/* Text colors */
|
|
58
|
+
--color-placeholder: #A0AEC0;
|
|
59
|
+
--color-subtitle: #9DA0A8;
|
|
60
|
+
--color-muted-fg: #5A5E6A;
|
|
61
|
+
--color-table-cell: #3B3F4A;
|
|
62
|
+
--color-inactive-tab-text: #1A202C;
|
|
63
|
+
|
|
64
|
+
/* Component-specific */
|
|
65
|
+
--color-inactive-tab: #EFF1F4;
|
|
66
|
+
--color-badge-green-bg: #C6F6D5;
|
|
67
|
+
--color-badge-green-text: #22543D;
|
|
68
|
+
--color-toggle-on: #3B82F6;
|
|
69
|
+
--color-toggle-off: #CBD5E0;
|
|
70
|
+
--color-delete-text: #3F7A79;
|
|
71
|
+
|
|
72
|
+
/* ---------- Font family tokens ---------- */
|
|
73
|
+
--font-pretendard: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
74
|
+
--font-inter: var(--font-inter-var, 'Inter'), 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
75
|
+
--font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
|
|
76
|
+
--font-sans: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
77
|
+
|
|
78
|
+
/* ---------- Border radii ---------- */
|
|
79
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
80
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
81
|
+
--radius-lg: var(--radius);
|
|
82
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
83
|
+
--radius-2xl: calc(var(--radius) + 8px);
|
|
84
|
+
--radius-3xl: calc(var(--radius) + 12px);
|
|
85
|
+
--radius-4xl: calc(var(--radius) + 16px);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* ============================================================
|
|
89
|
+
:root — CSS variables for shadcn/ui overrides
|
|
90
|
+
These are consumed by the @theme block above via var() references
|
|
91
|
+
and directly by shadcn components.
|
|
92
|
+
============================================================ */
|
|
93
|
+
:root {
|
|
94
|
+
/* Border radius base */
|
|
95
|
+
--radius: 0.625rem;
|
|
96
|
+
|
|
97
|
+
/* shadcn core variables — overridden for Potenlab brand */
|
|
98
|
+
--background: #FCFCFC;
|
|
99
|
+
--foreground: #000000;
|
|
100
|
+
--card: #FFFFFF;
|
|
101
|
+
--card-foreground: #000000;
|
|
102
|
+
--popover: #FFFFFF;
|
|
103
|
+
--popover-foreground: #000000;
|
|
104
|
+
--primary: #509594;
|
|
105
|
+
--primary-foreground: #FFFFFF;
|
|
106
|
+
--secondary: #EEF2F6;
|
|
107
|
+
--secondary-foreground: #000000;
|
|
108
|
+
--muted: #F9FAFC;
|
|
109
|
+
--muted-foreground: #5A5E6A;
|
|
110
|
+
--accent: #EEF2F6;
|
|
111
|
+
--accent-foreground: #000000;
|
|
112
|
+
--destructive: #EF4444;
|
|
113
|
+
--border: #E2E8F0;
|
|
114
|
+
--input: #E2E8F0;
|
|
115
|
+
--ring: #509594;
|
|
116
|
+
|
|
117
|
+
/* Charts (keep shadcn defaults) */
|
|
118
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
119
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
120
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
121
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
122
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
123
|
+
|
|
124
|
+
/* Sidebar */
|
|
125
|
+
--sidebar: #FFFFFF;
|
|
126
|
+
--sidebar-foreground: #000000;
|
|
127
|
+
--sidebar-primary: #509594;
|
|
128
|
+
--sidebar-primary-foreground: #FFFFFF;
|
|
129
|
+
--sidebar-accent: #EEF2F6;
|
|
130
|
+
--sidebar-accent-foreground: #000000;
|
|
131
|
+
--sidebar-border: #E2E8F0;
|
|
132
|
+
--sidebar-ring: #509594;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.dark {
|
|
136
|
+
--background: oklch(0.145 0 0);
|
|
137
|
+
--foreground: oklch(0.985 0 0);
|
|
138
|
+
--card: oklch(0.205 0 0);
|
|
139
|
+
--card-foreground: oklch(0.985 0 0);
|
|
140
|
+
--popover: oklch(0.205 0 0);
|
|
141
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
142
|
+
--primary: oklch(0.922 0 0);
|
|
143
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
144
|
+
--secondary: oklch(0.269 0 0);
|
|
145
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
146
|
+
--muted: oklch(0.269 0 0);
|
|
147
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
148
|
+
--accent: oklch(0.269 0 0);
|
|
149
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
150
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
151
|
+
--border: oklch(1 0 0 / 10%);
|
|
152
|
+
--input: oklch(1 0 0 / 15%);
|
|
153
|
+
--ring: oklch(0.556 0 0);
|
|
154
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
155
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
156
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
157
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
158
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
159
|
+
--sidebar: oklch(0.205 0 0);
|
|
160
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
161
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
162
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
163
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
164
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
165
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
166
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
167
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@potenlab/ui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Potenlab shared UI component library",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/potenlab/potenlab-library.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/potenlab/potenlab-library#readme",
|
|
11
|
+
"keywords": ["react", "ui", "components", "tailwindcss", "potenlab"],
|
|
12
|
+
"type": "module",
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"module": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"sideEffects": ["**/*.css"],
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"src/styles"
|
|
20
|
+
],
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"import": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"default": "./dist/index.js"
|
|
29
|
+
},
|
|
30
|
+
"require": {
|
|
31
|
+
"types": "./dist/index.d.cts",
|
|
32
|
+
"default": "./dist/index.cjs"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"./components/ui": {
|
|
36
|
+
"import": {
|
|
37
|
+
"types": "./dist/components/ui/index.d.ts",
|
|
38
|
+
"default": "./dist/components/ui/index.js"
|
|
39
|
+
},
|
|
40
|
+
"require": {
|
|
41
|
+
"types": "./dist/components/ui/index.d.cts",
|
|
42
|
+
"default": "./dist/components/ui/index.cjs"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"./components/common": {
|
|
46
|
+
"import": {
|
|
47
|
+
"types": "./dist/components/common/index.d.ts",
|
|
48
|
+
"default": "./dist/components/common/index.js"
|
|
49
|
+
},
|
|
50
|
+
"require": {
|
|
51
|
+
"types": "./dist/components/common/index.d.cts",
|
|
52
|
+
"default": "./dist/components/common/index.cjs"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"./components/layouts": {
|
|
56
|
+
"import": {
|
|
57
|
+
"types": "./dist/components/layouts/index.d.ts",
|
|
58
|
+
"default": "./dist/components/layouts/index.js"
|
|
59
|
+
},
|
|
60
|
+
"require": {
|
|
61
|
+
"types": "./dist/components/layouts/index.d.cts",
|
|
62
|
+
"default": "./dist/components/layouts/index.cjs"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"./hooks": {
|
|
66
|
+
"import": {
|
|
67
|
+
"types": "./dist/hooks/index.d.ts",
|
|
68
|
+
"default": "./dist/hooks/index.js"
|
|
69
|
+
},
|
|
70
|
+
"require": {
|
|
71
|
+
"types": "./dist/hooks/index.d.cts",
|
|
72
|
+
"default": "./dist/hooks/index.cjs"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"./lib": {
|
|
76
|
+
"import": {
|
|
77
|
+
"types": "./dist/lib/index.d.ts",
|
|
78
|
+
"default": "./dist/lib/index.js"
|
|
79
|
+
},
|
|
80
|
+
"require": {
|
|
81
|
+
"types": "./dist/lib/index.d.cts",
|
|
82
|
+
"default": "./dist/lib/index.cjs"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"./styles/globals.css": "./dist/styles/globals.css"
|
|
86
|
+
},
|
|
87
|
+
"scripts": {
|
|
88
|
+
"build": "tsup && mkdir -p dist/styles && cp src/styles/globals.css dist/styles/globals.css",
|
|
89
|
+
"dev": "tsup --watch",
|
|
90
|
+
"typecheck": "tsc --noEmit",
|
|
91
|
+
"storybook": "storybook dev -p 6006",
|
|
92
|
+
"build-storybook": "storybook build",
|
|
93
|
+
"release:patch": "npm version patch && bun run build && npm publish --access public",
|
|
94
|
+
"release:minor": "npm version minor && bun run build && npm publish --access public",
|
|
95
|
+
"release:major": "npm version major && bun run build && npm publish --access public"
|
|
96
|
+
},
|
|
97
|
+
"peerDependencies": {
|
|
98
|
+
"react": ">=18",
|
|
99
|
+
"react-dom": ">=18",
|
|
100
|
+
"tailwindcss": ">=4"
|
|
101
|
+
},
|
|
102
|
+
"peerDependenciesMeta": {
|
|
103
|
+
"next-themes": {
|
|
104
|
+
"optional": true
|
|
105
|
+
},
|
|
106
|
+
"@tanstack/react-table": {
|
|
107
|
+
"optional": true
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"dependencies": {
|
|
111
|
+
"class-variance-authority": "^0.7.1",
|
|
112
|
+
"clsx": "^2.1.1",
|
|
113
|
+
"lucide-react": "^0.576.0",
|
|
114
|
+
"radix-ui": "^1.4.3",
|
|
115
|
+
"sonner": "^2.0.7",
|
|
116
|
+
"tailwind-merge": "^3.5.0"
|
|
117
|
+
},
|
|
118
|
+
"devDependencies": {
|
|
119
|
+
"@storybook/addon-a11y": "^10.2.14",
|
|
120
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
121
|
+
"@storybook/blocks": "^8.6.14",
|
|
122
|
+
"@storybook/react": "^10.2.14",
|
|
123
|
+
"@storybook/react-vite": "^10.2.14",
|
|
124
|
+
"@tailwindcss/vite": "^4",
|
|
125
|
+
"@tanstack/react-table": "^8.21.3",
|
|
126
|
+
"@types/react": "^19",
|
|
127
|
+
"@types/react-dom": "^19",
|
|
128
|
+
"next-themes": "^0.4.6",
|
|
129
|
+
"react": "19.2.3",
|
|
130
|
+
"react-dom": "19.2.3",
|
|
131
|
+
"storybook": "^10.2.14",
|
|
132
|
+
"tailwindcss": "^4",
|
|
133
|
+
"tsup": "^8.5.0",
|
|
134
|
+
"tw-animate-css": "^1.4.0",
|
|
135
|
+
"typescript": "^5"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
@custom-variant dark (&:is(.dark *));
|
|
2
|
+
|
|
3
|
+
/* ============================================================
|
|
4
|
+
Tailwind CSS 4 @theme — Potenlab Design Tokens
|
|
5
|
+
All custom colors, fonts, and radii registered as first-class
|
|
6
|
+
Tailwind utilities (bg-primary, text-placeholder, font-pretendard, etc.)
|
|
7
|
+
============================================================ */
|
|
8
|
+
@theme inline {
|
|
9
|
+
/* ---------- shadcn/ui CSS-variable-backed colors ---------- */
|
|
10
|
+
--color-background: var(--background);
|
|
11
|
+
--color-foreground: var(--foreground);
|
|
12
|
+
--color-card: var(--card);
|
|
13
|
+
--color-card-foreground: var(--card-foreground);
|
|
14
|
+
--color-popover: var(--popover);
|
|
15
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
16
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
17
|
+
--color-secondary: var(--secondary);
|
|
18
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
19
|
+
--color-muted: var(--muted);
|
|
20
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
21
|
+
--color-accent: var(--accent);
|
|
22
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
23
|
+
--color-destructive: var(--destructive);
|
|
24
|
+
--color-ring: var(--ring);
|
|
25
|
+
--color-input: var(--input);
|
|
26
|
+
|
|
27
|
+
/* shadcn sidebar colors */
|
|
28
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
29
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
30
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
31
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
32
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
33
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
34
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
35
|
+
--color-sidebar: var(--sidebar);
|
|
36
|
+
|
|
37
|
+
/* shadcn chart colors */
|
|
38
|
+
--color-chart-5: var(--chart-5);
|
|
39
|
+
--color-chart-4: var(--chart-4);
|
|
40
|
+
--color-chart-3: var(--chart-3);
|
|
41
|
+
--color-chart-2: var(--chart-2);
|
|
42
|
+
--color-chart-1: var(--chart-1);
|
|
43
|
+
|
|
44
|
+
/* ---------- Potenlab brand colors (direct hex values) ---------- */
|
|
45
|
+
--color-primary: #509594;
|
|
46
|
+
--color-primary-hover: #3F7A79;
|
|
47
|
+
--color-primary-active: #357070;
|
|
48
|
+
--color-primary-light: #B9D5D4;
|
|
49
|
+
|
|
50
|
+
/* Backgrounds & surfaces */
|
|
51
|
+
--color-surface: #FFFFFF;
|
|
52
|
+
--color-border: #E2E8F0;
|
|
53
|
+
--color-divider: #EFF1F4;
|
|
54
|
+
--color-table-header: #F9FAFC;
|
|
55
|
+
--color-sidebar-selected: #EEF2F6;
|
|
56
|
+
|
|
57
|
+
/* Text colors */
|
|
58
|
+
--color-placeholder: #A0AEC0;
|
|
59
|
+
--color-subtitle: #9DA0A8;
|
|
60
|
+
--color-muted-fg: #5A5E6A;
|
|
61
|
+
--color-table-cell: #3B3F4A;
|
|
62
|
+
--color-inactive-tab-text: #1A202C;
|
|
63
|
+
|
|
64
|
+
/* Component-specific */
|
|
65
|
+
--color-inactive-tab: #EFF1F4;
|
|
66
|
+
--color-badge-green-bg: #C6F6D5;
|
|
67
|
+
--color-badge-green-text: #22543D;
|
|
68
|
+
--color-toggle-on: #3B82F6;
|
|
69
|
+
--color-toggle-off: #CBD5E0;
|
|
70
|
+
--color-delete-text: #3F7A79;
|
|
71
|
+
|
|
72
|
+
/* ---------- Font family tokens ---------- */
|
|
73
|
+
--font-pretendard: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
74
|
+
--font-inter: var(--font-inter-var, 'Inter'), 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
75
|
+
--font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
|
|
76
|
+
--font-sans: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
77
|
+
|
|
78
|
+
/* ---------- Border radii ---------- */
|
|
79
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
80
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
81
|
+
--radius-lg: var(--radius);
|
|
82
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
83
|
+
--radius-2xl: calc(var(--radius) + 8px);
|
|
84
|
+
--radius-3xl: calc(var(--radius) + 12px);
|
|
85
|
+
--radius-4xl: calc(var(--radius) + 16px);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* ============================================================
|
|
89
|
+
:root — CSS variables for shadcn/ui overrides
|
|
90
|
+
These are consumed by the @theme block above via var() references
|
|
91
|
+
and directly by shadcn components.
|
|
92
|
+
============================================================ */
|
|
93
|
+
:root {
|
|
94
|
+
/* Border radius base */
|
|
95
|
+
--radius: 0.625rem;
|
|
96
|
+
|
|
97
|
+
/* shadcn core variables — overridden for Potenlab brand */
|
|
98
|
+
--background: #FCFCFC;
|
|
99
|
+
--foreground: #000000;
|
|
100
|
+
--card: #FFFFFF;
|
|
101
|
+
--card-foreground: #000000;
|
|
102
|
+
--popover: #FFFFFF;
|
|
103
|
+
--popover-foreground: #000000;
|
|
104
|
+
--primary: #509594;
|
|
105
|
+
--primary-foreground: #FFFFFF;
|
|
106
|
+
--secondary: #EEF2F6;
|
|
107
|
+
--secondary-foreground: #000000;
|
|
108
|
+
--muted: #F9FAFC;
|
|
109
|
+
--muted-foreground: #5A5E6A;
|
|
110
|
+
--accent: #EEF2F6;
|
|
111
|
+
--accent-foreground: #000000;
|
|
112
|
+
--destructive: #EF4444;
|
|
113
|
+
--border: #E2E8F0;
|
|
114
|
+
--input: #E2E8F0;
|
|
115
|
+
--ring: #509594;
|
|
116
|
+
|
|
117
|
+
/* Charts (keep shadcn defaults) */
|
|
118
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
119
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
120
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
121
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
122
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
123
|
+
|
|
124
|
+
/* Sidebar */
|
|
125
|
+
--sidebar: #FFFFFF;
|
|
126
|
+
--sidebar-foreground: #000000;
|
|
127
|
+
--sidebar-primary: #509594;
|
|
128
|
+
--sidebar-primary-foreground: #FFFFFF;
|
|
129
|
+
--sidebar-accent: #EEF2F6;
|
|
130
|
+
--sidebar-accent-foreground: #000000;
|
|
131
|
+
--sidebar-border: #E2E8F0;
|
|
132
|
+
--sidebar-ring: #509594;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.dark {
|
|
136
|
+
--background: oklch(0.145 0 0);
|
|
137
|
+
--foreground: oklch(0.985 0 0);
|
|
138
|
+
--card: oklch(0.205 0 0);
|
|
139
|
+
--card-foreground: oklch(0.985 0 0);
|
|
140
|
+
--popover: oklch(0.205 0 0);
|
|
141
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
142
|
+
--primary: oklch(0.922 0 0);
|
|
143
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
144
|
+
--secondary: oklch(0.269 0 0);
|
|
145
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
146
|
+
--muted: oklch(0.269 0 0);
|
|
147
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
148
|
+
--accent: oklch(0.269 0 0);
|
|
149
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
150
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
151
|
+
--border: oklch(1 0 0 / 10%);
|
|
152
|
+
--input: oklch(1 0 0 / 15%);
|
|
153
|
+
--ring: oklch(0.556 0 0);
|
|
154
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
155
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
156
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
157
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
158
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
159
|
+
--sidebar: oklch(0.205 0 0);
|
|
160
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
161
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
162
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
163
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
164
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
165
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
166
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
167
|
+
}
|