2025-01-31 19:37:17 +02:00
|
|
|
@import 'tailwindcss';
|
|
|
|
|
|
|
|
@config '../tailwind.config.ts';
|
|
|
|
|
|
|
|
/*
|
|
|
|
The default border color has changed to `currentColor` in Tailwind CSS v4,
|
|
|
|
so we've added these compatibility styles to make sure everything still
|
|
|
|
looks the same as it did with Tailwind CSS v3.
|
|
|
|
|
|
|
|
If we ever want to remove these styles, we need to add an explicit border
|
|
|
|
color utility to any element that depends on these defaults.
|
|
|
|
*/
|
|
|
|
@layer base {
|
|
|
|
*,
|
|
|
|
::after,
|
|
|
|
::before,
|
|
|
|
::backdrop,
|
|
|
|
::file-selector-button {
|
|
|
|
border-color: var(--color-gray-200, currentColor);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@utility shadow-sharp {
|
|
|
|
box-shadow: hsl(var(--primary)) 4px 3px 0px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
box-shadow: hsl(var(--primary)) 2px 1px 0px;
|
|
|
|
translate: 2px 1px;
|
|
|
|
}
|
|
|
|
&.pressed {
|
|
|
|
box-shadow: hsl(var(--primary)) 2px 1px 0px;
|
|
|
|
translate: 2px 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@utility container {
|
|
|
|
margin-inline: auto;
|
|
|
|
padding-inline: 2rem;
|
|
|
|
}
|
2025-01-18 23:17:25 +02:00
|
|
|
|
|
|
|
@layer base {
|
2025-01-21 17:39:17 +02:00
|
|
|
:root {
|
|
|
|
--background: 0 0% 100%;
|
|
|
|
--foreground: 20 14.3% 4.1%;
|
|
|
|
--muted: 60 4.8% 95.9%;
|
|
|
|
--muted-foreground: 25 5.3% 44.7%;
|
|
|
|
--popover: 0 0% 100%;
|
|
|
|
--popover-foreground: 20 14.3% 4.1%;
|
|
|
|
--card: 0 0% 100%;
|
|
|
|
--card-foreground: 20 14.3% 4.1%;
|
|
|
|
--border: 20 5.9% 90%;
|
|
|
|
--input: 20 5.9% 90%;
|
|
|
|
--primary: 24 9.8% 10%;
|
|
|
|
--primary-foreground: 60 9.1% 94%;
|
|
|
|
--secondary: 60 4.8% 95.9%;
|
|
|
|
--secondary-foreground: 24 9.8% 10%;
|
|
|
|
--accent: 60 4.8% 95.9%;
|
|
|
|
--accent-foreground: 24 9.8% 10%;
|
|
|
|
--destructive: 0 72.2% 50.6%;
|
|
|
|
--destructive-foreground: 60 9.1% 94%;
|
|
|
|
--ring: 20 14.3% 4.1%;
|
|
|
|
--radius: 0.5rem;
|
|
|
|
--sidebar-background: 0 0% 98%;
|
|
|
|
--sidebar-foreground: 240 5.3% 26.1%;
|
|
|
|
--sidebar-primary: 240 5.9% 10%;
|
|
|
|
--sidebar-primary-foreground: 0 0% 98%;
|
|
|
|
--sidebar-accent: 240 4.8% 95.9%;
|
|
|
|
--sidebar-accent-foreground: 240 5.9% 10%;
|
|
|
|
--sidebar-border: 220 13% 91%;
|
|
|
|
--sidebar-ring: 217.2 91.2% 59.8%;
|
|
|
|
}
|
2025-01-18 23:17:25 +02:00
|
|
|
|
2025-01-21 17:39:17 +02:00
|
|
|
.dark {
|
|
|
|
--background: 20 14.3% 4.1%;
|
|
|
|
--foreground: 60 9.1% 94%;
|
|
|
|
--muted: 12 6.5% 15.1%;
|
|
|
|
--muted-foreground: 24 5.4% 63.9%;
|
|
|
|
--popover: 20 14.3% 4.1%;
|
|
|
|
--popover-foreground: 60 9.1% 94%;
|
|
|
|
--card: 20 14.3% 4.1%;
|
|
|
|
--card-foreground: 60 9.1% 94%;
|
|
|
|
--border: 12 6.5% 15.1%;
|
|
|
|
--input: 12 6.5% 15.1%;
|
|
|
|
--primary: 60 9.1% 94%;
|
|
|
|
--primary-foreground: 24 9.8% 10%;
|
|
|
|
--secondary: 12 6.5% 15.1%;
|
|
|
|
--secondary-foreground: 60 9.1% 94%;
|
|
|
|
--accent: 12 6.5% 15.1%;
|
|
|
|
--accent-foreground: 60 9.1% 94%;
|
|
|
|
--destructive: 0 62.8% 30.6%;
|
|
|
|
--destructive-foreground: 60 9.1% 94%;
|
|
|
|
--ring: 24 5.7% 82.9%;
|
|
|
|
--sidebar-background: 240 5.9% 10%;
|
|
|
|
--sidebar-foreground: 240 4.8% 95.9%;
|
|
|
|
--sidebar-primary: 224.3 76.3% 48%;
|
|
|
|
--sidebar-primary-foreground: 0 0% 100%;
|
|
|
|
--sidebar-accent: 240 3.7% 15.9%;
|
|
|
|
--sidebar-accent-foreground: 240 4.8% 95.9%;
|
|
|
|
--sidebar-border: 240 3.7% 15.9%;
|
|
|
|
--sidebar-ring: 217.2 91.2% 59.8%;
|
|
|
|
}
|
2025-01-18 23:17:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@layer base {
|
2025-01-21 17:39:17 +02:00
|
|
|
* {
|
|
|
|
@apply border-border;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
@apply bg-background text-foreground;
|
|
|
|
}
|
|
|
|
}
|