plugin: darkmode

This commit is contained in:
Justin Oros
2026-04-01 17:29:38 -07:00
parent 2c47e6c95d
commit c51701283f
10 changed files with 478 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
#include "DarkModePlugin.h"
namespace DarkModePlugin {
const char* stateName(DarkModeState state) {
switch (state) {
case DarkModeState::MODE_ON: return "Enabled";
default: return "Disabled";
}
}
bool isDarkMode(DarkModeState state) {
return state == DarkModeState::MODE_ON;
}
}