From 81866db226f3c1f2671c593dbe4f7a50bf2ae3e8 Mon Sep 17 00:00:00 2001 From: Daniel McCloy Date: Wed, 22 Jan 2025 15:01:57 -0600 Subject: [PATCH] update scss accordingly --- .../assets/styles/components/_icon-links.scss | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/pydata_sphinx_theme/assets/styles/components/_icon-links.scss b/src/pydata_sphinx_theme/assets/styles/components/_icon-links.scss index bb4334c09..8b3bcfda5 100644 --- a/src/pydata_sphinx_theme/assets/styles/components/_icon-links.scss +++ b/src/pydata_sphinx_theme/assets/styles/components/_icon-links.scss @@ -35,7 +35,7 @@ ul.navbar-icon-links { list-style: none; // Icons styling - i { + svg { &.fa-brands, &.fa-regular, &.fa-solid { @@ -44,18 +44,13 @@ ul.navbar-icon-links { font-size: var(--pst-font-size-icon); } - /* Social media buttons hard-code the brand color */ - &.fa-square-twitter::before { - color: #55acee; - } + /* We no longer color the social media icons in their brand colors (makes a11y harder) + but this one is left in as an example in case we decide to go back to it someday: - &.fa-square-gitlab::before { - color: #548; - } - - &.fa-bitbucket::before { - color: #0052cc; + &.fa-square-twitter { + color: #55acee; } + */ } // Force images to be icon-sized