Skip to content

Commit

Permalink
feat: docs colors (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickAlphaC authored Oct 18, 2024
1 parent 3487e1d commit 4dcd8ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@

html_theme = "shibuya"
html_theme_options = {
"accent_color": "purple",
"accent_color": "orange",
"twitter_creator": "cyfrinaudits",
"twitter_site": "cyfrinaudits",
"twitter_url": "https://twitter.com/cyfrinaudits",
"github_url": "https://github.com/cyfrin",
}
html_css_files = ["custom.css"]

html_static_path = ["_static"]
html_favicon = "_static/favicon.svg"

Expand Down
3 changes: 3 additions & 0 deletions docs/source/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
html[data-accent-color='orange'] {
--accent-9: #ff8f08;
}

0 comments on commit 4dcd8ff

Please sign in to comment.