From d43682359fcab3136fa7eb5f002a30c1ba5866f1 Mon Sep 17 00:00:00 2001 From: Paul Wackerow <54227730+wackerow@users.noreply.github.com> Date: Tue, 15 Nov 2022 17:52:53 -0800 Subject: [PATCH] update icon svg colors to use currentColor enabled color-mode responsiveness with "color" prop --- src/components/UI/Header.tsx | 4 ++-- src/components/UI/icons/DiscordIcon.tsx | 2 +- src/components/UI/icons/GitHubIcon.tsx | 2 +- src/components/UI/icons/LensIcon.tsx | 2 +- src/components/UI/icons/MoonIcon.tsx | 2 +- src/components/UI/icons/TwitterIcon.tsx | 2 +- src/components/UI/icons/index.ts | 6 +++--- src/components/layouts/Footer.tsx | 21 ++++++--------------- 8 files changed, 16 insertions(+), 25 deletions(-) diff --git a/src/components/UI/Header.tsx b/src/components/UI/Header.tsx index 4d38b9fd89..490951ca7b 100644 --- a/src/components/UI/Header.tsx +++ b/src/components/UI/Header.tsx @@ -90,7 +90,7 @@ export const Header: FC = () => { /> - + @@ -100,7 +100,7 @@ export const Header: FC = () => { p={4} borderRight={{ base: '2px solid #11866f', md: 'none' }} > - + {/* HAMBURGER MENU */} diff --git a/src/components/UI/icons/DiscordIcon.tsx b/src/components/UI/icons/DiscordIcon.tsx index cea1987697..1d075a0f8e 100644 --- a/src/components/UI/icons/DiscordIcon.tsx +++ b/src/components/UI/icons/DiscordIcon.tsx @@ -5,7 +5,7 @@ export const DiscordIcon = createIcon({ viewBox:"0 0 32 24", path: ( - + ) }); \ No newline at end of file diff --git a/src/components/UI/icons/GitHubIcon.tsx b/src/components/UI/icons/GitHubIcon.tsx index 42d2da8667..56ee5b64de 100644 --- a/src/components/UI/icons/GitHubIcon.tsx +++ b/src/components/UI/icons/GitHubIcon.tsx @@ -5,7 +5,7 @@ export const GitHubIcon = createIcon({ viewBox:"0 0 26 24", path: ( - + ) }); \ No newline at end of file diff --git a/src/components/UI/icons/LensIcon.tsx b/src/components/UI/icons/LensIcon.tsx index b38e00a37c..d13c13776d 100644 --- a/src/components/UI/icons/LensIcon.tsx +++ b/src/components/UI/icons/LensIcon.tsx @@ -7,7 +7,7 @@ export const LensIcon = createIcon({ ) diff --git a/src/components/UI/icons/MoonIcon.tsx b/src/components/UI/icons/MoonIcon.tsx index 75153bd354..aa5db596a5 100644 --- a/src/components/UI/icons/MoonIcon.tsx +++ b/src/components/UI/icons/MoonIcon.tsx @@ -7,7 +7,7 @@ export const MoonIcon = createIcon({ ) diff --git a/src/components/UI/icons/TwitterIcon.tsx b/src/components/UI/icons/TwitterIcon.tsx index c544ba6041..02ea41f45a 100644 --- a/src/components/UI/icons/TwitterIcon.tsx +++ b/src/components/UI/icons/TwitterIcon.tsx @@ -5,7 +5,7 @@ export const TwitterIcon = createIcon({ viewBox:"0 0 28 22", path: ( - + ) }); \ No newline at end of file diff --git a/src/components/UI/icons/index.ts b/src/components/UI/icons/index.ts index d7ecb2cde5..3ebd814f42 100644 --- a/src/components/UI/icons/index.ts +++ b/src/components/UI/icons/index.ts @@ -1,6 +1,6 @@ -export * from './DiscordIcon' -export * from './GitHubIcon' +export * from './DiscordIcon'; +export * from './GitHubIcon'; export * from './HamburgerIcon'; export * from './LensIcon'; export * from './MoonIcon'; -export * from './TwitterIcon' +export * from './TwitterIcon'; diff --git a/src/components/layouts/Footer.tsx b/src/components/layouts/Footer.tsx index 2d88d6d638..a5b5ebe24b 100644 --- a/src/components/layouts/Footer.tsx +++ b/src/components/layouts/Footer.tsx @@ -99,11 +99,8 @@ export const Footer: FC = () => { @@ -126,11 +123,8 @@ export const Footer: FC = () => { @@ -150,11 +144,8 @@ export const Footer: FC = () => {