Replies: 2 comments 1 reply
-
|
You can style font-family where needed with UIX. Why dialogs don't use theme I am not sure. You can correct with UIX theme. Example below. UIX Test:
ha-font-family-body: monospace
uix-theme: UIX Test
uix-dialog: |
:host {
font-family: var(--ha-font-family-body);
}or if you are using uix-dialog-yaml UIX Test:
ha-font-family-body: monospace
uix-theme: UIX Test
uix-dialog-yaml: |
.: |
:host {
font-family: var(--ha-font-family-body);
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I expect this is to do with font you are using. What font is it and how are you loading. If it is a custom font you may need to specify in style for ha-drawer which is always loaded. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would love to see the power of UIX to set a custom font-family throughout a theme that inherits perfectly throughout the theme in ever table, modal, card and page. (r tries to solve it all in the cases where it is possible).
At the moment, it seems the dialogs and such are not respecting the set ha-default-font-family CSS variable, which would require UIX to fix it (I think).
Beta Was this translation helpful? Give feedback.
All reactions