style: update background color in globals.css and change card background to white in NeonGradientCard component

This commit is contained in:
vchikalkin 2025-08-20 14:57:55 +03:00
parent 2f031071d8
commit 74b3a0a712
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ body {
@layer base {
:root {
--background: 0 0% 100%;
--background: 0 0% 96%;
--foreground: 240 10% 3.9%;
--card: 0 0% 100%;
--card-foreground: 240 10% 3.9%;

View File

@ -130,7 +130,7 @@ const NeonGradientCard: React.FC<NeonGradientCardProps> = ({
>
<div
className={cn(
"relative size-full min-h-[inherit] rounded-[var(--card-content-radius)] bg-gray-100 p-6",
"relative size-full min-h-[inherit] rounded-[var(--card-content-radius)] bg-white p-6",
"before:absolute before:-left-[var(--border-size)] before:-top-[var(--border-size)] before:-z-10 before:block",
"before:h-[var(--pseudo-element-height)] before:w-[var(--pseudo-element-width)] before:rounded-[var(--border-radius)] before:content-['']",
"before:bg-[linear-gradient(0deg,var(--neon-first-color),var(--neon-second-color))] before:bg-[length:100%_200%]",