mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 02:36:37 +00:00
Add header text align theme variable to stack cards (#20563)
* Update hui-stack-card.ts Added variable * Update hui-stack-card.ts Updated the variable, so that it would not be in line with the rest of the variables. In this way, the variable only works for hui-stack titles. * Update hui-stack-card.ts Co-authored-by: Bram Kragten <mail@bramkragten.nl> --------- Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
ff9f331287
commit
11f2bef05c
@ -92,6 +92,7 @@ export abstract class HuiStackCard<T extends StackCardConfig = StackCardConfig>
|
||||
return css`
|
||||
.card-header {
|
||||
color: var(--ha-card-header-color, var(--primary-text-color));
|
||||
text-align: var(--ha-stack-title-text-align, start);
|
||||
font-family: var(--ha-card-header-font-family, inherit);
|
||||
font-size: var(--ha-card-header-font-size, 24px);
|
||||
font-weight: normal;
|
||||
|
Loading…
x
Reference in New Issue
Block a user