Invert bg and text colors

This commit is contained in:
Madelena Mak 2022-11-07 23:53:24 -05:00
parent ec0671a64d
commit d2595f52f3

View file

@ -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!