I have issues with white areas in my theme that I canāt seem to resolve. Instead of white, I would like to have a darker color so that the text is visible.
Does anyone have a solution for what I should add/change in the theme?
---
####################### LIGHT MODE ####################
MiniHass_Light:
# contrast
contrast-0: "#ffffff"
contrast-10: "#F2F2F2"
contrast-20: "#e5e5e5"
contrast-33: "#888888"
contrast-66: "#444444"
contrast-100: "#000000"
# main interface colors
color-green: "#39bb4f"
color-yellow: rgb(253 204 18)
color-blue: rgba(159,204,250,1)
color-cerise: "#e0188f"
color-purple: rgba(130,30,255)
color-orange: "#F46036"
color-off-grey: "#525252"
color-red: "#E84941"
color-teal: rgba(123,232,183,1)
color-white: "#ffffff"
color-black: "#000000"
color-gold: '#C4AA87'
color-dark-gray: '#A2A5AD'
color-darker-gray: '#A2A5AD'
# color-darker-gray: '#52555D'
color-really-dark-gray: '#52555D'
color-darkest-gray: '#44474E'
color-light-gray-nav: '#e3e3e1'
color-light-gray-card: '#FAFAFA'
mush-rgb-blue: 196, 170, 135
gradient-yellow: linear-gradient(30deg, rgb(253 204 18) 0%, rgb(253 238 70) 100%)
gradient-green: linear-gradient(120deg, rgba(120,210,155,1), rgba(205,240,200,1))
gradient-red: linear-gradient(45deg, rgba(240,130,140,1), rgba(250,185,195,1))
gradient-grey-cold: linear-gradient(45deg, rgba(235,244,245,1), rgba(181,198,224,1))
gradient-blue: linear-gradient(45deg, rgba(9,116,241,1), rgba(159,204,250,1))
gradient-orange: linear-gradient(45deg, rgba(253,125,90,1), rgba(253,172,90,1))
gradient-teal: linear-gradient(45deg, rgba(123,232,183,1), rgba(123,232,218,1))
gradient-purple: linear-gradient(120deg, rgb(130,30,255), rgb(170,100,250))
gradient-purple-teal: 'linear-gradient(45deg, var(--color-purple), var(--color-teal))'
gradient-teal-purple: 'linear-gradient(45deg, var(--color-teal), var(--color-purple))'
gradient-black: linear-gradient(45deg, rgba(13,13,15,1), rgba(19,20,23,1))
#glow
glow: 0px 0px 0px 0px
glow-color-green: 'var(--glow) var(--color-green)'
glow-color-yellow: 'var(--glow) var(--color-yellow)'
glow-color-dark-blue: 'var(--glow) var(--color-dark-blue)'
glow-color-light-blue: 'var(--glow) var(--color-light-blue)'
glow-color-cerise: 'var(--glow) var(--color-cerise)'
glow-color-violet: 'var(--glow) var(--color-violet)'
glow-color-orange: 'var(--glow) var(--color-orange)'
glow-color-red: 'var(--glow) var(--color-red)'
glow-color-white: 'var(--glow) var(--color-white)'
# background and sidebar
background: '#FFFFFF'
# card
background-neo: linear-gradient(145deg, rgba(250,250,250,.5) 25%, rgba(50,50,50,.1))
box-shadow-neo: 5px 5px 10px rgba(50,50,50,.15), -5px -5px 10px rgba(255,255,255,.5)
border-width: "0px"
border-radius: "16px"
# box-shadow: "rgba(0, 0, 0, 0.1) 0px 4px 12px"
ha-card-box-shadow: "var(--box-shadow)"
ha-card-background: '#F4F4F4'
background-card-color: 'rgba(14,14,112, 0)'
ha-card-border-width: "var(--border-width)"
# Slider
slider-bar-color: '#7ED8FC'
slider-color: '#4200AA'
slider-secondary-color: "var(--color-orange)"
# UI
mdc-button-outline-color: "var(--color-orange)"
mdc-theme-primary: "var(--color-red)"
--energy-grid-consumption-color: "var(--color-red)"
--energy-grid-return-color: "var(--color-red)"
--energy-solar-color: "var(--color-red)"
energy-non-fossil-color: "var(--color-red)"
energy-battery-out-color: "var(--color-red)"
energy-battery-in-color: "var(--color-red)"
--energy-gas-color: "var(--color-red)"
mini-media-player-accent-color: "var(--color-white)"
mini-media-player-icon-color: "var(--color-white)"
mini-media-player-base-color: "var(--color-white)"
swiper-pagination-color: "var(--color-black)"
#Typography (static)
fs-xl: 4rem
fs-1000: 2.5rem
fs-800: 2rem
fs-600: 1.5rem
fs-500: 1.25rem
fs-400: 1rem
fs-300: 0.75rem
fs-200: 0.5rem
#Buttons (static)
button-small: 30px
#Typography (responsive)
#fs-xl: clamp(4rem, 4vw, 8rem)
#fs-1000: clamp(2.5rem, 2vw, 4rem)
#fs-800: clamp(2rem, 2vw, 3rem)
#fs-600: clamp(1.5rem, 2vw, 2.25rem)
#fs-500: clamp(1.25rem, 2vw, 2.25rem)
#fs-400: clamp(1rem, 1vw, 2rem)
#fs-300: clamp(0.75rem, 2vw, 1.25rem)
#fs-200: clamp(0.5rem, 2vw, 1rem)
#Buttons (responsive)
#button-small: clamp(30px, 2vw, 50px)
####################### Backend UI ####################
####################### MACHIATO ####################
# Colors
text: "#4e4e4e"
subtext1: "#b8c0e0"
subtext0: "#a5adcb"
overlay2: "#939ab7"
overlay1: "#8087a2"
overlay0: "#6e738d"
surface2: "#5b6078"
surface1: "#494d64"
surface0: "#e3e3e3"
# surface2: "#5b6078"
# surface1: "#494d64"
# surface0: "#363a4f"
base: "#FFFFFF"
mantle: "#FFFFFF"
crust: "#181926"
rosewater: "#f4dbd6"
flamingo: "#f0c6c6"
pink: "#f5bde6"
mauve: "#c6a0f6"
red: "#ed8796"
maroon: "#ee99a0"
peach: "#f5a97f"
yellow: "#eed49f"
green: "#a6da95"
teal: "#8bd5ca"
sky: "#91d7e3"
sapphire: "#7dc4e4"
blue: "#8aadf4"
lavender: "#b7bdf8"
###########################
# Header
app-header-background-color: var(--mantle)
app-header-text-color: var(--text)
# Main Interface colors
primary-color: var(--blue)
light-primary-color: var(--primary-color)
primary-background-color: var(--base)
secondary-background-color: var(--base)
# Text
primary-text-color: var(--text)
secondary-text-color: var(--subtext1)
text-primary-color: var(--text)
divider-color: var(--base)
accent-color: var(--sky)
disabled-text-color: var(--surface0)
# Sidebar
sidebar-background-color: var(--crust)
sidebar-selected-background-color: var(--primary-background-color)
sidebar-icon-color: var(--subtext0)
sidebar-text-color: var(--subtext0)
sidebar-selected-icon-color: var(--mauve)
sidebar-selected-text-color: var(--mauve)
# Buttons
paper-item-icon-color: var(--subtext0)
paper-item-icon-active-color: var(--primary-color)
# States and Badges
state-icon-color: var(--lavender)
state-icon-active-color: var(--primary-color)
state-icon-unavailable-color: var(--disabled-text-color)
# Sliders
paper-slider-knob-color: var(--blue)
paper-slider-knob-start-color: var(--paper-slider-knob-color)
paper-slider-pin-color: var(--paper-slider-knob-color)
paper-slider-active-color: var(--paper-slider-knob-color)
paper-slider-secondary-color: var(--blue)
# Labels
label-badge-background-color: var(--surface0)
label-badge-text-color: var(--text)
label-badge-red: var(--red)
label-badge-green: var(--green)
label-badge-blue: var(--blue)
label-badge-yellow: var(--yellow)
label-badge-gray: var(--overlay0)
# Cards
paper-dialog-background-color: var(--overlay0)
paper-listbox-background-color: var(--overlay0)
paper-card-background-color: var(--card-background-color)
# Switches
switch-checked-button-color: var(--green)
switch-checked-track-color: var(--surface0)
switch-unchecked-button-color: rgb(--overlay0)
switch-unchecked-track-color: rgb(--surface0)
# Toggles
paper-toggle-button-checked-button-color: var(--switch-checked-button-color)
paper-toggle-button-checked-bar-color: var(--switch-checked-track-color)
paper-toggle-button-unchecked-button-color: var(--switch-unchecked-button-color)
paper-toggle-button-unchecked-bar-color: var(--switch-unchecked-track-color)
# Table
table-row-background-color: var(--primary-background-color)
table-row-alternative-background-color: var(--secondary-background-color)
data-table-background-color: var(--primary-background-color)
mdc-checkbox-unchecked-color: var(--surface0)
# Dropdowns
material-background-color: var(--primary-background-color)
material-secondary-background-color: var(--primary-background-color)
mdc-theme-surface: var(--primary-background-color)
# Pre/Code
markdown-code-background-color: var(--surface0)
# Checkboxes
mdc-select-fill-color: var(--surface0)
mdc-select-ink-color: var(--primary-text-color)
mdc-select-label-ink-color: var(--subtext1)
mdc-select-idle-line-color: var(--primary-text-color)
mdc-select-dropdown-icon-color: var(--secondary-text-color)
mdc-select-hover-line-color: var(--accent-color)
# Input
input-fill-color: rgba(10,10,10,0.2)
input-dropdown-icon-color: var(--secondary-text-color)
input-ink-color: var(--primary-text-color)
input-label-ink-color: var(--secondary-text-color)
input-idle-line-color: var(--primary-text-color)
input-hover-line-color: var(--accent-color)
# Toast
paper-toast-background-color: var(--overlay0)
# Colors
error-color: var(--red)
warning-color: var(--yellow)
success-color: var(--green)
info-color: var(--blue)
state-on-color: var(--green)
state-off-color: var(--red)
####################### DARK MODE ####################
MiniHass_Dark:
card-on-background-color: rgba(255, 255, 255, 0.8)
card-off-background-color: rgb(0,0,0,0.2)
card-on-text-color: black
card-off-text-color: white
light-card: "rgb(124, 111, 69)"
# contrast
contrast-100: rgb(255,255,255)
contrast-66: rgb(136,136,136)
contrast-33: rgb(68,68,68)
contrast-20: rgb(30,30,30)
contrast-10: rgb(17,17,17)
contrast-0: rgb(0,0,0)
# text
primary-font-family: montserrat
paper-font-common-base_-_font-family: var(--primary-font-family)
paper-font-common-code_-_font-family: var(--primary-font-family)
paper-font-body1_-_font-family: var(--primary-font-family)
paper-font-subhead_-_font-family: var(--primary-font-family)
paper-font-headline_-_font-family: var(--primary-font-family)
paper-font-caption_-_font-family: var(--primary-font-family)
paper-font-title_-_font-family: var(--primary-font-family)
ha-card-header-font-family: var(--primary-font-family)
mdc-typography-body1-font-family: var(--primary-font-family)
mdc-typography-font-family: var(--primary-font-family)
# colors
color-green: rgb(57,187,79)
color-yellow: rgb(253 204 18)
color-blue: rgb(159,204,250)
color-cerise: rgb(224,24,143)
color-purple: rgb(130,30,255)
color-orange: rgb(244,96,54)
color-off-grey: rgb(82,82,82)
color-red: rgb(232,73,65)
color-teal: rgb(123,232,183,1)
color-white: rgb(255,255,255)
color-black: rgb(0,0,0)
color-dark-blue: '#414E6E'
color-gold: '#C4AA87'
color-dark-gray: '#A2A5AD'
color-darker-gray: '#52555D'
color-darkest-gray: '#44474E'
color-really-dark-gray: '#52555D'
color-light-gray-nav: 'var(--color-darkest-gray)'
color-light-gray-card: '#FAFAFA'
mush-rgb-blue: 196, 170, 135
gradient-yellow: linear-gradient(30deg, rgb(253 204 18) 0%, rgb(253 238 70) 100%)
gradient-green: linear-gradient(120deg, rgba(120,210,155,1), rgba(205,240,200,1))
gradient-red: linear-gradient(45deg, rgba(240,130,140,1), rgba(250,185,195,1))
gradient-grey-cold: linear-gradient(45deg, rgba(235,244,245,1), rgba(181,198,224,1))
gradient-blue: linear-gradient(45deg, rgba(9,116,241,1), rgba(159,204,250,1))
gradient-orange: linear-gradient(45deg, rgba(253,125,90,1), rgba(253,172,90,1))
gradient-teal: linear-gradient(45deg, rgba(123,232,183,1), rgba(123,232,218,1))
gradient-purple: linear-gradient(120deg, rgb(130,30,255), rgb(170,100,250))
gradient-purple-teal: 'linear-gradient(45deg, var(--color-purple), var(--color-teal))'
gradient-teal-purple: 'linear-gradient(45deg, var(--color-teal), var(--color-purple))'
gradient-black: linear-gradient(45deg, rgba(13,13,15,1), rgba(19,20,23,1))
#glow
glow: 0px 0px 15px 1px
glow-color-green: 'var(--glow) var(--color-green)'
glow-color-yellow: 'var(--glow) var(--color-yellow)'
glow-color-dark-blue: 'var(--glow) var(--color-dark-blue)'
glow-color-light-blue: 'var(--glow) var(--color-light-blue)'
glow-color-cerise: 'var(--glow) var(--color-cerise)'
glow-color-violet: 'var(--glow) var(--color-violet)'
glow-color-orange: 'var(--glow) var(--color-orange)'
glow-color-red: 'var(--glow) var(--color-red)'
glow-color-white: 'var(--glow) var(--color-white)'
# background and sidebar
background: '#1b1d21'
# card
box-shadow-neo: 5px 5px 10px rgba(0,0,0,.5), -5px -5px 10px rgba(255,255,255,.03)
border-width: "0px"
border-radius: "16px"
box-shadow: "none"
ha-card-box-shadow: "var(--box-shadow)"
ha-card-background: '#121316'
ha-card-border-radius: "var(--border-radius)"
background-card-color: 'rgba(14,14,112, 0)'
ha-card-border-width: "var(--border-width)"
# slider
slider-bar-color: '#7ED8FC'
slider-color: '#4200AA'
slider-secondary-color: "var(--color-orange)"
# media player
mini-media-player-accent-color: "var(--color-white)"
mini-media-player-icon-color: "var(--color-white)"
mini-media-player-base-color: "var(--color-white)"
#Typography (static)
fs-xl: 4rem
fs-1000: 2.5rem
fs-800: 2rem
fs-600: 1.5rem
fs-500: 1.25rem
fs-400: 1rem
fs-300: 0.75rem
fs-200: 0.5rem
#Buttons (static)
button-small: 30px
#Typography (responsive)
#fs-xl: clamp(4rem, 4vw, 8rem)
#fs-1000: clamp(2.5rem, 2vw, 4rem)
#fs-800: clamp(2rem, 2vw, 3rem)
#fs-600: clamp(1.5rem, 2vw, 2.25rem)
#fs-500: clamp(1.25rem, 2vw, 2.25rem)
#fs-400: clamp(1rem, 1vw, 2rem)
#fs-300: clamp(0.75rem, 2vw, 1.25rem)
#fs-200: clamp(0.5rem, 2vw, 1rem)
#Buttons (responsive)
#button-small: clamp(30px, 2vw, 50px)
####################### Backend UI ####################
####################### MACHIATO ####################
# Colors
# text: "#cad3f5"
# subtext1: "#b8c0e0"
# subtext0: "#a5adcb"
text: var(--color-white)
titletext: var(--color-blue)
subtext1: var(--text)
subtext0: var(--text)
overlay2: "#939ab7"
overlay1: "#8087a2"
overlay0: "#6e738d"
surface2: "#5b6078"
surface1: "#494d64"
surface0: "#363a4f"
base: "#1b1d21"
mantle: "#1e2030"
crust: "#181926"
rosewater: "#f4dbd6"
flamingo: "#f0c6c6"
pink: "#f5bde6"
mauve: "#c6a0f6"
red: "#ed8796"
maroon: "#ee99a0"
peach: "#f5a97f"
yellow: "#eed49f"
green: "#a6da95"
teal: "#8bd5ca"
sky: "#91d7e3"
sapphire: "#7dc4e4"
blue: "#8aadf4"
lavender: "#b7bdf8"
###########################
# Header
app-header-background-color: '#1b1d21'
app-header-text-color: var(--text)
header-active-tab-color: "rgba(var(--mush-rgb-blue)"
header-active-tab-bg-color: "rgba(var(--color-amber)"
header-all-tabs-color: "#b2b3b8"
# Main Interface colors
primary-color: var(--blue)
light-primary-color: var(--primary-color)
primary-background-color: var(--base)
secondary-background-color: var(--base)
# Text
primary-text-color: var(--text)
secondary-text-color: var(--subtext1)
text-primary-color: var(--text)
divider-color: var(--base)
accent-color: var(--color-gold)
disabled-text-color: var(--surface0)
# Sidebar
sidebar-background-color: var(--crust)
sidebar-selected-background-color: var(--primary-background-color)
sidebar-icon-color: var(--subtext0)
sidebar-text-color: var(--subtext0)
sidebar-selected-icon-color: var(--mauve)
sidebar-selected-text-color: var(--mauve)
# Buttons
paper-item-icon-color: '#C4AA87'
paper-item-icon-active-color: '#C4AA87'
# paper-item-icon-color: var(--subtext0)
# paper-item-icon-active-color: var(--primary-color)
# States and Badges
state-icon-color: var(--lavender)
state-icon-active-color: var(--primary-color)
state-icon-unavailable-color: var(--disabled-text-color)
# Sliders
paper-slider-knob-color: var(--blue)
paper-slider-knob-start-color: var(--paper-slider-knob-color)
paper-slider-pin-color: var(--paper-slider-knob-color)
paper-slider-active-color: var(--paper-slider-knob-color)
paper-slider-secondary-color: var(--blue)
# Labels
label-badge-background-color: var(--surface0)
label-badge-text-color: var(--text)
label-badge-red: var(--red)
label-badge-green: var(--green)
label-badge-blue: var(--blue)
label-badge-yellow: var(--yellow)
label-badge-gray: var(--overlay0)
# Cards
paper-dialog-background-color: var(--overlay0)
paper-listbox-background-color: var(--overlay0)
paper-card-background-color: var(--card-background-color)
# Switches
switch-checked-button-color: var(--green)
switch-checked-track-color: var(--surface0)
switch-unchecked-button-color: rgb(--overlay0)
switch-unchecked-track-color: rgb(--surface0)
# Toggles
paper-toggle-button-checked-button-color: var(--switch-checked-button-color)
paper-toggle-button-checked-bar-color: var(--switch-checked-track-color)
paper-toggle-button-unchecked-button-color: var(--switch-unchecked-button-color)
paper-toggle-button-unchecked-bar-color: var(--switch-unchecked-track-color)
# Table
table-row-background-color: var(--primary-background-color)
table-row-alternative-background-color: var(--secondary-background-color)
data-table-background-color: var(--primary-background-color)
mdc-checkbox-unchecked-color: var(--surface0)
# Dropdowns
material-background-color: var(--primary-background-color)
material-secondary-background-color: var(--primary-background-color)
mdc-theme-surface: var(--primary-background-color)
# Pre/Code
markdown-code-background-color: var(--surface0)
# Checkboxes
mdc-select-fill-color: var(--surface0)
mdc-select-ink-color: var(--primary-text-color)
mdc-select-label-ink-color: var(--subtext1)
mdc-select-idle-line-color: var(--primary-text-color)
mdc-select-dropdown-icon-color: var(--secondary-text-color)
mdc-select-hover-line-color: var(--accent-color)
# Input
input-fill-color: rgba(10,10,10,0.2)
# input-fill-color: var(--secondary-background-color)
input-dropdown-icon-color: var(--secondary-text-color)
input-ink-color: var(--primary-text-color)
input-label-ink-color: var(--secondary-text-color)
input-idle-line-color: var(--primary-text-color)
input-hover-line-color: var(--accent-color)
# Toast
paper-toast-background-color: var(--overlay0)
# Colors
error-color: var(--red)
warning-color: var(--yellow)
success-color: var(--green)
info-color: var(--blue)
state-on-color: var(--green)
state-off-color: var(--red)