diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-27 11:20:26 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-27 11:20:26 +0100 |
| commit | 395571bd89498fce46d37f3853cf718387fd0d9a (patch) | |
| tree | 0b1a405fb82484e31f62f72485feac18ebd29ae2 /src/components/Icons/Moon/Moon.tsx | |
| parent | 7deed83dbb8835727c743662bee776794d460e74 (diff) | |
chore: add a theme toggle
Dark theme is not implemented yet.
Diffstat (limited to 'src/components/Icons/Moon/Moon.tsx')
| -rw-r--r-- | src/components/Icons/Moon/Moon.tsx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/components/Icons/Moon/Moon.tsx b/src/components/Icons/Moon/Moon.tsx new file mode 100644 index 0000000..b2e5f7b --- /dev/null +++ b/src/components/Icons/Moon/Moon.tsx @@ -0,0 +1,15 @@ +import styles from './Moon.module.scss'; + +const MoonIcon = () => { + return ( + <svg + className={styles.moon} + viewBox="0 0 100 100" + xmlns="http://www.w3.org/2000/svg" + > + <path d="M 51.077315,1.9893942 A 43.319985,43.319985 0 0 1 72.840039,39.563145 43.319985,43.319985 0 0 1 29.520053,82.88313 43.319985,43.319985 0 0 1 5.4309911,75.569042 48.132997,48.132997 0 0 0 46.126047,98 48.132997,48.132997 0 0 0 94.260004,49.867002 48.132997,48.132997 0 0 0 51.077315,1.9893942 Z" /> + </svg> + ); +}; + +export default MoonIcon; |
