mirror of
https://github.com/ko-build/ko.git
synced 2025-01-23 18:34:10 +02:00
feat(docs): Add dark theme
This commit is contained in:
parent
c98cb1e05f
commit
932656364f
1
docs/images/cncf-dark.svg
Normal file
1
docs/images/cncf-dark.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
@ -41,4 +41,7 @@ This can make it a good fit for lightweight CI/CD use cases.
|
||||
|
||||
`ko` is a Cloud Native Computing Foundation Sandbox project.
|
||||
|
||||
<a href="https://cncf.io"><img width=300 src="./images/cncf.svg" alt="CNCF logo" /></a>
|
||||
<a href="https://cncf.io">
|
||||
<img width=300 src="./images/cncf-light.svg#only-light" alt="CNCF logo" />
|
||||
<img width=300 src="./images/cncf-dark.svg#only-dark" alt="CNCF logo" />
|
||||
</a>
|
||||
|
21
mkdocs.yml
21
mkdocs.yml
@ -9,7 +9,26 @@ theme:
|
||||
favicon: images/favicon-96x96.png
|
||||
custom_dir: docs/custom/
|
||||
palette:
|
||||
primary: light blue
|
||||
# Palette toggle for automatic mode
|
||||
- media: "(prefers-color-scheme)"
|
||||
toggle:
|
||||
icon: material/brightness-auto
|
||||
name: Switch to light mode
|
||||
|
||||
# Palette toggle for light mode
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
primary: light blue
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
name: Switch to dark mode
|
||||
|
||||
# Palette toggle for dark mode
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
primary: light blue
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to system preference
|
||||
|
||||
nav:
|
||||
- index.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user