mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-16 21:30:39 -07:00
- Replaced direct imports of Tailwind CSS with @tailwind directives for base, components, and utilities. - Improved organization of global styles for better maintainability and adherence to Tailwind CSS conventions.
74 lines
1.7 KiB
CSS
74 lines
1.7 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
:root {
|
|
--background: 0 0% 100%;
|
|
--foreground: 0 0% 0%;
|
|
--card: 0 0% 100%;
|
|
--card-foreground: 0 0% 0%;
|
|
--popover: 0 0% 100%;
|
|
--popover-foreground: 0 0% 0%;
|
|
--primary: 0 0% 0%;
|
|
--primary-foreground: 0 0% 100%;
|
|
--secondary: 0 0% 96%;
|
|
--secondary-foreground: 0 0% 0%;
|
|
--muted: 0 0% 96%;
|
|
--muted-foreground: 0 0% 45%;
|
|
--accent: 0 0% 96%;
|
|
--accent-foreground: 0 0% 0%;
|
|
--destructive: 0 0% 0%;
|
|
--destructive-foreground: 0 0% 100%;
|
|
--border: 0 0% 90%;
|
|
--input: 0 0% 90%;
|
|
--ring: 0 0% 0%;
|
|
--radius: 0.5rem;
|
|
}
|
|
|
|
.dark {
|
|
--background: 0 0% 3%;
|
|
--foreground: 0 0% 98%;
|
|
--card: 0 0% 8% / 0.6;
|
|
--card-foreground: 0 0% 98%;
|
|
--popover: 0 0% 8% / 0.8;
|
|
--popover-foreground: 0 0% 98%;
|
|
--primary: 0 0% 98%;
|
|
--primary-foreground: 0 0% 8%;
|
|
--secondary: 0 0% 12% / 0.5;
|
|
--secondary-foreground: 0 0% 98%;
|
|
--muted: 0 0% 12% / 0.4;
|
|
--muted-foreground: 0 0% 65%;
|
|
--accent: 0 0% 15% / 0.5;
|
|
--accent-foreground: 0 0% 98%;
|
|
--destructive: 0 62% 50%;
|
|
--destructive-foreground: 0 0% 98%;
|
|
--border: 0 0% 15% / 0.5;
|
|
--input: 0 0% 15% / 0.5;
|
|
--ring: 0 0% 98% / 0.2;
|
|
--radius: 1rem;
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
html {
|
|
overflow-x: hidden;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground antialiased;
|
|
overflow-x: hidden;
|
|
background-image:
|
|
radial-gradient(at 0% 0%, rgba(255, 255, 255, 0.03) 0px, transparent 50%),
|
|
radial-gradient(at 100% 100%, rgba(255, 255, 255, 0.02) 0px, transparent 50%);
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
.text-balance {
|
|
text-wrap: balance;
|
|
}
|
|
}
|