Invert bg and text colors

pull/10/head
Madelena Mak 2 years ago
parent ec0671a64d
commit d2595f52f3

@ -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% red: 0%
green: 0% green: 0%
blue: 0% blue: 0%
white: 50% white: 0%
- id: color_white - id: color_text
red: 0% red: 0%
green: 0% green: 0%
blue: 0% blue: 0%
white: 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…
Cancel
Save