From 436e793e37d2df63ba6ca9219b6bb36000f3c575 Mon Sep 17 00:00:00 2001 From: Vaibhaav Date: Fri, 26 Jun 2026 19:14:42 +0530 Subject: [PATCH 1/2] feat: add dark/light mode toggle demo --- index.html | 229 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 229 insertions(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 00000000..eb4c3bfc --- /dev/null +++ b/index.html @@ -0,0 +1,229 @@ + + + + + + Dark/Light Mode Toggle + + + +
+
+

Theme Toggle

+
+ + + + + + + + + + + +
+ + + +
+
+

+ This is a demonstration of a dark/light mode toggle. Click the pill-shaped switch above to toggle between themes. +

+
+

Theme Demo Content

+

Notice how all colors smoothly transition when you switch themes. The preference is saved to localStorage.

+ Light Mode +
+
+ + + + From d0bc86d6dad3094a119b04f0ce418a522b536f12 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 26 Jun 2026 13:45:07 +0000 Subject: [PATCH 2/2] chore: format with prettier [skip ci] --- index.html | 482 ++++++++++++++++++++++++++++------------------------- 1 file changed, 255 insertions(+), 227 deletions(-) diff --git a/index.html b/index.html index eb4c3bfc..6b4b4738 100644 --- a/index.html +++ b/index.html @@ -1,229 +1,257 @@ - + - - - - Dark/Light Mode Toggle - - - -
-
-

Theme Toggle

-
- - - - - - - - - - - -
- - - -
-
-

- This is a demonstration of a dark/light mode toggle. Click the pill-shaped switch above to toggle between themes. -

-
-

Theme Demo Content

-

Notice how all colors smoothly transition when you switch themes. The preference is saved to localStorage.

- Light Mode -
-
- - - + + + + Dark/Light Mode Toggle + + + +
+
+

Theme Toggle

+
+ + + + + + + + + + + +
+ + + +
+
+

+ This is a demonstration of a dark/light mode toggle. Click the pill-shaped switch above to toggle between + themes. +

+
+

Theme Demo Content

+

+ Notice how all colors smoothly transition when you switch themes. The preference is saved to localStorage. +

+ Light Mode +
+
+ + +