1.8.0
Responsive font sizing controls
This release adds advanced controls for making text more readable on larger cards while preserving the compact default behavior. This feature was suggested by @khenderick in pr #21.
Added
- Added
font_size_maxto raise or lower the responsive text-size ceiling. - Added
font_size_scaleto tune how quickly text grows with available row height. - Added CSS custom properties for theme/card-mod overrides:
--hnl-flow-bars-font-size-min--hnl-flow-bars-font-size-fluid--hnl-flow-bars-font-size-max--hnl-flow-bars-font-size--hnl-flow-bars-font-size-scale
The new font options can be found in the "Advanced" panel in the "Appearance" section of the card's visual editor.
Improved
- Entity names now appear based on available bar-row height using line-height-aware container queries.
- Invalid
font_size_maxvalues are ignored safely, keeping the default14pxceiling active. - Documented the new YAML options and CSS variables in the README.
Fixed
- Restored energy statistics fallback using cumulative
statedifferences whenchangeandsumvalues are unavailable.