diff options
| author | 2022-01-25 21:42:51 +0100 | |
|---|---|---|
| committer | 2022-01-25 22:06:58 +0100 | |
| commit | f9cd68181137c72e92c6951efd9b8d29c4b73bc1 (patch) | |
| tree | a58451fb140d9c5ea023a45bd393127519a7918f /src/components/Icons/Moon.tsx | |
| parent | 2f27e222add9bf10b55971ab915ac411e81d24f0 (diff) | |
| download | client-f9cd68181137c72e92c6951efd9b8d29c4b73bc1.tar.gz client-f9cd68181137c72e92c6951efd9b8d29c4b73bc1.tar.bz2 client-f9cd68181137c72e92c6951efd9b8d29c4b73bc1.zip | |
Added dark mode
Diffstat (limited to 'src/components/Icons/Moon.tsx')
| -rw-r--r-- | src/components/Icons/Moon.tsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/Icons/Moon.tsx b/src/components/Icons/Moon.tsx new file mode 100644 index 0000000..7e3e680 --- /dev/null +++ b/src/components/Icons/Moon.tsx | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | import * as React from "react"; | ||
| 2 | |||
| 3 | export function Moon() { | ||
| 4 | return <svg xmlns="http://www.w3.org/2000/svg" | ||
| 5 | width="16" height="16" fill="currentColor" | ||
| 6 | className="bi bi-moon" | ||
| 7 | viewBox="0 0 16 16"> | ||
| 8 | <path | ||
| 9 | d="M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278zM4.858 1.311A7.269 7.269 0 0 0 1.025 7.71c0 4.02 3.279 7.276 7.319 7.276a7.316 7.316 0 0 0 5.205-2.162c-.337.042-.68.063-1.029.063-4.61 0-8.343-3.714-8.343-8.29 0-1.167.242-2.278.681-3.286z"/> | ||
| 10 | </svg>; | ||
| 11 | } | ||
