Skip to content

Commit

Permalink
New theme Grayeen
Browse files Browse the repository at this point in the history
  • Loading branch information
ewowi committed Feb 24, 2024
1 parent 807f91c commit 539e5ea
Show file tree
Hide file tree
Showing 4 changed files with 1,342 additions and 1,331 deletions.
31 changes: 20 additions & 11 deletions data/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
--border-color: rgb(255, 160, 0);
--select-color: rgb(255, 160, 0);
}
:root.grayeen {
--bg-color: linear-gradient(to bottom, #979294 0%, #474542 100%);
--text-color: #fbf4f4;
--th-color: #21482b;
--h-color: #21482b;
--border-color: #21482b;
--select-color: #21482b; /*used for view buttons*/
}
:root.light {
--bg-color: #fff;
--text-color: #123;
Expand All @@ -45,20 +53,21 @@
--select-color: #b60f6281;
}
:root.pink {
--bg-color: #ffcad4;
--text-color: #e75480;
}
--bg-color: #ffcad4;
--text-color: #e75480;
--select-color: #e75480; /*used for view buttons*/
}
:root.space {
--bg-color: #000;
--text-color: #f2bd16;
--bg-url: url(//space);
--font-family: 'Press Start 2P', cursive;
--bg-color: #000;
--text-color: #f2bd16;
--bg-url: url(//space);
--font-family: 'Press Start 2P', cursive;
}
:root.nyan {
--bg-color: #013367;
--text-color: #fff;
--bg-url: url(//nyan);
--font-family: 'Comic Neue', cursive;
--bg-color: #013367;
--text-color: #fff;
--bg-url: url(//nyan);
--font-family: 'Comic Neue', cursive;
}

/* inspired by WLED / MoonModules - temporary */
Expand Down
3 changes: 1 addition & 2 deletions data/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ <h2><div id="instanceName"></div></h2>
Theme <select name="theme-select" id="theme-select" onchange="setTheme(this)">
<option value="starmod">StarMod</option>
<option value="wled">WLED</option>
<option value="alt1">Alternative1</option>
<option value="alt2">Alternative2</option>
<option value="grayeen">Grayeen</option>
<option value="light">Light</option>
<option value="dark">Dark</option>
<option value="blue">Blue</option>
Expand Down
2 changes: 1 addition & 1 deletion src/App/AppModFixture.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AppModFixture:public SysModule {

JsonObject currentVar = ui->initCheckBox(parentVar, "on", true, false, [](JsonObject var, uint8_t rowNr, uint8_t funType) { switch (funType) { //varFun
case f_UIFun:
ui->setLabel(var, "On/Off");
ui->setLabel(var, "On");
return true;
default: return false;
}});
Expand Down
Loading

0 comments on commit 539e5ea

Please sign in to comment.