Skip to content

Commit f94aa31

Browse files
committed
feat: dark主题的primary颜色设置为绿色
1 parent e69050d commit f94aa31

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ export default function App() {
332332
<Button
333333
key={project.uri.toString()}
334334
variant={activeProject?.uri.toString() === project.uri.toString() ? "secondary" : "outline"}
335+
className={activeProject?.uri.toString() === project.uri.toString() ? "border-primary border-t-2" : ""}
335336
onClick={() => {
336337
setActiveProject(project);
337338
}}

app/src/themes/dark.pg-theme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ card: oklch(0.205 0 0)
1515
card-foreground: oklch(0.985 0 0)
1616
popover: oklch(0.205 0 0)
1717
popover-foreground: oklch(0.985 0 0)
18-
primary: oklch(0.362 0 0)
18+
primary: oklch(0.696 0.17 162.48)
1919
primary-foreground: oklch(0.985 0 0)
2020
secondary: oklch(0.269 0 0)
2121
secondary-foreground: oklch(0.985 0 0)
@@ -26,7 +26,7 @@ accent-foreground: oklch(0.985 0 0)
2626
destructive: oklch(0.704 0.191 22.216)
2727
border: oklch(1 0 0 / 10%)
2828
input: oklch(1 0 0 / 15%)
29-
ring: oklch(0.556 0 0)
29+
ring: oklch(0.596 0.17 162.48)
3030
chart-1: oklch(0.488 0.243 264.376)
3131
chart-2: oklch(0.696 0.17 162.48)
3232
chart-3: oklch(0.769 0.188 70.08)

0 commit comments

Comments
 (0)