Commit 029dce7
Implement theme settings in user preferences
- 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]>1 parent 32bc4f6 commit 029dce7
File tree
2 files changed
+17
-5
lines changed- packages/node_modules/@node-red/editor-client/src/js/ui
2 files changed
+17
-5
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
755 | | - | |
| 754 | + | |
| 755 | + | |
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
| |||
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | | - | |
129 | | - | |
| 129 | + | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
| |||
246 | 250 | | |
247 | 251 | | |
248 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
249 | 261 | | |
250 | 262 | | |
251 | 263 | | |
| |||
0 commit comments