From 6e2247d6f3cfa55eb61ca1312e48f015a85f8e25 Mon Sep 17 00:00:00 2001 From: Gavin McDonald Date: Thu, 24 Apr 2025 17:54:47 -0400 Subject: [PATCH] update colors --- app/page.tsx | 2 +- components/Card.tsx | 8 ++++---- components/CopyButton.tsx | 9 ++++++--- components/Notes.tsx | 10 +++++----- components/Settings.tsx | 40 ++++++++++++++++++++++----------------- components/Switch.tsx | 10 +++++----- components/ToolTip.tsx | 2 +- 7 files changed, 45 insertions(+), 36 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 6b11987..11b25ec 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -19,7 +19,7 @@ export default function Home() {
diff --git a/components/Card.tsx b/components/Card.tsx index fa6365a..22c8f88 100644 --- a/components/Card.tsx +++ b/components/Card.tsx @@ -33,8 +33,8 @@ export default function Card({ dm, card, position, settings, flipAction }: CardP <> {text.map((t, i) => (
-

{t}

- {i < text.length - 1 &&
} +

{t}

+ {i < text.length - 1 &&
}
))} @@ -54,14 +54,14 @@ export default function Card({ dm, card, position, settings, flipAction }: CardP Card Back
{aria}
diff --git a/components/CopyButton.tsx b/components/CopyButton.tsx index 6d75865..0e59990 100644 --- a/components/CopyButton.tsx +++ b/components/CopyButton.tsx @@ -30,12 +30,15 @@ export default function CopyButton({ } }; - const ttContent = - Array.isArray(tooltip) && tooltip.length > 1 ? (copied ? tooltip[1] : tooltip[0]) : tooltip; + const ttContent = ( + + {Array.isArray(tooltip) && tooltip.length > 1 ? (copied ? tooltip[1] : tooltip[0]) : tooltip} + + ); return (