Skip to content

Commit

Permalink
move font addition to themesAndFunctions.R
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickabolger committed Nov 15, 2023
1 parent 9b13c2f commit 3fbf060
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
14 changes: 0 additions & 14 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -71,20 +71,6 @@ invisible(lapply(packagesRequired, require, character.only=T))
```


```{r}
#| label: getFontRaleway
#| output: false
## use *raleway* font throughout
## an active internet connection is required for this step
font_add_google("Raleway", "raleway")
showtext_auto()
```


```{r}
#| label: readTidiedData
#| output: false
Expand Down
5 changes: 5 additions & 0 deletions themesAndFunctions.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# themes

## font

font_add_google("Raleway", "raleway")
showtext_auto()

## set a general theme for sjPlot

sjPlot::set_theme(
Expand Down

0 comments on commit 3fbf060

Please sign in to comment.