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 | |
| parent | 2f27e222add9bf10b55971ab915ac411e81d24f0 (diff) | |
| download | client-f9cd68181137c72e92c6951efd9b8d29c4b73bc1.tar.gz client-f9cd68181137c72e92c6951efd9b8d29c4b73bc1.tar.bz2 client-f9cd68181137c72e92c6951efd9b8d29c4b73bc1.zip | |
Added dark mode
Diffstat (limited to 'src/components/Icons')
| -rw-r--r-- | src/components/Icons/Moon.tsx | 11 | ||||
| -rw-r--r-- | src/components/Icons/Sliders.tsx | 10 | ||||
| -rw-r--r-- | src/components/Icons/Sun.tsx | 9 | ||||
| -rw-r--r-- | src/components/Icons/Trash.tsx | 13 |
4 files changed, 43 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 | } | ||
diff --git a/src/components/Icons/Sliders.tsx b/src/components/Icons/Sliders.tsx new file mode 100644 index 0000000..9feef34 --- /dev/null +++ b/src/components/Icons/Sliders.tsx | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | import * as React from "react"; | ||
| 2 | |||
| 3 | export function Sliders() { | ||
| 4 | return <svg xmlns="http://www.w3.org/2000/svg" width="16" | ||
| 5 | height="16" fill="currentColor" | ||
| 6 | className="bi bi-sliders" viewBox="0 0 16 16"> | ||
| 7 | <path fill-rule="evenodd" | ||
| 8 | d="M11.5 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM9.05 3a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0V3h9.05zM4.5 7a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM2.05 8a2.5 2.5 0 0 1 4.9 0H16v1H6.95a2.5 2.5 0 0 1-4.9 0H0V8h2.05zm9.45 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm-2.45 1a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0v-1h9.05z"/> | ||
| 9 | </svg>; | ||
| 10 | } | ||
diff --git a/src/components/Icons/Sun.tsx b/src/components/Icons/Sun.tsx new file mode 100644 index 0000000..93a5187 --- /dev/null +++ b/src/components/Icons/Sun.tsx | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | import * as React from "react"; | ||
| 2 | |||
| 3 | export function Sun() { | ||
| 4 | return <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" | ||
| 5 | fill="currentColor" className="bi bi-sun" viewBox="0 0 16 16"> | ||
| 6 | <path | ||
| 7 | d="M8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z"/> | ||
| 8 | </svg>; | ||
| 9 | } | ||
diff --git a/src/components/Icons/Trash.tsx b/src/components/Icons/Trash.tsx new file mode 100644 index 0000000..b1fb2c3 --- /dev/null +++ b/src/components/Icons/Trash.tsx | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | import * as React from "react"; | ||
| 2 | |||
| 3 | export default function Trash() { | ||
| 4 | return ( | ||
| 5 | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" | ||
| 6 | fill="currentColor" className="bi bi-trash" viewBox="0 0 16 16"> | ||
| 7 | <path | ||
| 8 | d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"/> | ||
| 9 | <path fill-rule="evenodd" | ||
| 10 | d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"/> | ||
| 11 | </svg> | ||
| 12 | ) | ||
| 13 | } | ||
