Add dark mode toggle

Open Beginner friendly
#116 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
nextjs, tailwind, typescript
Domain
frontend, web-dev

Research direction

Start by locating the header component and the existing Tailwind theme setup in the portfolio. Trace how client-side state is handled, then add the toggle and persistence so the selected light or dark theme is restored after a reload and applies across the portfolio.

Written by the indexing model from the issue text.

Description

triage

Currently, the portfolio only supports light mode. Add a toggle button in the header that allows users to switch between light and dark themes.
The preference should be saved to localStorage so it persists across sessions.

Dominant language
TypeScript
Stars
71
Forks
188
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github-samples/gitfolio

All issues in github-samples/gitfolio

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.