Skip to content

Commit 08ae2e0

Browse files
committed
fix: ui
1 parent 76eda40 commit 08ae2e0

File tree

17 files changed

+1063
-223
lines changed

17 files changed

+1063
-223
lines changed

app/globals.css

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
@import "tailwindcss";
2+
@import "tw-animate-css";
3+
4+
@custom-variant dark (&:is(.dark *));
5+
6+
:root {
7+
--background: oklch(0.12 0 0);
8+
--foreground: oklch(0.95 0 0);
9+
--card: oklch(0.15 0 0);
10+
--card-foreground: oklch(0.95 0 0);
11+
--popover: oklch(0.18 0 0);
12+
--popover-foreground: oklch(0.95 0 0);
13+
--primary: oklch(0.75 0.15 220);
14+
--primary-foreground: oklch(0.12 0 0);
15+
--secondary: oklch(0.22 0 0);
16+
--secondary-foreground: oklch(0.95 0 0);
17+
--muted: oklch(0.25 0 0);
18+
--muted-foreground: oklch(0.55 0 0);
19+
--accent: oklch(0.28 0 0);
20+
--accent-foreground: oklch(0.95 0 0);
21+
--destructive: oklch(0.55 0.22 25);
22+
--destructive-foreground: oklch(0.95 0 0);
23+
--border: oklch(0.25 0 0);
24+
--input: oklch(0.22 0 0);
25+
--ring: oklch(0.75 0.15 220);
26+
--radius: 0.375rem;
27+
--sidebar: oklch(0.1 0 0);
28+
--sidebar-foreground: oklch(0.85 0 0);
29+
--sidebar-primary: oklch(0.75 0.15 220);
30+
--sidebar-primary-foreground: oklch(0.12 0 0);
31+
--sidebar-accent: oklch(0.18 0 0);
32+
--sidebar-accent-foreground: oklch(0.95 0 0);
33+
--sidebar-border: oklch(0.2 0 0);
34+
--sidebar-ring: oklch(0.75 0.15 220);
35+
--success: oklch(0.65 0.18 150);
36+
--warning: oklch(0.75 0.18 85);
37+
--editor-bg: oklch(0.14 0 0);
38+
--editor-line: oklch(0.18 0 0);
39+
}
40+
41+
@theme inline {
42+
--font-sans: var(--font-geist-sans);
43+
--font-mono: var(--font-geist-mono);
44+
--color-background: var(--background);
45+
--color-foreground: var(--foreground);
46+
--color-card: var(--card);
47+
--color-card-foreground: var(--card-foreground);
48+
--color-popover: var(--popover);
49+
--color-popover-foreground: var(--popover-foreground);
50+
--color-primary: var(--primary);
51+
--color-primary-foreground: var(--primary-foreground);
52+
--color-secondary: var(--secondary);
53+
--color-secondary-foreground: var(--secondary-foreground);
54+
--color-muted: var(--muted);
55+
--color-muted-foreground: var(--muted-foreground);
56+
--color-accent: var(--accent);
57+
--color-accent-foreground: var(--accent-foreground);
58+
--color-destructive: var(--destructive);
59+
--color-destructive-foreground: var(--destructive-foreground);
60+
--color-border: var(--border);
61+
--color-input: var(--input);
62+
--color-ring: var(--ring);
63+
--radius-sm: calc(var(--radius) - 4px);
64+
--radius-md: calc(var(--radius) - 2px);
65+
--radius-lg: var(--radius);
66+
--radius-xl: calc(var(--radius) + 4px);
67+
--color-sidebar: var(--sidebar);
68+
--color-sidebar-foreground: var(--sidebar-foreground);
69+
--color-sidebar-primary: var(--sidebar-primary);
70+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
71+
--color-sidebar-accent: var(--sidebar-accent);
72+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
73+
--color-sidebar-border: var(--sidebar-border);
74+
--color-sidebar-ring: var(--sidebar-ring);
75+
--color-success: var(--success);
76+
--color-warning: var(--warning);
77+
--color-editor-bg: var(--editor-bg);
78+
--color-editor-line: var(--editor-line);
79+
}
80+
81+
@layer base {
82+
* {
83+
@apply border-border outline-ring/50;
84+
}
85+
body {
86+
@apply bg-background text-foreground;
87+
}
88+
}

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8-
"build": "tsc --noEmit && vite build",
8+
"build": "tsc && vite build",
99
"preview": "vite preview",
10-
"tauri": "tauri",
11-
"clean": "rm -rf node_modules dist .vite"
10+
"tauri": "tauri"
1211
},
1312
"dependencies": {
1413
"@monaco-editor/react": "^4.6.0",
15-
"@radix-ui/react-dialog": "^1.1.2",
14+
"@radix-ui/react-dialog": "^1.1.4",
1615
"@radix-ui/react-label": "^2.1.1",
1716
"@radix-ui/react-slot": "^1.1.1",
18-
"@radix-ui/react-tabs": "^1.1.1",
17+
"@radix-ui/react-tabs": "^1.1.2",
1918
"@tauri-apps/api": "^2",
2019
"@tauri-apps/plugin-opener": "^2",
2120
"class-variance-authority": "^0.7.1",
@@ -26,8 +25,7 @@
2625
"react": "^19.1.0",
2726
"react-dom": "^19.1.0",
2827
"react-use": "^17.6.0",
29-
"tailwind-merge": "^3.3.1",
30-
"tw-animate-css": "^1.4.0"
28+
"tailwind-merge": "^3.3.1"
3129
},
3230
"devDependencies": {
3331
"@tailwindcss/vite": "^4.1.13",
@@ -36,6 +34,7 @@
3634
"@types/react-dom": "^19.1.6",
3735
"@vitejs/plugin-react": "^4.6.0",
3836
"tailwindcss": "^4.1.13",
37+
"tw-animate-css": "^1.3.3",
3938
"typescript": "~5.8.3",
4039
"vite": "^7.0.4"
4140
}

src-tauri/project_db/db

0 Bytes
Binary file not shown.
-127 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)