Skip to content

fix: Use emoji to fix dark mode icon#877

Merged
DenverCoder1 merged 2 commits intomainfrom
fix-dark-mode-icon
Feb 5, 2026
Merged

fix: Use emoji to fix dark mode icon#877
DenverCoder1 merged 2 commits intomainfrom
fix-dark-mode-icon

Conversation

@DenverCoder1
Copy link
Copy Markdown
Owner

This pull request updates the dark mode toggle feature in the demo application, replacing the use of icon fonts with Unicode emoji for the sun and moon icons. It also includes minor CSS and PHP cleanups. The most important changes are grouped below:

Dark mode toggle improvements:

  • Replaced the icon font-based sun/moon toggle in the dark mode button with Unicode emoji (🌞/🌙) for better compatibility and simplicity in both src/demo/index.php and src/demo/js/toggle-dark.js. [1] [2] [3]

Code and style cleanups:

  • Removed the unused external CSS icon font library (css-gg-cdn) from the HTML head in src/demo/index.php.
  • Added text-decoration: none; to the .darkmode CSS class to ensure the toggle button does not display underlines.
  • Minor formatting fix in the camelToSkewer PHP function by removing an unnecessary trailing comma.

@DenverCoder1 DenverCoder1 temporarily deployed to streak-stats-fix-dark-m-ogcl0h February 5, 2026 21:38 Inactive
@DenverCoder1 DenverCoder1 merged commit 87b18e7 into main Feb 5, 2026
0 of 2 checks passed
@DenverCoder1 DenverCoder1 deleted the fix-dark-mode-icon branch February 5, 2026 21:38
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