Skip to content

Commit

Permalink
changed announcement and darkmode icons
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeoson committed Feb 24, 2024
1 parent ebed55c commit 17173da
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}



16 changes: 15 additions & 1 deletion docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
{% extends "base.html" %}

<!-- Announcement bar -->
{% block announce %}
<!-- Add announcement here, including arbitrary HTML -->
This site is under development. It is a total mess currently. It really should not be public.
For updates follow <strong>@lukeoson</strong> on
<a rel="me" href="https://www.linkedin.com/in/luke-richardson/">
<span class="twemoji linkedin">
{% include ".icons/fontawesome/brands/linkedin.svg" %}
</span>
<strong>LinkedIn</strong>
</a>
and
<a href="https://twitter.com/lukeoson">
<span class="twemoji twitter">
{% include ".icons/fontawesome/brands/twitter.svg" %}
</span>
<strong>x Twitter</strong>
</a>
{% endblock %}
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,21 @@ theme:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
icon: material/link
name: Switch to light mode

# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
icon: material/toggle-switch
name: Switch to dark mode

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
icon: material/toggle-switch-off
name: Switch to system preference
features:
# MISC
Expand Down

0 comments on commit 17173da

Please sign in to comment.