+
)
diff --git a/src/renderer/src/pages/settings/layout.tsx b/src/renderer/src/pages/settings/layout.tsx
index ad766d4a4..374ae4188 100644
--- a/src/renderer/src/pages/settings/layout.tsx
+++ b/src/renderer/src/pages/settings/layout.tsx
@@ -19,8 +19,8 @@ export function Component() {
{settingTabs.map((t) => (
@@ -28,7 +28,7 @@ export function Component() {
))}
-
diff --git a/src/renderer/src/styles/colors.css b/src/renderer/src/styles/colors.css
index 12680fad5..2d543739e 100644
--- a/src/renderer/src/styles/colors.css
+++ b/src/renderer/src/styles/colors.css
@@ -1,35 +1,34 @@
:root {
- --fo-vibrancy-foreground: theme(colors.zinc.500);
--fo-vibrancy-background: theme(colors.native.active);
+ --fo-vibrancy-foreground: 0, 0%, 50%;
+ --fo-text-primary: 0, 0%, 10%;
+
+ /* TODO replace with own color */
+ --fo-background: theme(colors.background);
+
+ --fo-tooltip-background: 0, 0%, 95%;
+ --fo-tooltip-foreground: 0, 0%, 10%;
+
+ --fo-inactive: 0, 0%, 80%;
+ --fo-disabled: 0, 0%, 70%;
--fo-item-active: theme(colors.native.active/0.4);
--fo-item-hover: theme(colors.native.active/0.2);
-
- --fo-tooltip-background: theme(colors.zinc.50);
- --fo-tooltip-foreground: theme(colors.neutral.950);
-
- --fo-inactive: theme(colors.zinc.200);
- --fo-disabled: theme(colors.zinc.300);
-
- --fo-text-primary: theme(colors.neutral.950);
- /* TODO replace with own color */
- --fo-background: theme(colors.background);
}
[data-theme="dark"] {
- --fo-vibrancy-foreground: theme(colors.zinc.400);
- /* --fo-vibrancy-background: theme(colors.zinc.600/10); */
+ --fo-vibrancy-foreground: 0, 0%, 63%;
+
--fo-vibrancy-background: theme(colors.native.active);
--fo-item-active: theme(colors.neutral.700/0.4);
--fo-item-hover: theme(colors.native.active/0.2);
+ --fo-tooltip-background: 0, 0%, 15%;
+ --fo-tooltip-foreground: 0, 0%, 96%;
- --fo-tooltip-background: theme(colors.zinc.800);
- --fo-tooltip-foreground: theme(colors.zinc.100);
+ --fo-inactive: 0, 0%, 50%;
+ --fo-disabled: 0, 0%, 35%;
- --fo-inactive: theme(colors.zinc.500);
- --fo-disabled: theme(colors.zinc.600);
-
- --fo-text-primary: theme(colors.zinc.200);
+ --fo-text-primary: 0, 0%, 80%;
--fo-background: theme(colors.background);
}
diff --git a/src/renderer/src/styles/tailwind.css b/src/renderer/src/styles/tailwind.css
index fe050df08..203f337ff 100644
--- a/src/renderer/src/styles/tailwind.css
+++ b/src/renderer/src/styles/tailwind.css
@@ -32,13 +32,13 @@
--input: 240 5.9% 90%;
--ring: 240 5.9% 10%;
- --native: 30 3.2% 87.8%;
- --native-active: 60 1.8% 78.4%;
+ --native: 240 1.6% 87.6%;
+ --native-active: 240 0.9% 78.2%;
--radius: 0.5rem;
}
[data-theme="dark"] {
- --background: 0, 0%, 11.8%;
+ --background: 0 0% 11.8%;
--foreground: 0 0% 98%;
--card: 240 10% 3.9%;
@@ -76,6 +76,6 @@
@apply border-border;
}
body {
- @apply text-foreground/75;
+ @apply text-theme-foreground;
}
}
diff --git a/tailwind.config.ts b/tailwind.config.ts
index f693bf6b4..d5c7b210e 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -31,42 +31,42 @@ export default resolveConfig({
theme: "var(--fo-font-family)",
},
colors: {
- border: "hsl(var(--border))",
- input: "hsl(var(--input))",
- ring: "hsl(var(--ring))",
- background: "hsl(var(--background))",
- foreground: "hsl(var(--foreground))",
+ border: "hsl(var(--border) /
)",
+ input: "hsl(var(--input) / )",
+ ring: "hsl(var(--ring) / )",
+ background: "hsl(var(--background) / )",
+ foreground: "hsl(var(--foreground) / )",
primary: {
- DEFAULT: "hsl(var(--primary))",
- foreground: "hsl(var(--primary-foreground))",
+ DEFAULT: "hsl(var(--primary) / )",
+ foreground: "hsl(var(--primary-foreground) / )",
},
secondary: {
- DEFAULT: "hsl(var(--secondary))",
- foreground: "hsl(var(--secondary-foreground))",
+ DEFAULT: "hsl(var(--secondary) / )",
+ foreground: "hsl(var(--secondary-foreground) / )",
},
destructive: {
- DEFAULT: "hsl(var(--destructive))",
- foreground: "hsl(var(--destructive-foreground))",
+ DEFAULT: "hsl(var(--destructive) / )",
+ foreground: "hsl(var(--destructive-foreground) / )",
},
muted: {
- DEFAULT: "hsl(var(--muted))",
- foreground: "hsl(var(--muted-foreground))",
+ DEFAULT: "hsl(var(--muted) / )",
+ foreground: "hsl(var(--muted-foreground) / )",
},
accent: {
- DEFAULT: "hsl(var(--accent))",
- foreground: "hsl(var(--accent-foreground))",
+ DEFAULT: "hsl(var(--accent) / )",
+ foreground: "hsl(var(--accent-foreground) / )",
},
popover: {
- DEFAULT: "hsl(var(--popover))",
- foreground: "hsl(var(--popover-foreground))",
+ DEFAULT: "hsl(var(--popover) / )",
+ foreground: "hsl(var(--popover-foreground) / )",
},
card: {
- DEFAULT: "hsl(var(--card))",
- foreground: "hsl(var(--card-foreground))",
+ DEFAULT: "hsl(var(--card) / )",
+ foreground: "hsl(var(--card-foreground) / )",
},
native: {
- DEFAULT: "hsl(var(--native))",
- active: "hsl(var(--native-active))",
+ DEFAULT: "hsl(var(--native) / )",
+ active: "hsl(var(--native-active) / )",
},
theme: {
@@ -86,7 +86,7 @@ export default resolveConfig({
950: "#461304",
},
- vibrancyFg: "var(--fo-vibrancy-foreground)",
+ vibrancyFg: "hsl(var(--fo-vibrancy-foreground), )",
vibrancyBg: "var(--fo-vibrancy-background)",
item: {
@@ -95,14 +95,14 @@ export default resolveConfig({
},
tooltip: {
- background: "var(--fo-tooltip-background)",
- foreground: "var(--fo-tooltip-foreground)",
+ background: "hsl(var(--fo-tooltip-background), )",
+ foreground: "hsl(var(--fo-tooltip-foreground), )",
},
- inactive: "var(--fo-inactive)",
- disabled: "var(--fo-disabled)",
+ inactive: "hsl(var(--fo-inactive), )",
+ disabled: "hsl(var(--fo-disabled), )",
- foreground: "var(--fo-text-foreground)",
+ foreground: "hsl(var(--fo-text-primary), )",
background: "var(--fo-background)",
},
},