Adjust ha-fab button

This commit is contained in:
Wendelin 2025-07-28 14:49:42 +02:00
parent 98c9720acc
commit 98cfa30ee6
No known key found for this signature in database

View File

@ -14,6 +14,12 @@ export class HaFab extends FabBase {
static override styles = [
styles,
css`
:host {
--mdc-typography-button-text-transform: none;
--mdc-typography-button-font-size: var(--ha-font-size-l);
--mdc-typography-button-font-family: var(--ha-font-family-body);
--mdc-typography-button-font-weight: var(--ha-font-weight-medium);
}
:host .mdc-fab--extended .mdc-fab__icon {
margin-inline-start: -8px;
margin-inline-end: 12px;