mirror of
https://github.com/michivonah/esphome-eink-dashboard.git
synced 2025-12-22 21:16:28 +01:00
Invert bg and text colors
This commit is contained in:
parent
ec0671a64d
commit
d2595f52f3
1 changed files with 8 additions and 8 deletions
|
|
@ -346,16 +346,16 @@ text_sensor:
|
||||||
# Define colors
|
# Define colors
|
||||||
# This design is white on black so this is necessary.
|
# This design is white on black so this is necessary.
|
||||||
color:
|
color:
|
||||||
- id: color_black
|
- id: color_bg
|
||||||
red: 0%
|
|
||||||
green: 0%
|
|
||||||
blue: 0%
|
|
||||||
white: 50%
|
|
||||||
- id: color_white
|
|
||||||
red: 0%
|
red: 0%
|
||||||
green: 0%
|
green: 0%
|
||||||
blue: 0%
|
blue: 0%
|
||||||
white: 0%
|
white: 0%
|
||||||
|
- id: color_text
|
||||||
|
red: 0%
|
||||||
|
green: 0%
|
||||||
|
blue: 0%
|
||||||
|
white: 100%
|
||||||
|
|
||||||
|
|
||||||
# Pins for Waveshare ePaper ESP Board
|
# Pins for Waveshare ePaper ESP Board
|
||||||
|
|
@ -411,8 +411,8 @@ display:
|
||||||
{"windy-variant", "\U000F059E"},
|
{"windy-variant", "\U000F059E"},
|
||||||
};
|
};
|
||||||
|
|
||||||
// Fill background in black.
|
// Fill background.
|
||||||
it.fill(color_black);
|
// it.fill(color_bg);
|
||||||
|
|
||||||
if (id(initial_data_received) == false) {
|
if (id(initial_data_received) == false) {
|
||||||
// ATTENTION!
|
// ATTENTION!
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue