From 5745b250ba0d5cac194247b3b483ab4c97f76311 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2026 03:46:51 +0000 Subject: [PATCH] =?UTF-8?q?refactor(theme):=20=E3=83=86=E3=83=BC=E3=83=9E?= =?UTF-8?q?=E5=88=87=E3=82=8A=E6=9B=BF=E3=81=88=E3=81=AE=20light/dark=20?= =?UTF-8?q?=E5=88=86=E5=B2=90=E3=82=92=20THEMES=20=E3=81=A7=E3=81=BE?= =?UTF-8?q?=E3=81=A8=E3=82=81=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Daiki Sato --- src/components/ThemeToggle.astro | 40 ++++++++------------------------ src/types/Theme.ts | 2 +- tests/unit/theme.test.ts | 12 ++++++++++ 3 files changed, 23 insertions(+), 31 deletions(-) create mode 100644 tests/unit/theme.test.ts diff --git a/src/components/ThemeToggle.astro b/src/components/ThemeToggle.astro index 9ab57196..4dd602fe 100644 --- a/src/components/ThemeToggle.astro +++ b/src/components/ThemeToggle.astro @@ -24,7 +24,7 @@ const { class: classList } = Astro.props;