mirror of
https://github.com/monero-project/monero-docs.git
synced 2024-12-23 03:59:23 +00:00
Add dark theme
This commit is contained in:
parent
8d8e38685c
commit
4b156b4d08
2 changed files with 24 additions and 3 deletions
|
@ -8,3 +8,18 @@ article .md-typeset__table td:nth-child(1) {
|
||||||
article .md-typeset__table {
|
article .md-typeset__table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--md-primary-fg-color: #121212;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-md-color-scheme="default"] {
|
||||||
|
--md-typeset-a-color: #4051b5;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
[data-md-color-scheme="slate"] {
|
||||||
|
--md-hue: 232;
|
||||||
|
--md-default-bg-color: #121212;
|
||||||
|
--md-typeset-a-color: #FF6600;
|
||||||
|
}
|
||||||
|
|
10
mkdocs.yml
10
mkdocs.yml
|
@ -75,10 +75,16 @@ theme:
|
||||||
text: Roboto
|
text: Roboto
|
||||||
code: Roboto Mono
|
code: Roboto Mono
|
||||||
favicon: assets/favicon.png
|
favicon: assets/favicon.png
|
||||||
|
|
||||||
palette:
|
palette:
|
||||||
|
- scheme: default
|
||||||
primary: white
|
primary: white
|
||||||
accent: indigo
|
toggle:
|
||||||
|
icon: material/weather-night
|
||||||
|
name: Switch to dark mode
|
||||||
|
- scheme: slate
|
||||||
|
toggle:
|
||||||
|
icon: material/weather-sunny
|
||||||
|
name: Switch to light mode
|
||||||
icon:
|
icon:
|
||||||
logo: logo
|
logo: logo
|
||||||
logo: 'images/monero.svg'
|
logo: 'images/monero.svg'
|
||||||
|
|
Loading…
Reference in a new issue