done language switching

This commit is contained in:
2024-04-07 11:11:04 +02:00
parent 00daf4222a
commit d5026cfc05
28 changed files with 1650 additions and 96 deletions

71
src/style/globals.css Normal file
View File

@ -0,0 +1,71 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 47.4% 11.2%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--card: 0 0% 100%;
--card-foreground: 222.2 47.4% 11.2%;
--primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%;
--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
--destructive: 0 100% 50%;
--destructive-foreground: 210 40% 98%;
--ring: 215 20.2% 65.1%;
--radius: 0.5rem;
}
.dark {
--background: 224 71% 4%;
--foreground: 213 31% 91%;
--muted: 223 47% 11%;
--muted-foreground: 215.4 16.3% 56.9%;
--accent: 216 34% 17%;
--accent-foreground: 210 40% 98%;
--popover: 224 71% 4%;
--popover-foreground: 215 20.2% 65.1%;
--border: 216 34% 17%;
--input: 216 34% 17%;
--card: 224 71% 4%;
--card-foreground: 213 31% 91%;
--primary: 210 40% 98%;
--primary-foreground: 222.2 47.4% 1.2%;
--secondary: 222.2 47.4% 11.2%;
--secondary-foreground: 210 40% 98%;
--destructive: 0 63% 31%;
--destructive-foreground: 210 40% 98%;
--ring: 216 34% 17%;
--radius: 0.5rem;
}
}

View File

@ -8,6 +8,7 @@ Dark Mode: https://www.realtimecolors.com/dashboard?colors=e7e7e9-0f0f0f-5819c5
@layer base {
:root {
--color-bkg: 0deg, 0%, 94%;
--color-bkgNavbar: 0deg, 0%, 50%;
--color-content: 240deg, 4%, 9%;
--color-primary: 54deg, 100%, 50%;
--color-secondary: 237deg, 100%, 93%;
@ -18,6 +19,7 @@ Dark Mode: https://www.realtimecolors.com/dashboard?colors=e7e7e9-0f0f0f-5819c5
@media (prefers-color-scheme: dark) {
:root {
--color-bkg: 0deg, 0%, 6%;
--color-bkgNavbar: 0deg, 0%, 17%;
--color-content: 240deg, 4%, 91%;
--color-primary: 262deg, 77%, 44%;
--color-secondary: 273deg, 100%, 20%;
@ -28,6 +30,7 @@ Dark Mode: https://www.realtimecolors.com/dashboard?colors=e7e7e9-0f0f0f-5819c5
:root[data-theme="dark"] {
--color-bkg: 0deg, 0%, 6%;
--color-bkgNavbar: 0deg, 0%, 17%;
--color-content: 240deg, 4%, 91%;
--color-primary: 262deg, 77%, 44%;
--color-secondary: 273deg, 100%, 20%;
@ -37,6 +40,7 @@ Dark Mode: https://www.realtimecolors.com/dashboard?colors=e7e7e9-0f0f0f-5819c5
:root[data-theme="light"] {
--color-bkg: 0deg, 0%, 94%;
--color-bkgNavbar: 0deg, 0%, 50%;
--color-content: 240deg, 4%, 9%;
--color-primary: 54deg, 100%, 50%;
--color-secondary: 237deg, 100%, 93%;