Skip to content

feat: implement multi-theme preview canvas (Light, Dark, Dimmed)#585

Merged
Mayur-Pagote merged 1 commit intoMayur-Pagote:mainfrom
Bhagirath00:feature/theme-switcher-preview
Feb 13, 2026
Merged

feat: implement multi-theme preview canvas (Light, Dark, Dimmed)#585
Mayur-Pagote merged 1 commit intoMayur-Pagote:mainfrom
Bhagirath00:feature/theme-switcher-preview

Conversation

@Bhagirath00
Copy link
Contributor

@Bhagirath00 Bhagirath00 commented Feb 13, 2026

🛠 Pull Request Template

📌 Related Issue

Fixes: #582

🔍 Describe your changes?

I have implemented a Multi-Theme Preview Canvas that allows developers to audit their README designs for accessibility and contrast across all GitHub interface modes.

Key Improvements:

  1. Theme Switcher UI: Added a sleek, floating control bar with Sun, Eclipse, and Moon icons anchored to the preview container for one-click toggling.
  2. GitHub Simulation: Implemented three scoped modes that perfectly mimic the GitHub experience:
  • ☀️ GitHub Light: Pure white background for standard light-mode testing.
  • 🌑 GitHub Dimmed: The specialized gray-toned dark mode environment.
  • 🌙 GitHub Dark: High-fidelity native black dark mode.
  1. Scoped Styling: The theme change is intelligently scoped strictly to the preview canvas. This ensures the tool's main workspace remains in its premium dark aesthetic while only the "README area" acts as a live simulator.
  2. Visual Audit Tool: This feature ensures that custom badges, tech icons, and text are 100% readable for every visitor, helping users avoid "invisible" elements on different backgrounds.

📸 Screenshot

  • Theme Switcher
image
  • Github Dark:
image
  • Github Dimmed:
image
  • Github light:
image

🧪 Checklist

Please check all that apply:

  • I have tested my changes locally.
  • I have followed the project's code style and guidelines.
  • I have added necessary comments and documentation.
  • The code compiles and runs without errors.

Thank you for contributing!


@vercel
Copy link

vercel bot commented Feb 13, 2026

@Bhagirath00 is attempting to deploy a commit to the mayur-pagote's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Bhagirath00
Copy link
Contributor Author

@Mayur-Pagote review it.
Once you confirmed this, plz open this #583

@vercel
Copy link

vercel bot commented Feb 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
readme-design-kit Ready Ready Preview, Comment Feb 13, 2026 1:46pm

@Mayur-Pagote
Copy link
Owner

@Bhagirath00 thank you

@Mayur-Pagote Mayur-Pagote merged commit 72c303b into Mayur-Pagote:main Feb 13, 2026
3 checks passed
@Mayur-Pagote Mayur-Pagote added Easy This tag is used for issues/PRs that are easy and under the SWoC contributor. SWoC26 The tag is given to issues/PRs for contributors who are part of SWoC26. labels Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Easy This tag is used for issues/PRs that are easy and under the SWoC contributor. SWoC26 The tag is given to issues/PRs for contributors who are part of SWoC26.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Multi-Theme Preview Canvas (Light, Dark & Dimmed Mode)

2 participants