In case if user want to install a different font we probably can react on it without any additional configuration from user.
Right now, user must set --va-font-familly css variable if Source Sans Pro is not installed.
:root {
--va-font-family: Inter;
}
We can change --va-font-family default value to Source Sand Pro, inherit - I think what it must do is to use Source Sand Pro by default, but in case if font is not available, we need to inherit font from page. User still able to override font familly, but by default we will inherit it from body (most likely from body, if font wasn't overridden somewhere else).
I think it is much more human solution than setting to sans-serif if font is not installed.
In case if user want to install a different font we probably can react on it without any additional configuration from user.
Right now, user must set
--va-font-familly
css variable if Source Sans Pro is not installed.We can change
--va-font-family
default value toSource Sand Pro, inherit
- I think what it must do is to use Source Sand Pro by default, but in case if font is not available, we need to inherit font from page. User still able to override font familly, but by default we will inherit it from body (most likely from body, if font wasn't overridden somewhere else).I think it is much more human solution than setting to sans-serif if font is not installed.
More context: https://github.com/epicmaxco/vuestic-ui/issues/4213
In this task: