You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Roboto as the default font for the typography fields. Users are able to switch on typography options (with a toggle field) though. I'd like to prevent kirki loading the default google font if it's not actually in use. I think a workaround would be to check if one of the typography fields exists - and if not dequeue the font by myself. Not sure how complex it would be to do a check like this by default.
Great work btw!
Version used:
development
The text was updated successfully, but these errors were encountered:
You mean you have a setting that users can enable if they want to enable google fonts?
If that's the case, then you could disable google fonts when the checkbox is disabled by doing something similar to this:
Issue description:
Hey there,
I use Roboto as the default font for the typography fields. Users are able to switch on typography options (with a toggle field) though. I'd like to prevent kirki loading the default google font if it's not actually in use. I think a workaround would be to check if one of the typography fields exists - and if not dequeue the font by myself. Not sure how complex it would be to do a check like this by default.
Great work btw!
Version used:
development
The text was updated successfully, but these errors were encountered: