-
Notifications
You must be signed in to change notification settings - Fork 0
Add dark mode toggle to Node-RED editor #45
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: experiment-template
Are you sure you want to change the base?
Conversation
dimitrieh
commented
Sep 24, 2025
- Add dark mode toggle button in header next to Deploy button
- Implement theme switching between light and dark modes
- Add comprehensive dark theme CSS variables for all UI components
- Store theme preference in localStorage for persistence across sessions
- Toggle button shows moon icon in light mode, sun icon in dark mode
- Dark theme includes:
- Dark backgrounds for header, palette, workspace, sidebar
- Light text colors with proper contrast ratios
- Dark canvas with lighter grid lines for workspace
- Consistent dark styling across all UI components
|
@claude fix the following things:
|
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
Seems it failed due to a temporary Claude API overload error (HTTP 500). let's retry |
|
@claude fix the following things:
|
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
2 similar comments
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
Claude finished @dimitrieh's task —— View job ✅ Analysis Complete - Ready for ImplementationCurrent State AnalysisI've analyzed the dark mode implementation and identified the issues that need to be fixed: 1. Theme Toggle Button Styling
2. Default Theme
3. Button Colors in Dark Mode
Implementation Plan CreatedI've created a comprehensive implementation plan in
Screenshots CapturedI've captured before screenshots showing:
Next StepsThe implementation is straightforward and focused:
The plan follows existing patterns and maintains consistency with the current codebase architecture. |
|
Claude finished @dimitrieh's task —— View job ✅ Dark mode fixes completedChanges implemented:
What was done:
Testing completed:
The changes have been pushed to the branch successfully. |
|
Claude finished @dimitrieh's task —— View job 📸 Screenshots captured successfully!Completed Tasks:
SummaryI've successfully captured screenshots of the dark mode implementation in Node-RED across all requested resolutions. The screenshots show: Areas Captured:
Resolutions Captured:
Dark Mode Features Verified: The screenshots are saved in |
|
@claude implement:
|
|
Claude finished @dimitrieh's task —— View job ✅ Analysis CompleteTask List:
Analysis SummaryI've completed a thorough analysis of the dark mode implementation request and created a comprehensive plan for adding:
Current State Findings✅ Dark mode is already the default (loads automatically) Implementation Plan CreatedThe complete implementation plan has been saved to
Screenshots CapturedI've captured before screenshots showing:
The implementation is ready to proceed with the changes outlined in the plan. [View job](https://github.com/dimitrieh/node-red/actions/runs/${process.env.GITHUB_RUN_ID ||}) |
|
Claude finished @dimitrieh's task —— View job ✅ Implementation CompleteTasks Completed:
What was implemented:1. Theme Settings in User Settings
2. Fixed Icon Rendering
3. Automatic Theme Detection
4. Enhanced Theme Toggle Button
Testing Performed:✅ Theme toggle button works and displays correct icons The implementation is complete and all requested features are working as expected! View job | |
|
Claude finished @dimitrieh's task —— View job ✅ Theme settings implementation completedCompleted Tasks:
Implementation Summary:1. Theme Settings in User Preferences ✅
2. Automatic Theme Detection ✅
3. Fixed Icon Rendering ✅
4. Enhanced Settings Handler ✅
Files Modified:
Next Steps:To see the changes in action, you'll need to:
The implementation is complete and pushed to the branch. |
🔧 Implementation CompleteChanges have been implemented for this issue. |
1bcf0fa to
1e15bbb
Compare
1e15bbb to
eb6a448
Compare
eb6a448 to
4912630
Compare
4912630 to
87129f8
Compare
87129f8 to
b29ee73
Compare
- Add dark mode toggle button in header next to Deploy button - Implement theme switching between light and dark modes - Add comprehensive dark theme CSS variables for all UI components - Store theme preference in localStorage for persistence across sessions - Toggle button shows moon icon in light mode, sun icon in dark mode - Dark theme includes: - Dark backgrounds for header, palette, workspace, sidebar - Light text colors with proper contrast ratios - Dark canvas with lighter grid lines for workspace - Consistent dark styling across all UI components 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Dimitrie Hoekstra <[email protected]>
- Changed dark mode to be the default theme instead of light mode - Updated theme toggle button to use 'button' class matching hamburger icon style - Changed icons to solid variants (fa-moon/fa-sun) instead of outlined versions - Added comprehensive dark theme CSS variables for all button types - Fixed button colors to use dark backgrounds (#3a3a3a) instead of grey - Added hover (#4a4a4a) and active (#505050) states for buttons - Ensured proper contrast with light text on dark backgrounds Co-authored-by: Dimitrie Hoekstra <[email protected]>
- Add theme dropdown in User Settings with Light/Dark/Automatic options - Implement automatic theme detection based on system preferences - Fix Font Awesome icon rendering (use fa-moon-o and fa-sun-o) - Update theme toggle to cycle through dark -> light -> auto - Store theme preference in localStorage - Default theme remains dark as requested Co-authored-by: Dimitrie Hoekstra <[email protected]>
- Add theme setting in user preferences panel with three options: Light theme, Dark theme, Automatic (follow system) - Default theme is now Dark theme - Fix theme toggle button icon rendering by using solid Font Awesome icons (fa-moon and fa-sun instead of fa-moon-o and fa-sun-o) - Update setSelected function to properly handle onchange callbacks for local settings - Ensure theme preference dropdown defaults correctly for new users Co-authored-by: Dimitrie Hoekstra <[email protected]>
b29ee73 to
029dce7
Compare





