mirror of https://github.com/arendst/Tasmota.git
Move and document WebColor within my_user_config.h
Move and document WebColor within my_user_config.h
This commit is contained in:
parent
3b29daa002
commit
79f2dff760
|
@ -135,6 +135,26 @@
|
|||
#define WEB_PASSWORD "" // [WebPassword] Web server Admin mode Password for WEB_USERNAME (empty string = Disable)
|
||||
#define FRIENDLY_NAME "Sonoff" // [FriendlyName] Friendlyname up to 32 characters used by webpages and Alexa
|
||||
#define EMULATION EMUL_NONE // [Emulation] Select Belkin WeMo (single relay/light) or Hue Bridge emulation (multi relay/light) (EMUL_NONE, EMUL_WEMO or EMUL_HUE)
|
||||
// HTML hex color codes. Only 3 and 6 digit hex string values are supported!! See https://www.w3schools.com/colors/colors_hex.asp
|
||||
#define COLOR_TEXT "#000" // [WebColor1] Global text color - Black
|
||||
#define COLOR_BACKGROUND "#fff" // [WebColor2] Global background color - White
|
||||
#define COLOR_FORM "#f2f2f2" // [WebColor3] Form background color - Greyish
|
||||
#define COLOR_INPUT_TEXT "#000" // [WebColor4] Input text color - Black
|
||||
#define COLOR_INPUT "#fff" // [WebColor5] Input background color - White
|
||||
#define COLOR_CONSOLE_TEXT "#000" // [WebColor6] Console text color - Black
|
||||
#define COLOR_CONSOLE "#fff" // [WebColor7] Console background color - White
|
||||
#define COLOR_TEXT_WARNING "#f00" // [WebColor8] Warning text color - Red
|
||||
#define COLOR_TEXT_SUCCESS "#008000" // [WebColor9] Success text color - Green
|
||||
#define COLOR_BUTTON_TEXT "#fff" // [WebColor10] Button text color - White
|
||||
#define COLOR_BUTTON "#1fa3ec" // [WebColor11] Button color - Blueish
|
||||
#define COLOR_BUTTON_HOVER "#0e70a4" // [WebColor12] Button color when hovered over - Darker blueish
|
||||
#define COLOR_BUTTON_RESET "#d43535" // [WebColor13] Restart/Reset/Delete button color - Redish
|
||||
#define COLOR_BUTTON_RESET_HOVER "#931f1f" // [WebColor14] Restart/Reset/Delete button color when hovered over - Darker redish
|
||||
#define COLOR_BUTTON_SAVE "#47c266" // [WebColor15] Save button color - Greenish
|
||||
#define COLOR_BUTTON_SAVE_HOVER "#5aaf6f" // [WebColor16] Save button color when hovered over - Darker greenish
|
||||
#define COLOR_TIMER_TAB_TEXT "#fff" // [WebColor17] Config timer tab text color - White
|
||||
#define COLOR_TIMER_TAB_BACKGROUND "#999" // [WebColor18] Config timer tab background color - Light grey
|
||||
#define COLOR_TIMER_ACTIVE_TAB_TEXT "#000" // [WebColor19] Config timer active tab text color - Black
|
||||
|
||||
// -- mDNS ----------------------------------------
|
||||
#define MDNS_ENABLED 0 // [SetOption55] Use mDNS (0 = Disable, 1 = Enable)
|
||||
|
@ -257,39 +277,6 @@
|
|||
#define WEB_USERNAME "admin" // Web server Admin mode user name
|
||||
#define USE_EMULATION // Enable Belkin WeMo and Hue Bridge emulation for Alexa (+16k code, +2k mem)
|
||||
|
||||
// Black text on white/greyish background (default)
|
||||
#define COLOR_TEXT "#000" // Global text color - Black
|
||||
#define COLOR_BACKGROUND "#fff" // Global background color - White
|
||||
#define COLOR_FORM "#f2f2f2" // Form background color - Greyish
|
||||
#define COLOR_INPUT_TEXT "#000" // Input text color - Black
|
||||
#define COLOR_INPUT "#fff" // Input background color - White
|
||||
#define COLOR_CONSOLE_TEXT "#000" // Console text color - Black
|
||||
#define COLOR_CONSOLE "#fff" // Console background color - White
|
||||
|
||||
// White text on black/greyish background (alternative)
|
||||
// #define COLOR_TEXT "#fff" // Global text color - White
|
||||
// #define COLOR_BACKGROUND "#000" // Global background color - Black
|
||||
// #define COLOR_FORM "#4f4f4f" // Form background color - Greyish
|
||||
// #define COLOR_INPUT_TEXT "#000" // Input text color - Black
|
||||
// #define COLOR_INPUT "#ddd" // Input background color - Greyish
|
||||
// #define COLOR_CONSOLE_TEXT "#008000" // Console text color - Green
|
||||
// #define COLOR_CONSOLE "#111" // Console background color - Blackish
|
||||
|
||||
#define COLOR_TEXT_WARNING "#f00" // Warning text color - Red
|
||||
#define COLOR_TEXT_SUCCESS "#008000" // Success text color - Green
|
||||
|
||||
#define COLOR_BUTTON_TEXT "#fff" // Button text color - White
|
||||
#define COLOR_BUTTON "#1fa3ec" // Button color - Blueish
|
||||
#define COLOR_BUTTON_HOVER "#0e70a4" // Button color when hovered over - Darker blueish
|
||||
#define COLOR_BUTTON_RESET "#d43535" // Restart/Reset/Delete button color - Redish
|
||||
#define COLOR_BUTTON_RESET_HOVER "#931f1f" // Restart/Reset/Delete button color when hovered over - Darker redish
|
||||
#define COLOR_BUTTON_SAVE "#47c266" // Save button color - Greenish
|
||||
#define COLOR_BUTTON_SAVE_HOVER "#5aaf6f" // Save button color when hovered over - Darker greenish
|
||||
|
||||
#define COLOR_TIMER_TAB_TEXT "#fff" // Config timer tab text color - White
|
||||
#define COLOR_TIMER_TAB_BACKGROUND "#999" // Config timer tab background color - Light grey
|
||||
#define COLOR_TIMER_ACTIVE_TAB_TEXT "#000" // Config timer active tab text color - Black
|
||||
|
||||
// -- mDNS ----------------------------------------
|
||||
#define USE_DISCOVERY // Enable mDNS for the following services (+8k code, +0.3k mem)
|
||||
#define WEBSERVER_ADVERTISE // Provide access to webserver by name <Hostname>.local/
|
||||
|
|
Loading…
Reference in New Issue