leopardslab / leopardslab/react-email

[UI] Support for Dark and Light mode

Open
#135 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
TypeScript
Stars
48
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Description:
  • Currently, users have only one theme option which they can use throughout the layout. But there is no way to switch to other theme or show other theme based on the light and dark mode.
Outcome:
  • Option to choose and apply theme based on the device default theme or explicitly mentioning light and dark theme and apply styles based on that.

More research needs to be done regarding the implementation and other approaches.

CC @agentmilindu

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

No files or tests are named; start by locating the existing UI layout and theme styling, then review approaches for detecting the device preference and accepting explicit light or dark selection. Done means users can choose a theme or inherit the device default, with styles applied accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.