mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 12:46:35 +00:00
Fix prettier
This commit is contained in:
parent
542982f55d
commit
ccaeebf9ac
@ -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"] =
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user