Skip to content

feat: implement dark theme#38

Open
gorusys wants to merge 2 commits intohouseofstake:mainfrom
gorusys:dark-theme
Open

feat: implement dark theme#38
gorusys wants to merge 2 commits intohouseofstake:mainfrom
gorusys:dark-theme

Conversation

@gorusys
Copy link

@gorusys gorusys commented Mar 10, 2026

Summary

Adds a full light/dark theme to the site with a persistent toggle and theme-aware styling across the homepage, navbar, footer.

What's included

  • Theme toggle – Icon-only sun/moon toggle in the navbar.
  • Global tokens – CSS variables for background, text, and accent colors in global.css with html[data-theme='dark'] overrides
  • Updated areas – Hero, Header, Footer, and the other sections
  • Persistence – Theme choice stored in localStorage and synced with data-theme on <html>

How to test

  1. Use the theme toggle in the top-right (desktop) or next to the hamburger (mobile).
  2. Reload and confirm the selected theme is preserved.

@gorusys gorusys temporarily deployed to pr-preview-approval March 10, 2026 10:41 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Mar 10, 2026

🚀 Preview deployment is ready!

Environment URL
Preview https://houseofstake.org/pr-preview/pr-38/

This preview will update automatically when you push new commits.

github-actions bot added a commit that referenced this pull request Mar 10, 2026
@gorusys gorusys temporarily deployed to pr-preview-approval March 11, 2026 00:18 — with GitHub Actions Inactive
github-actions bot added a commit that referenced this pull request Mar 11, 2026
@gorusys
Copy link
Author

gorusys commented Mar 11, 2026

@klausbrave @dancunningham @andreivcodes @slackswell
Please review this pr.

@gorusys
Copy link
Author

gorusys commented Mar 11, 2026

Closes #40

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.

1 participant