You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/06/08 15:27:26 UTC

(superset) 01/01: docs(footer): render social icons as uniform white

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch docs/footer-social-icons-white
in repository https://gitbox.apache.org/repos/asf/superset.git

commit f916a74301e974890554890f10a6026d6eb87961
Author: Claude Code <no...@anthropic.com>
AuthorDate: Mon Jun 8 08:27:11 2026 -0700

    docs(footer): render social icons as uniform white
    
    The social media badges added in #38108 use each brand's native fill
    (Slack #4A154B aubergine, X #484848 near-black, etc.). On the dark footer
    background (#173036) Slack is effectively invisible and X is very low
    contrast. The icons are single-path glyphs with transparent cut-out
    counters, so a `filter: brightness(0) invert(1)` renders them as clean
    uniform white logos that read consistently against the footer — without
    shipping separate recolored SVG assets.
    
    Co-Authored-By: Claude Opus 4.8 <no...@anthropic.com>
---
 docs/src/styles/main.css | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/src/styles/main.css b/docs/src/styles/main.css
index 58a05f74332..2a819710c73 100644
--- a/docs/src/styles/main.css
+++ b/docs/src/styles/main.css
@@ -291,6 +291,12 @@ a > span > svg {
 .footer__social-links img {
   height: 24px;
   width: 24px;
+  /* The brand SVGs ship in their native colors (e.g. Slack's dark aubergine,
+     X's near-black), which disappear on the dark footer. Render them all as
+     uniform white silhouettes. The icons are single-path glyphs whose
+     counters (the LinkedIn "in", Slack gaps, Reddit face) are transparent
+     cut-outs, so they stay legible against the footer background. */
+  filter: brightness(0) invert(1);
 }
 
 .footer__ci-services {