dreamRs / gfonts

:abc: Offline Google Fonts for rmarkdown and shiny
https://dreamrs.github.io/gfonts/
112 stars 4 forks source link

use_font default selector issue #9

Open adamcohen3 opened 1 year ago

adamcohen3 commented 1 year ago

Thank you for making this package available. I had one small issue.

This did not apply the font to the entire page. use_font("montserrat", "www/css/montserrat.css")

I had to modify to this: use_font("montserrat", "www/css/montserrat.css", selector = c("div","h3","h4"))

pvictor commented 1 year ago

Hello, Are you using this in rmarkdown or in a shiny app ? Do you use a custom theme with bslib ?

adamcohen3 commented 1 year ago

In a shiny app. I haven't set any custom themes, but I am using Shinydashboard. I'm unsure if it applies custom theming.