From 0a954547b2bb8136c97f3a697274319751e046ed Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 5 Jan 2022 12:00:43 +0100 Subject: chore: replace theme button with settings I plan to add more user settings so theme options should be inside settings. --- src/components/Icons/Cog/Cog.module.scss | 10 ++++++++++ src/components/Icons/Cog/Cog.tsx | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 src/components/Icons/Cog/Cog.module.scss create mode 100644 src/components/Icons/Cog/Cog.tsx (limited to 'src/components/Icons/Cog') diff --git a/src/components/Icons/Cog/Cog.module.scss b/src/components/Icons/Cog/Cog.module.scss new file mode 100644 index 0000000..4fad00b --- /dev/null +++ b/src/components/Icons/Cog/Cog.module.scss @@ -0,0 +1,10 @@ +@use "@styles/abstracts/functions" as fun; + +.icon { + display: block; + width: var(--icon-size, #{fun.convert-px(40)}); + margin: auto; + fill: var(--color-primary-lighter); + stroke: var(--color-border); + stroke-width: 4; +} diff --git a/src/components/Icons/Cog/Cog.tsx b/src/components/Icons/Cog/Cog.tsx new file mode 100644 index 0000000..7a04d76 --- /dev/null +++ b/src/components/Icons/Cog/Cog.tsx @@ -0,0 +1,16 @@ +import styles from './Cog.module.scss'; + +const CogIcon = () => { + return ( + + + + + ); +}; + +export default CogIcon; -- cgit v1.2.3