Skip to content

fix: Fix theme toggle icons and add macOS install instructions#447

Merged
DenverCoder1 merged 1 commit intoDenverCoder1:mainfrom
MauriceOS:fix/theme-toggle-and-macos-docs
Feb 22, 2026
Merged

fix: Fix theme toggle icons and add macOS install instructions#447
DenverCoder1 merged 1 commit intoDenverCoder1:mainfrom
MauriceOS:fix/theme-toggle-and-macos-docs

Conversation

@MauriceOS
Copy link
Copy Markdown
Contributor

Summary

Changes

  • src/demo/index.php – Remove css.gg link; add inline SVG icons for moon/sun
  • src/demo/css/toggle-dark.css – Style and show/hide icons based on theme
  • src/demo/js/toggle-dark.js – Remove icon class toggling (handled by CSS)
  • CONTRIBUTING.md – Add macOS installation section (Homebrew)

Testing

  • Theme toggle shows moon (light) and sun (dark) without external CSS
  • CONTRIBUTING.md includes macOS instructions

- Replace broken css.gg link with inline SVG moon/sun icons (fixes DenverCoder1#434, DenverCoder1#435)
- Add macOS (Homebrew) installation section to CONTRIBUTING.md

Co-authored-by: Cursor <cursoragent@cursor.com>
@DenverCoder1 DenverCoder1 changed the title Fix theme toggle icons and add macOS install instructions fix: Fix theme toggle icons and add macOS install instructions Feb 22, 2026
Copy link
Copy Markdown
Owner

@DenverCoder1 DenverCoder1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing!

@DenverCoder1 DenverCoder1 merged commit fd5b760 into DenverCoder1:main Feb 22, 2026
2 checks passed
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.

Missing icon on Toggle Theme button

2 participants