Skip to content

feat: add light/dark toggle & persist prefs - #33

Closed
psankhe28 wants to merge 4 commits into
elixir-cloud-aai:mainfrom
psankhe28:dark-mode
Closed

psankhe28 wants to merge 4 commits into
elixir-cloud-aai:mainfrom
psankhe28:dark-mode

Conversation

@psankhe28

@psankhe28 psankhe28 commented Mar 6, 2024 •

Copy link
Copy Markdown

Details

Fixes #13

I have created a toggle using react-dark-mode-toggle. Additionally, utilize local storage to retain the last selected value for dark mode.

@vercel

vercel Bot commented Mar 6, 2024 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
krini ❌ Failed (Inspect) Apr 20, 2024 5:12am

@uniqueg uniqueg changed the title Added toggle for dark mode and local storage functionality feat: add light/dark toggle & persist prefs Mar 6, 2024
@uniqueg

uniqueg commented Nov 14, 2026

Copy link
Copy Markdown
Member

Hi @psankhe28, thanks for this, and sorry it sat for so long! Krini has
since been rewritten in Next.js, and dev (the former staging) has a
light/dark toggle (src/components/shared/theme/theme-toggle.tsx) built on
next-themes, which keeps the choice in local storage across reloads, as
#13 asked. I'm closing this PR as superseded, and #13 as done.

@uniqueg uniqueg closed this Nov 14, 2026
@uniqueg uniqueg mentioned this pull request Nov 14, 2026

This branch was previously deployed

1 inactive deployment
Preview — 8c758ffa Deployed Apr 20, 2024 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persist website prefs

2 participants