From 60f0e98476ca646a90bc41f122321e91bf48cb1e Mon Sep 17 00:00:00 2001 From: arraysid Date: Wed, 28 May 2025 00:49:54 +0700 Subject: [PATCH] feat: add base styles for borders and background to improve UI consistency --- libs/shadcn-ui/src/index.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libs/shadcn-ui/src/index.css b/libs/shadcn-ui/src/index.css index 2010ef1..607f2b7 100644 --- a/libs/shadcn-ui/src/index.css +++ b/libs/shadcn-ui/src/index.css @@ -140,6 +140,15 @@ --sidebar-ring: oklch(0.623 0.214 259.815); } +@layer base { + * { + @apply border-border outline-ring/50; + } + body { + @apply bg-background text-foreground; + } +} + /* https://github.com/tailwindlabs/tailwindcss/issues/13129 */ .container { margin-left: auto;