Skip to content

Commit

Permalink
Add custom isort documentation theme
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Jul 29, 2020
1 parent 444c4ee commit 107bf48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions art/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[data-md-color-scheme="isort"] {
--md-primary-fg-color: #EF8336;
--md-primary-fg-color--light: #1674B1;
--md-primary-fg-color--dark: #1674b1;
}
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,14 @@ isort = "isort.main:ISortCommand"
isort = "isort = isort.pylama_isort:Linter"

[tool.portray.mkdocs]
edit_uri="https://github.com/timothycrosley/isort/edit/develop/"
edit_uri = "https://github.com/timothycrosley/isort/edit/develop/"
extra_css = ["art/stylesheets/extra.css"]

[tool.portray.mkdocs.theme]
name = "material"
favicon = "art/logo.png"
logo = "art/logo.png"
palette = {primary = "orange", accent = "indigo"}
palette = {scheme = "isort"}

[build-system]
requires = ["poetry>=0.12"]
Expand Down

0 comments on commit 107bf48

Please sign in to comment.