Skip to content

Commit

Permalink
Fix typos (#305)
Browse files Browse the repository at this point in the history
* fix gh icon link to right repo

* are these the right YAML <-> SASS variables for the fonts?
  • Loading branch information
apreshill committed Apr 12, 2021
1 parent 85f3b92 commit 854e018
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ navbar:
href: news/index.html
github:
icon: fab fa-github fa-lg
href: https://github.com/rstudio/flexdashboard
href: https://github.com/rstudio/bslib

reference:
- title: Theme creation
Expand Down
2 changes: 1 addition & 1 deletion vignettes/bs4-variables.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Below is a searchable table of Bootstrap 4 Sass variables. If you aren't sure wh
* Rows are grouped into sections of similar variables
* For example, [Navs](#nav-link-padding-y) (`shiny::tabsetPanel()`), [Navbars](#navbar-padding-y) (`shiny::navbarPage()`), and [Dropdowns](#dropdown-min-width) (e.g., `shiny::navbarMenu()`).
* Towards the top of the table are more general theming options like `white`, `gray-*`, `black`, `primary`, `border-radius`, and so on, which end up impacting more specific theming variables like `btn-border-radius`.
* `bs_theme()`'s `bg` and `fg` arguments provide a more convenient way to set the `white`, `gray-*`, and `black` variables, so there is no need to set these Sass variables directly (same goes for `font_base` -> `$font-family-base`, `font_heading` -> `$font-family-base`, and `font_code` -> `$font-family-monospace`).
* `bs_theme()`'s `bg` and `fg` arguments provide a more convenient way to set the `white`, `gray-*`, and `black` variables, so there is no need to set these Sass variables directly (same goes for `base_font` -> `$font-family-base`, `heading_font` -> `$headings-font-family`, and `code_font` -> `$font-family-monospace`).


```{css}
Expand Down

0 comments on commit 854e018

Please sign in to comment.