drposter icon indicating copy to clipboard operation
drposter copied to clipboard

how to change colour in yaml file

Open dk231993 opened this issue 3 years ago • 1 comments

dk231993 avatar Mar 24 '22 11:03 dk231993

I don't know of a way to set it from the yaml header, but you can customize it from the custom.css file or an RMarkdown block:


custom.css:

:root {
	--header-color: #008040;
	--other-color-for-h2-gradient: #008080;
}

Or within your poster's .Rmd file (I'm less familiar with this method):

```{css, echo=FALSE}
:root {
	--header-color: #408040;
	--other-color-for-h2-gradient: #408080;
}
```

bbucior avatar Mar 25 '22 11:03 bbucior