Skip to content

Commit

Permalink
make highlight color configurable in config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
JugglerX committed Mar 17, 2022
1 parent 5ebb6fd commit c2d76d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
--font-family-mono: monospace;
--base-color: #ffffff;
--base-offset-color: #eaeaea;
--highlight-color: #7b16ff;
--highlight-color: {{ .Site.Params.highlightColor | default "#7b16ff" }};
--heading-color: #1c1b1d;
--text-color: #4e5157;
}
Expand Down
4 changes: 3 additions & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ paginate = 3
[params]
google_analytics_id = ""
twitter_handle = "@zerostaticio"

showAuthorOnHomepage = true
showAuthorOnPosts = false
showPostsOnHomepage = false

addFrame = true
addDot = true

highlightColor = '#7b16ff'

0 comments on commit c2d76d9

Please sign in to comment.