Skip to content

Commit

Permalink
docs: improve colors and analytics
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Jun 27, 2021
1 parent decb73f commit d0efbe4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions www/docs/overrides/partials/integrations/analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% block analytics %}
<script async defer data-domain="nfpm.goreleaser.com" src="https://plausible.io/js/plausible.js"></script>
{% endblock %}
3 changes: 3 additions & 0 deletions www/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ edit_uri: edit/master/www/docs/

theme:
name: material
custom_dir: docs/overrides
language: en
logo: static/avatar.png
favicon: static/favicon.ico
Expand All @@ -22,6 +23,8 @@ theme:
name: Switch to light mode
- media: "(prefers-color-scheme: dark)" # Dark mode
scheme: slate
primary: light blue
accent: indigo
toggle:
icon: material/lightbulb
name: Switch to dark mode
Expand Down

0 comments on commit d0efbe4

Please sign in to comment.