Skip to content

Commit

Permalink
roboto + custom colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Aug 31, 2023
1 parent bba8e36 commit c455917
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
:root {
--md-primary-fg-color: #8315F9;
--md-accent-fg-color: #00FFCE;
}
15 changes: 12 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
site_name: Zeta Docs
site_name: Package Docs
plugins:
- glightbox
- search
Expand All @@ -25,13 +25,13 @@ theme:
palette:
# Palette toggle for light mode
- scheme: default
primary: black
primary: 'custom'
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
primary: black
primary: 'custom'
accent: light blue
toggle:
icon: material/brightness-4
Expand All @@ -44,6 +44,13 @@ theme:
- navigation.expand
- navigation.top
- announce.dismiss
font:
text: Roboto
code: Roboto Mono

extra_css:
- stylesheets/extra.css

markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
Expand All @@ -58,6 +65,8 @@ markdown_extensions:
- tables
- def_list
- footnotes


nav:
- Home:
- Overview: "index.md"
Expand Down

0 comments on commit c455917

Please sign in to comment.