From 020dc44c138193ad0a63a9778bb832ac7afed1f1 Mon Sep 17 00:00:00 2001 From: Zivan Karaman <30553159+zivankaraman@users.noreply.github.com> Date: Tue, 20 Aug 2024 21:05:07 +0200 Subject: [PATCH] Fixed 'Bootstwatch' typo in customise.Rmd (#2767) --- vignettes/customise.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/customise.Rmd b/vignettes/customise.Rmd index 095726b2b..7f671e656 100644 --- a/vignettes/customise.Rmd +++ b/vignettes/customise.Rmd @@ -243,7 +243,7 @@ navbar: bg: primary ``` -You generally don't need to set `bg` if you use a bootswatch theme, as pkgdown will pick the `bg` used on the [Bootstwatch preview](https://bootswatch.com/). +You generally don't need to set `bg` if you use a bootswatch theme, as pkgdown will pick the `bg` used on the [Bootswatch preview](https://bootswatch.com/). Similarly, you don't usually need to set `type` because bootstrap will guess it for you. If the guess is wrong, you can override with `type: light` or `type: dark` depending on whether the background colour is light (so you need dark text) or `type: dark` if the background is dark (so you need light text). Unfortunately, these are defined relative to the page background, so if you have a dark site you'll need to flip `light` and `dark` (a little experimentation should quickly determine what looks best).