Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use_font default selector issue #9

Open
adamcohen3 opened this issue Jun 21, 2023 · 2 comments
Open

use_font default selector issue #9

adamcohen3 opened this issue Jun 21, 2023 · 2 comments

Comments

@adamcohen3
Copy link

adamcohen3 commented Jun 21, 2023

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
Copy link
Member

pvictor commented Jun 27, 2023

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

@adamcohen3
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants