From cd2469f983cb17e2322677ff2bbf6058a946bd63 Mon Sep 17 00:00:00 2001 From: Josep Jaume Rey Peroy Date: Wed, 22 May 2024 16:17:34 +0200 Subject: [PATCH] Fix config not to include reset --- lib/shadcn/button.tsx | 2 +- tailwind.config.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/shadcn/button.tsx b/lib/shadcn/button.tsx index 5e609608d..e33e7a128 100644 --- a/lib/shadcn/button.tsx +++ b/lib/shadcn/button.tsx @@ -24,7 +24,7 @@ const buttonVariants = cva( secondary: "border-2 border-secondary-intermediate bg-background text-secondary-foreground hover:bg-secondary", outline: - "border-solid border-2 border-secondary-intermediate bg-background text-secondary-foreground hover:bg-secondary", + "border-2 border-solid border-secondary-intermediate bg-background text-secondary-foreground hover:bg-secondary", destructive: "border-2 border-destructive-intermediate bg-destructive text-destructive-foreground hover:bg-destructive/70", positive: diff --git a/tailwind.config.ts b/tailwind.config.ts index 68f6d5316..61398c53f 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -2,6 +2,9 @@ import type { Config } from "tailwindcss" export default { darkMode: ["class"], + corePlugins: { + preflight: false, + }, content: [ "./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}",