Skip to content

Commit f3c31ec

Browse files
feat(database-ui): add shadcn and tailwind to studio frontend
1 parent 28a88f4 commit f3c31ec

File tree

23 files changed

+1414
-226
lines changed

23 files changed

+1414
-226
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.js",
8+
"css": "src/index.css",
9+
"baseColor": "zinc",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"iconLibrary": "lucide",
14+
"aliases": {
15+
"components": "@/components",
16+
"utils": "@/lib/utils",
17+
"ui": "@/components/ui",
18+
"lib": "@/lib",
19+
"hooks": "@/hooks"
20+
},
21+
"registries": {}
22+
}

packages/cli/src/projects/db-studio/ui/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!doctype html>
2-
<html lang="en">
2+
<html lang="en" class="dark">
33
<head>
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>elide-db-studio</title>
7+
<title>Elide Database Studio</title>
88
</head>
99
<body>
1010
<div id="root"></div>

packages/cli/src/projects/db-studio/ui/package.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,32 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13+
"@radix-ui/react-slot": "^1.2.3",
14+
"@tailwindcss/vite": "^4.1.16",
15+
"@tanstack/react-query": "^5.90.5",
16+
"class-variance-authority": "^0.7.1",
17+
"clsx": "^2.1.1",
18+
"lucide-react": "^0.548.0",
1319
"react": "^19.1.1",
14-
"react-dom": "^19.1.1"
20+
"react-dom": "^19.1.1",
21+
"react-router-dom": "^7.9.4",
22+
"tailwind-merge": "^3.3.1"
1523
},
1624
"devDependencies": {
1725
"@eslint/js": "^9.36.0",
18-
"@types/node": "^24.6.0",
26+
"@tanstack/eslint-plugin-query": "^5.91.2",
27+
"@types/node": "^24.9.1",
1928
"@types/react": "^19.1.16",
2029
"@types/react-dom": "^19.1.9",
2130
"@vitejs/plugin-react-swc": "^4.1.0",
31+
"autoprefixer": "^10.4.21",
2232
"eslint": "^9.36.0",
2333
"eslint-plugin-react-hooks": "^5.2.0",
2434
"eslint-plugin-react-refresh": "^0.4.22",
2535
"globals": "^16.4.0",
36+
"postcss": "^8.5.6",
37+
"tailwindcss": "^4.1.16",
38+
"tw-animate-css": "^1.4.0",
2639
"typescript": "~5.9.3",
2740
"typescript-eslint": "^8.45.0",
2841
"vite": "^7.1.7"

0 commit comments

Comments
 (0)