fix(tailwindcss): tailwindcss works with vite, no custom theme
This commit is contained in:
parent
57560e7a21
commit
74ec515658
9 changed files with 36 additions and 118 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue