diff --git a/examples/Advanced/Advanced.ino b/examples/Advanced/Advanced.ino index f47b021..7bc3795 100644 --- a/examples/Advanced/Advanced.ino +++ b/examples/Advanced/Advanced.ino @@ -30,6 +30,9 @@ void setup() { // wm.setMenu(menu,6); std::vector menu = {"wifi","info","param","sep","restart","exit"}; wm.setMenu(menu); + + // set dark theme + // wm.setClass("invert"); //set static ip // wm.setSTAStaticIPConfig(IPAddress(10,0,1,99), IPAddress(10,0,1,1), IPAddress(255,255,255,0)); // set static ip,gw,sn diff --git a/extras/WiFiManager.template.html b/extras/WiFiManager.template.html index e4dc77f..ecb09de 100644 --- a/extras/WiFiManager.template.html +++ b/extras/WiFiManager.template.html @@ -11,13 +11,14 @@ body.invert, body.invert a, body.invert h1 { - background-color:black; + background-color:#060606; color:white; } body.invert .msg{ - border-top: 1px solid #696969; - border-right: 1px solid #696969; - border-bottom: 1px solid #696969; + background-color: #282828; + border-top: 1px solid #555; + border-right: 1px solid #555; + border-bottom: 1px solid #555; } body.invert .q[role=img] { -webkit-filter: invert(1); @@ -46,7 +47,7 @@ input { button { border: 0; border-radius: .3rem; - background-color: #1fa3ec; + background-color: #9933CC; color: #fff; line-height: 2.4rem; font-size: 1.2rem; @@ -58,7 +59,7 @@ a { text-decoration: none; } a:hover { - color: #1fa3ec; + color: #9933CC; text-decoration: underline; } .h { @@ -123,10 +124,10 @@ a:hover { margin-bottom: 5px; } .msg.P { - border-left-color: #1fa3ec; + border-left-color: #9933CC; } .msg.P h4 { - color: #1fa3ec; + color: #9933CC; } /*.msg.S { border-left-color: #5cb85c; @@ -135,10 +136,10 @@ a:hover { color: #5cb85c; }*/ .msg.D { - border-left-color: #d9534f; + border-left-color: #dc3630; } .msg.D h4 { - color: #d9534f; + color: #dc3630; } dt { @@ -152,7 +153,7 @@ td { vertical-align: top; } button.D{ - background-color:#d9534f; + background-color:#dc3630; } diff --git a/strings_en.h b/strings_en.h index 097d971..2ef052e 100644 --- a/strings_en.h +++ b/strings_en.h @@ -73,15 +73,15 @@ const char HTTP_STYLE[] PROGMEM = "";