fix(tailwindcss): tailwindcss works with vite, no custom theme

This commit is contained in:
JK-le-dev 2025-10-18 14:44:28 -05:00
commit 74ec515658
9 changed files with 36 additions and 118 deletions

View file

@ -1,16 +1,14 @@
@import "./styles/theme.css" layer(theme);
@import "tailwindcss";
@layer theme, components;
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
margin: 0;
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
"Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: rgba(var(--background));
}
@theme {
--color-primary: 15, 40, 98;
--color-secondary: 79, 95, 118;
--color-accent: 158, 54, 58;
--color-paragraph: 255, 255, 255;
--color-background: 9, 31, 54;
}