Context
No response
Bug description
So I've followed the steps here:
https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#custom-colors
I have the following for the theme block in my mkdocs.yml:
theme:
name: material
palette:
primary: custom
extra_css:
- stylesheets/extra.css
features:
- navigation.tabs
- navigation.sections
- navigation.expand
- navigation.top
- search.suggest
- search.highlight
- content.code.annotate
- content.code.copy
And then use the following in docs/stylesheets/extra.css:
:root > * {
--md-primary-fg-color: #25252d;
--md-primary-fg-color--light: #25252d;
--md-primary-fg-color--dark: #25252d;
--md-accent-fg-color: #25252d;
}
But I'm always ending up with the default blue colour. Am I missing something obvious here?
Related links
N/A
Reproduction
N/A
Steps to reproduce
N/A
Browser
No response
Before submitting
Context
No response
Bug description
So I've followed the steps here:
https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#custom-colors
I have the following for the theme block in my
mkdocs.yml:And then use the following in
docs/stylesheets/extra.css:But I'm always ending up with the default blue colour. Am I missing something obvious here?
Related links
N/A
Reproduction
N/A
Steps to reproduce
N/A
Browser
No response
Before submitting