Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change colour in yaml file #14

Open
dk231993 opened this issue Mar 24, 2022 · 1 comment
Open

how to change colour in yaml file #14

dk231993 opened this issue Mar 24, 2022 · 1 comment

Comments

@dk231993
Copy link

No description provided.

@bbucior
Copy link
Owner

bbucior commented Mar 25, 2022

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;
}
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants