Fix prettier

This commit is contained in:
Wendelin 2025-05-27 16:27:30 +02:00
parent 542982f55d
commit ccaeebf9ac
No known key found for this signature in database
2 changed files with 6 additions and 4 deletions

View File

@ -77,7 +77,9 @@ export const applyThemesOnElement = (
const rgbLightPrimaryColor = lab2rgb(labBrighten(labPrimaryColor));
themeRules["light-primary-color"] = rgb2hex(rgbLightPrimaryColor);
themeRules["dark-primary-color"] = lab2hex(labDarken(labPrimaryColor));
themeRules["darker-primary-color"] = lab2hex(labDarken(labPrimaryColor, 2));
themeRules["darker-primary-color"] = lab2hex(
labDarken(labPrimaryColor, 2)
);
themeRules["text-primary-color"] =
rgbContrast(rgbPrimaryColor, [33, 33, 33]) < 6 ? "#fff" : "#212121";
themeRules["text-light-primary-color"] =

View File

@ -296,9 +296,9 @@ export const colorStyles = css`
--ha-button-primary-light-color: var(--light-primary-color);
--ha-button-primary-dark-color: var(--dark-primary-color);
--ha-button-primary-darker-color: var(--darker-primary-color);
--ha-button-error-color: #B30532;
--ha-button-error-light-color: #FFDEDC;
--ha-button-error-color: #b30532;
--ha-button-error-light-color: #ffdedc;
--ha-button-error-dark-color: #6e021f;
--ha-button-error-darker-color: #530016;