diff --git a/src/napari_sphinx_theme/assets/scss/components/footer.scss b/src/napari_sphinx_theme/assets/scss/components/footer.scss index af21a2ee..68d34ad2 100644 --- a/src/napari_sphinx_theme/assets/scss/components/footer.scss +++ b/src/napari_sphinx_theme/assets/scss/components/footer.scss @@ -22,7 +22,8 @@ } a { - @apply tw-text-white tw-whitespace-nowrap tw-no-underline; + @apply tw-text-white hover:tw-text-napari-light; + @apply tw-whitespace-nowrap tw-no-underline; @apply tw-mr-4 last:tw-mr-0 tw-mb-4; @apply tw-flex tw-flex-row tw-items-center; @@ -71,4 +72,22 @@ @apply tw-justify-between; } } + + .footer-icon { + &__hover-blue { + .footer-icon__light-blue { + @apply tw-hidden; + } + + &:hover { + .footer-icon__regular { + @apply tw-hidden; + } + + .footer-icon__light-blue { + @apply tw-block; + } + } + } + } } diff --git a/src/napari_sphinx_theme/theme/napari_sphinx_theme/_templates/napari-footer-links.html b/src/napari_sphinx_theme/theme/napari_sphinx_theme/_templates/napari-footer-links.html index 0af20c97..cfe582de 100644 --- a/src/napari_sphinx_theme/theme/napari_sphinx_theme/_templates/napari-footer-links.html +++ b/src/napari_sphinx_theme/theme/napari_sphinx_theme/_templates/napari-footer-links.html @@ -5,25 +5,30 @@ {% include "partials/icons/napari-hub.html" %} + {% include "partials/icons/napari-hub-light-blue.html" %} napari hub - + {% include "partials/icons/github.html" %} + {% include "partials/icons/github-light-blue.html" %} GitHub - + {% include "partials/icons/twitter.html" %} + {% include "partials/icons/twitter-light-blue.html" %} Twitter - + {% include "partials/icons/image-sc.html" %} + {% include "partials/icons/image-sc-light-blue.html" %} image.sc - + {% include "partials/icons/zulip.html" %} + {% include "partials/icons/zulip-light-blue.html" %} Zulip diff --git a/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/github-light-blue.html b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/github-light-blue.html new file mode 100644 index 00000000..2735a7dc --- /dev/null +++ b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/github-light-blue.html @@ -0,0 +1,13 @@ + + + diff --git a/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/github.html b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/github.html index a4dd4cb7..6898a5df 100644 --- a/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/github.html +++ b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/github.html @@ -1,4 +1,5 @@ + + + + + + + diff --git a/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/image-sc.html b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/image-sc.html index 8616efbe..449a2f38 100644 --- a/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/image-sc.html +++ b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/image-sc.html @@ -1,4 +1,5 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/twitter-light-blue.html b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/twitter-light-blue.html new file mode 100644 index 00000000..bfb28fd9 --- /dev/null +++ b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/twitter-light-blue.html @@ -0,0 +1,13 @@ + + + diff --git a/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/twitter.html b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/twitter.html index 0741093d..70a8a4da 100644 --- a/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/twitter.html +++ b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/twitter.html @@ -1,4 +1,5 @@ + + + + + + + + + diff --git a/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/zulip.html b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/zulip.html index c2008011..37e8a5b7 100644 --- a/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/zulip.html +++ b/src/napari_sphinx_theme/theme/napari_sphinx_theme/partials/icons/zulip.html @@ -1,4 +1,5 @@