From e12b2e5303d6192464cc70155af3c6b61febe05c Mon Sep 17 00:00:00 2001 From: ghzhost Date: Wed, 2 Sep 2026 09:06:27 +0000 Subject: [PATCH] fix(theme): configure darkMode class strategy and style common components (#41) - Add `darkMode: 'class'` to tailwind.config.js so useTheme's class toggle correctly drives dark: variants - Update common/Skeleton and common/NetworkError to use app navy and slate palette matching fixed design system --- src/components/common/NetworkError.tsx | 4 ++-- src/components/common/Skeleton.tsx | 10 +++++----- tailwind.config.js | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/components/common/NetworkError.tsx b/src/components/common/NetworkError.tsx index d9f764f..2a09a18 100644 --- a/src/components/common/NetworkError.tsx +++ b/src/components/common/NetworkError.tsx @@ -4,8 +4,8 @@ export function NetworkError({ onRetry, message = "Failed to load data" }: Props return (
⚠️ -

{message}

-

Check your connection and try again

+

{message}

+

Check your connection and try again

{onRetry && (