diff --git a/client/src/ui/organisms/footer/index.scss b/client/src/ui/organisms/footer/index.scss index b5032c2f2852..f38222e11888 100644 --- a/client/src/ui/organisms/footer/index.scss +++ b/client/src/ui/organisms/footer/index.scss @@ -47,16 +47,31 @@ ul { padding-inline-start: $base-spacing / 4; } + } - svg { - height: 18px; - vertical-align: sub; - width: 18px; + .social-icon::before { + background-size: 18px; + content: ""; + display: inline-block; + filter: invert(1); + height: 18px; + vertical-align: sub; + width: 18px; + } - path { - fill: #fff; - } - } + .twitter::before { + background: transparent url("~@mdn/dinocons/social/twitter.svg") 0 0 + no-repeat; + } + + .github::before { + background: transparent url("~@mdn/dinocons/brands/github-mark-small.svg") 0 + 0 no-repeat; + } + + .instagram::before { + background: transparent url("~@mdn/dinocons/social/instagram.svg") 0 0 + no-repeat; } .footer-license { diff --git a/client/src/ui/organisms/footer/index.tsx b/client/src/ui/organisms/footer/index.tsx index 8f5e06c499d3..7810cdd6d556 100644 --- a/client/src/ui/organisms/footer/index.tsx +++ b/client/src/ui/organisms/footer/index.tsx @@ -1,9 +1,4 @@ import * as React from "react"; - -import { ReactComponent as GithubIcon } from "@mdn/dinocons/brands/github-mark-small.svg"; -import { ReactComponent as TwitterIcon } from "@mdn/dinocons/social/twitter.svg"; -import { ReactComponent as InstagramIcon } from "@mdn/dinocons/social/instagram.svg"; - import { useLocale } from "../../../hooks"; import { Logo } from "../../atoms/logo"; import "./index.scss"; @@ -76,22 +71,22 @@ export function Footer() {
@@ -102,22 +97,22 @@ export function Footer() {