-
Hi, Previously in quarto the default cosmo was the "1", in quarto 1.4 the default is "3". Is there a way to set cosmo and one of these 3 sub settings? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's not a "mode" you can switch.
Alternatively, if you need less control, you can use |
Beta Was this translation helpful? Give feedback.
It's not a "mode" you can switch.
You need to use
scss
, see https://quarto.org/docs/output-formats/html-themes-more.html and https://quarto.org/docs/output-formats/html-themes.html.At the moment, I don't know how to reuse$secondary
,$dark
, etc. fromcosmo
theme.Edit: you can't.
Alternatively, if you need less control, you can use
background
,foreground
, etc., yaml keys fromnavbar
, see https://quarto.org/docs/reference/projects/websites.html#navbar.So you can set
background
toprimary
,light
,dark
, etc.Note that this will only change the navbar, nothing else in the theme.