@@ -12,6 +25,9 @@ export default function Home() {
I'm a software engineer and musical theatre performer based in Melbourne, Australia.
+
diff --git a/components/ui/card.tsx b/components/ui/card.tsx
index ea71573..363471c 100644
--- a/components/ui/card.tsx
+++ b/components/ui/card.tsx
@@ -7,43 +7,44 @@ const cardVariants = cva("w-full relative", {
variant: {
default: [
"border rounded-lg",
- "border-zinc-200 dark:border-zinc-800",
- "bg-white dark:bg-zinc-950",
+ "border-border",
+ "bg-card",
+ "text-card-foreground",
],
dots: [
"relative mx-auto w-full",
"rounded-lg border border-dashed",
- "border-zinc-300 dark:border-zinc-800",
+ "border-border",
"px-4 sm:px-6 md:px-8",
],
gradient: ["relative mx-auto w-full", "px-4 sm:px-6 md:px-8"],
plus: [
"border border-dashed",
- "border-zinc-400 dark:border-zinc-700",
+ "border-border",
"relative",
],
neubrutalism: [
"border-[0.5px]",
- "border-zinc-400 dark:border-white/70",
+ "border-border",
"relative",
"shadow-[4px_4px_0px_0px_rgba(0,0,0)]",
"dark:shadow-[3px_3px_0px_0px_rgba(255,255,255,0.7)]",
],
inner: [
"border-[0.5px] rounded-sm p-2",
- "border-zinc-300 dark:border-zinc-800",
+ "border-border",
],
lifted: [
"border rounded-xl",
- "border-zinc-400 dark:border-zinc-700",
+ "border-border",
"relative",
"shadow-[0px_5px_0px_0px_rgba(0,0,0,0.7)]",
"dark:shadow-[0px_4px_0px_0px_rgba(255,255,255,0.5)]",
- "bg-zinc-50 dark:bg-zinc-900/50",
+ "bg-card",
],
corners: [
"border-2 rounded-md",
- "border-zinc-100 dark:border-zinc-700",
+ "border-border",
"relative",
],
},
@@ -78,10 +79,10 @@ const Card = React.forwardRef
(
return (
<>
-
-
+
+
-
+
@@ -98,12 +99,12 @@ const Card = React.forwardRef(
{title && (
-
+
{title}
)}
{description && (
-
+
{description}
)}
@@ -117,11 +118,11 @@ const Card = React.forwardRef(
const GradientLines = () => (
<>
-
-
+
+
>
@@ -137,7 +138,7 @@ const Card = React.forwardRef(
height={24}
strokeWidth="1"
stroke="currentColor"
- className="dark:text-white text-black size-6 absolute -top-3 -left-3"
+ className="text-foreground size-6 absolute -top-3 -left-3"
>
(
height={24}
strokeWidth="1"
stroke="currentColor"
- className="dark:text-white text-black size-6 absolute -top-3 -right-3"
+ className="text-foreground size-6 absolute -top-3 -right-3"
>
(
height={24}
strokeWidth="1"
stroke="currentColor"
- className="dark:text-white text-black size-6 absolute -bottom-3 -left-3"
+ className="text-foreground size-6 absolute -bottom-3 -left-3"
>
(
height={24}
strokeWidth="1"
stroke="currentColor"
- className="dark:text-white text-black size-6 absolute -bottom-3 -right-3"
+ className="text-foreground size-6 absolute -bottom-3 -right-3"
>
(
const CornerBorders = () => (
<>
-
-
-
-
+
+
+
+
>
)
@@ -216,12 +217,12 @@ const Card = React.forwardRef(
const content = (
{title && (
-
+
{title}
)}
{description && (
-
{description}
+ {description}
)}
{children}
@@ -234,9 +235,9 @@ const Card = React.forwardRef(
className={cn(cardVariants({ variant, className }))}
{...props}
>
-
-
-
+
+
+
@@ -258,7 +259,7 @@ const Card = React.forwardRef(
className={cn(cardVariants({ variant, className }))}
{...props}
>
-