Skip to content

Commit

Permalink
style: change layout (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Sep 20, 2024
1 parent ccd2533 commit bbf18bf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
Binary file modified docs/assets/images/favicon.ico
Binary file not shown.
Binary file added docs/assets/images/godot-js.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 24 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ nav:
theme:
name: material
favicon: assets/images/favicon.ico
# logo: ./assets/logo.svg
logo: assets/images/godot-js.png
icon:
repo: fontawesome/brands/github
features:
Expand All @@ -32,6 +32,29 @@ theme:
- search.highlight
- content.code.copy
- content.tabs.link
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
primary: black
toggle:
icon: material/brightness-auto
name: Switch to light mode

# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: black
toggle:
icon: material/brightness-7
name: Switch to dark mode

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
toggle:
icon: material/brightness-4
name: Switch to system preference

markdown_extensions:
- pymdownx.highlight:
Expand Down

0 comments on commit bbf18bf

Please sign in to comment.