From dc08097404786a7c813969d131f7a86550b605e3 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Mon, 3 Mar 2025 21:10:39 -0600 Subject: [PATCH] fix(colors): 6832 - Update `destructive-foreground` color to avoid overlap Changes the `destructive-foreground` CSS variable to the correct color to prevent it from matching the `destructive` color, ensuring better visual differentiation. Fixes #6832 --- apps/v4/app/globals.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/v4/app/globals.css b/apps/v4/app/globals.css index 238c4b6ae40..8ef4a2d2709 100644 --- a/apps/v4/app/globals.css +++ b/apps/v4/app/globals.css @@ -20,7 +20,7 @@ --accent: oklch(0.97 0 0); --accent-foreground: oklch(0.205 0 0); --destructive: oklch(0.577 0.245 27.325); - --destructive-foreground: oklch(0.577 0.245 27.325); + --destructive-foreground: oklch(0.985 0 0); --border: oklch(0.922 0 0); --input: oklch(0.922 0 0); --ring: oklch(0.708 0 0); @@ -56,7 +56,7 @@ --accent: oklch(0.269 0 0); --accent-foreground: oklch(0.985 0 0); --destructive: oklch(0.396 0.141 25.723); - --destructive-foreground: oklch(0.637 0.237 25.331); + --destructive-foreground: oklch(0.985 0 0); --border: oklch(0.269 0 0); --input: oklch(0.269 0 0); --ring: oklch(0.556 0 0); @@ -174,6 +174,7 @@ from { height: 0; } + to { height: var(--radix-accordion-content-height); } @@ -183,6 +184,7 @@ from { height: var(--radix-accordion-content-height); } + to { height: 0; } @@ -193,7 +195,8 @@ * { @apply border-border outline-ring/50; } + body { @apply bg-background text-foreground; } -} +} \ No newline at end of file