mirror of
https://github.com/michivonah/esphome-eink-dashboard.git
synced 2025-12-22 13:16:27 +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
|
||||
# This design is white on black so this is necessary.
|
||||
color:
|
||||
- id: color_black
|
||||
red: 0%
|
||||
green: 0%
|
||||
blue: 0%
|
||||
white: 50%
|
||||
- id: color_white
|
||||
- id: color_bg
|
||||
red: 0%
|
||||
green: 0%
|
||||
blue: 0%
|
||||
white: 0%
|
||||
- id: color_text
|
||||
red: 0%
|
||||
green: 0%
|
||||
blue: 0%
|
||||
white: 100%
|
||||
|
||||
|
||||
# Pins for Waveshare ePaper ESP Board
|
||||
|
|
@ -411,8 +411,8 @@ display:
|
|||
{"windy-variant", "\U000F059E"},
|
||||
};
|
||||
|
||||
// Fill background in black.
|
||||
it.fill(color_black);
|
||||
// Fill background.
|
||||
// it.fill(color_bg);
|
||||
|
||||
if (id(initial_data_received) == false) {
|
||||
// ATTENTION!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue