Skip to content

Commit

Permalink
add dark mode in mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
CarduCaldeira committed Jun 3, 2024
1 parent 7a2113f commit 2ae0027
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 28 deletions.
22 changes: 22 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@ repo_url: https://github.com/CarduCaldeira/template-python-postgres
docs_dir: docs/
theme:
name: material
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: 'indigo'
accent: 'indigo'
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: 'indigo'
accent: 'indigo'
features:
- navigation.instant
- navigation.tabs
- navigation.top
- toc.integrate
- content.code.annotate
- content.tabs.link
- search.highlight
- search.share
- header.autohide
- header.sticky
- navigation.tracking
- mode-toggle
language: pt-BR

plugins:
Expand Down
56 changes: 28 additions & 28 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2ae0027

Please sign in to comment.