fix: css tailwind layers

This commit is contained in:
Wlad Meixner 2025-08-27 09:01:23 +02:00
parent ce95ec2a3c
commit 310e821a55
No known key found for this signature in database
3 changed files with 13 additions and 10 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@foomo/ui",
"version": "0.0.3",
"version": "0.0.5",
"type": "module",
"files": [
"dist",

View File

@ -1,4 +1,6 @@
@import "tailwindcss";
@import "tailwindcss/theme.css";
@import "tailwindcss/preflight.css";
@import "tailwindcss/utilities.css";
@import "tw-animate-css";
@plugin "@tailwindcss/typography";
@ -111,11 +113,11 @@
--sidebar-ring: oklch(0.556 0 0);
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
}
}
/* @layer base { */
/* * { */
/* @apply border-border outline-ring/50; */
/* } */
/* body { */
/* @apply bg-background text-foreground; */
/* } */
/* } */

View File

@ -65,6 +65,7 @@ export default defineConfig({
cssCodeSplit: false,
rollupOptions: {
external: [
"react/jsx-runtime",
...Object.keys(pkg.dependencies || {}),
...Object.keys(pkg.peerDependencies || {}),
],