Skip to content

Commit

Permalink
Recolor and change git authors plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHeart committed Jun 7, 2024
1 parent 29b774a commit 8231020
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
site
/.vscode
.cache
16 changes: 16 additions & 0 deletions docs/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
:root {
--md-primary-fg-color: #e14a6d;
--md-primary-fg-color--light: #ffa5af;
--md-primary-fg-color--dark: #9e1c3b;

--md-accent-fg-color: #ffa5af;
--md-accent-fg-color--transparent: rgba(255, 165, 175, 0.1);
}

.md-header {
background-color: #402b66;
}

.md-tabs {
background-color: #402b66;
}
17 changes: 13 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,17 @@ theme:
custom_dir: overrides
palette:
# Palette toggle for dark mode
- scheme: slate
- scheme: slate
primary: custom
accent: custom
toggle:
icon: material/brightness-4
name: Switch to light mode

# Palette toggle for light mode
- scheme: default
primary: custom
accent: custom
toggle:
icon: material/brightness-7
name: Switch to dark mode
Expand All @@ -119,10 +123,15 @@ markdown_extensions:

plugins:
- search
- git-authors
- git-revision-date-localized
- git-committers:
repository: openshock/wiki
branch: master
- git-revision-date-localized:
enable_creation_date: true
- tags:
enabled: true
enabled: true
extra_css:
- "css/custom.css"

extra:
# Tag definitions for tagging pages.
Expand Down
11 changes: 0 additions & 11 deletions overrides/main.html

This file was deleted.

2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mkdocs
mkdocs-material
mkdocs-git-authors-plugin
mkdocs-git-committers-plugin-2
mkdocs-git-revision-date-localized-plugin

0 comments on commit 8231020

Please sign in to comment.