mirror of
https://github.com/sabazadam/Se302.git
synced 2025-12-31 20:31:22 +00:00
Add dark mode component overrides, fix sidebar dark mode styling, update theme toggle to emoji-only
This commit is contained in:
@@ -295,12 +295,12 @@ public class MainController {
|
||||
if (isDarkMode) {
|
||||
// Switch to light mode
|
||||
styleClass.remove("dark");
|
||||
themeToggleButton.setText("🌙 Dark Mode");
|
||||
themeToggleButton.setText("🌙");
|
||||
isDarkMode = false;
|
||||
} else {
|
||||
// Switch to dark mode
|
||||
styleClass.add("dark");
|
||||
themeToggleButton.setText("☀️ Light Mode");
|
||||
themeToggleButton.setText("🌞");
|
||||
isDarkMode = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user