ThemeConfig
docblock
Configuration for theming and appearance.
Fields
bootswatch::String: Bootswatch theme name (default: “” = use default styles)dark_mode::Bool: Enable light/dark mode toggle (default: true)primary::String: Primary color (CSS color value)bg::String: Background colorfg::String: Foreground/text coloraccent::String: Accent/link colorfont_base::String: Base font familyfont_heading::String: Heading font familyfont_code::String: Code font familycode_highlight::String: Syntax highlighting theme (default: “github”)custom_css::String: Additional CSS to includecustom_scss::String: Additional SCSS variablesuse_default_styles::Bool: Apply default QuartoDocBuilder CSS (default: true)
Notes
When bootswatch is empty (default), the default QuartoDocBuilder styles are applied. When any bootswatch theme is specified (e.g., “flatly”, “cosmo”), the default styles are NOT applied.