Increase font size for alarm keypad number buttons#8120
Increase font size for alarm keypad number buttons#8120bramkragten merged 3 commits intohome-assistant:devfrom
Conversation
|
Maybe this could be in the middle, or a config option? It seems to just not fit in with the rest of the UI. |
|
@KTibow What do you mean by "be in the middle"? If we end up not changing it via this PR, then we should perhaps ensure that the keypad number font size can be controlled by a theme, so users have a chance to adjust since I do understand the reasoning for this from a usability point of view.. |
|
I'd rather see this as a themeable option |
|
I mean |
I don't think Material Design allows uneven numbers. But either way, we will not change it directly in the frontend core (see Bram's response), but instead offer the option for themes to define a size. There you could then go for 21px if you wanted to. |
| } | ||
|
|
||
| mwc-button.numberkey { | ||
| --mdc-typography-button-font-size: var(--keypad-font-size, 0.875rem); |
There was a problem hiding this comment.
0.875rem is the default from MDC.
Breaking change
Proposed change
Allow the option to style the font size for alarm keypad number buttons for better readability. The non-number buttons are left unchanged.
Example when styled to 22px:

Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: