Add dark mode to docs and a stroke to logo (#2894)

This commit is contained in:
Lion - dapplion
2021-07-27 16:40:48 +02:00
committed by GitHub
parent 6c2a1f0e16
commit 3a3ae0bd6b
14 changed files with 20 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
<p align="center"><a href="https://chainsafe.github.io/lodestar"><img width="400" title="Lodestar" src='assets/brand-assets/for-dark-backgrounds/full-mark.png' /></a></p>
<p align="center"><a href="https://chainsafe.github.io/lodestar"><img width="500" title="Lodestar" src='assets/lodestar_icon_text_black_stroke.png' /></a></p>
# Lodestar Monorepo

Binary file not shown.

Before

Width:  |  Height:  |  Size: 953 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 881 KiB

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

View File

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -1,4 +1,4 @@
![lodestar logo](assets/300ppi/FullMark-BLACK.png)
![lodestar logo](assets/lodestar_icon_text_black_stroke.png)
## Welcome to the Lodestar documentation!

View File

@@ -1,5 +1,5 @@
mkdocs>=1.1
mkdocs-material>=5.0
mkdocs>=1.2
mkdocs-material>=7.0
Pygments>=2.4
markdown>=3.2
pymdown-extensions>=7.0

View File

@@ -8,11 +8,23 @@ repo_url: https://github.com/chainsafe/lodestar
# Configuration
theme:
name: material
logo: assets/300ppi/short-LS-hookS-WHITE.png
favicon: images/favicon.ico
logo: assets/lodestar_icon_300.png
favicon: assets/round-icon.ico
palette:
scheme: preference
accent: black
- scheme: preference
media: "(prefers-color-scheme: light)"
primary: black
accent: deep purple
toggle:
icon: material/weather-night
name: Switch to dark mode
- scheme: slate
media: "(prefers-color-scheme: dark)"
primary: black
accent: deep purple
toggle:
icon: material/weather-sunny
name: Switch to light mode
nav_style: dark
plugins: