-
I need to allow users to select an alternate theme that changes not only the colors but also the font being used. I have the main theme working using the Vuetify constructor's theme property and a variables.scss file. I've found how to alter the theme being used by modifying the $vuetify var, but I can't find any way to modify the font being used. It looks like Presets might be an option, but it's not clear if you can have multiple presets added to the project and select one when calling the Vuetify constructor. Also, having to publish an npm package just to support changing the font feels overly complex if that's what is required. Can anyone point me in the right direction? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Set the font SASS variable to a custom property then change that at runtime. $body-font-family: var(--my-custom-font); |
Beta Was this translation helpful? Give feedback.
Set the font SASS variable to a custom property then change that at runtime.