plugin: darkmode

This commit is contained in:
justin committed 2026-04-01 17:29:38 -07:00
1 parent 2c47e6c95d
commit c51701283f
10 files changed
+478 -3

No files matched your search

+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;
}
}