Skip to content

Alter the font being used when the active theme is changed? #13040

Answered by KaelWD
jsodeman asked this question in Q&A
Discussion options

You must be logged in to vote

Set the font SASS variable to a custom property then change that at runtime.

$body-font-family: var(--my-custom-font);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jsodeman
Comment options

Answer selected by jsodeman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants