darkmode_setup | R Documentation |
See https://quarto.org/docs/output-formats/html-themes.html for more info about themes and setting up dark mode
darkmode_setup( light_theme = "flatly", dark_theme = "darkly", quarto_yml = "_quarto.yml", light_scss = "light.scss", dark_scss = "dark.scss", default = "light", type = c("website", "book") )
light_theme |
the light bootswatch theme |
dark_theme |
the dark bootswatch theme |
quarto_yml |
the location of the _quarto.yml file |
light_scss |
the location of the custom scss file for the light theme |
dark_scss |
the location of the custom scss file for the dark theme |
default |
whether the light or dark theme is the default |
type |
the type of quarto document ("website" or "book") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.