Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add dark/light mode toggle feature for test interfaces#8296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
addy-2709genius wants to merge1 commit intoprocessing:main
base:main
Choose a base branch
Loading
fromaddy-2709genius:feature/dark-light-mode-toggle

Conversation

@addy-2709genius
Copy link

Add Dark/Light Mode Toggle Feature

Implements dark/light mode toggle for p5.js test interfaces, addressing#8276.

Features:

  • One-click theme switching with persistent localStorage preference
  • Comprehensive theming for background, sidebar, and code panels
  • Works for all users (anonymous and logged-in)
  • Accessible with ARIA labels
  • Smooth CSS transitions

Files Added:

  • test/dark-mode-toggle.js - Theme switching logic
  • test/dark-mode.css - Theme styles
  • test/DARK_MODE_README.md - Documentation

Files Modified:

  • test/test.html,test/test-reference.html,test/test-minified.html - Added toggle support

All linting checks pass. Feature tested and ready for review.

Closes#8276

- Implements dark/light mode toggle functionality addressing Issueprocessing#8276- Adds one-click theme switching with persistent localStorage preference- Applies comprehensive theming to background, sidebar, and code panels- Works for both anonymous and logged-in users- Includes accessible toggle button with proper ARIA labels- Adds smooth CSS transitions for theme changesFiles added:- test/dark-mode-toggle.js: Theme switching logic- test/dark-mode.css: Dark and light theme styles- test/DARK_MODE_README.md: Feature documentationFiles modified:- test/test.html: Added dark mode support- test/test-reference.html: Added dark mode support- test/test-minified.html: Added dark mode support
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add Dark/Light Mode Toggle in p5.js Web Editor Compiler

1 participant

@addy-2709genius

[8]ページ先頭

©2009-2025 Movatter.jp