Skip to content

Commit

Permalink
fix: landing card color
Browse files Browse the repository at this point in the history
  • Loading branch information
livingflore committed Dec 21, 2024
1 parent b608237 commit 3fdb977
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/website/src/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
--background: 20 14.3% 4.1%;
--foreground: 0 0% 95%;
--card: 24 9.8% 10%;
--card-landing: 240, 2%, 9%;
--card-foreground: 0 0% 95%;
--popover: 12 7% 6%;
--popover-foreground: 0 0% 95%;
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Card = React.forwardRef<
<div
ref={ref}
className={cn(
"rounded-lg border bg-card text-card-foreground shadow-sm",
"rounded-lg border bg-landingCard text-card-foreground shadow-sm",
className,
)}
{...props}
Expand Down Expand Up @@ -117,7 +117,7 @@ const CardBorderIlluminated = ({
ref={spotlightRef}
className=" absolute z-[-1] overflow-clip rounded-full bg-gray-50 shadow-[0_0_150px_90px_white]"
></div>
<div className="z-[2] h-full w-full rounded-[calc(var(--radius)-1px)] bg-card">
<div className="z-[2] h-full w-full rounded-[calc(var(--radius)-1px)] bg-landingCard">
{children}
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions tooling/tailwind/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ export default {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
landingCard: {
DEFAULT: "hsl(var(--card-landing))",
foreground: "hsl(var(--card-foreground))",
},
},
borderColor: {
DEFAULT: "hsl(var(--border))",
Expand Down

0 comments on commit 3fdb977

Please sign in to comment.