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", "name": "@foomo/ui",
"version": "0.0.3", "version": "0.0.5",
"type": "module", "type": "module",
"files": [ "files": [
"dist", "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"; @import "tw-animate-css";
@plugin "@tailwindcss/typography"; @plugin "@tailwindcss/typography";
@ -111,11 +113,11 @@
--sidebar-ring: oklch(0.556 0 0); --sidebar-ring: oklch(0.556 0 0);
} }
@layer base { /* @layer base { */
* { /* * { */
@apply border-border outline-ring/50; /* @apply border-border outline-ring/50; */
} /* } */
body { /* body { */
@apply bg-background text-foreground; /* @apply bg-background text-foreground; */
} /* } */
} /* } */

View File

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