summaryrefslogtreecommitdiff
path: root/src/content/img/envelope
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/content/img/envelope.svg (renamed from src/content/img/envelope/dark.svg)7
-rw-r--r--src/content/img/envelope/light.svg6
2 files changed, 6 insertions, 7 deletions
diff --git a/src/content/img/envelope/dark.svg b/src/content/img/envelope.svg
index f521a8f..aba3a80 100644
--- a/src/content/img/envelope/dark.svg
+++ b/src/content/img/envelope.svg
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<svg width="22" height="22" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg">
+ <style>
+ svg { fill: black }
+ @media (prefers-color-scheme: dark) {
+ svg { fill: white }
+ }
+ </style>
<path
- fill="white"
d="M1664 1504v-768q-32 36-69 66-268 206-426 338-51 43-83 67t-86.5 48.5-102.5 24.5h-2q-48 0-102.5-24.5t-86.5-48.5-83-67q-158-132-426-338-37-30-69-66v768q0 13 9.5 22.5t22.5 9.5h1472q13 0 22.5-9.5t9.5-22.5zm0-1051v-24.5l-.5-13-3-12.5-5.5-9-9-7.5-14-2.5h-1472q-13 0-22.5 9.5t-9.5 22.5q0 168 147 284 193 152 401 317 6 5 35 29.5t46 37.5 44.5 31.5 50.5 27.5 43 9h2q20 0 43-9t50.5-27.5 44.5-31.5 46-37.5 35-29.5q208-165 401-317 54-43 100.5-115.5t46.5-131.5zm128-37v1088q0 66-47 113t-113 47h-1472q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1472q66 0 113 47t47 113z" />
</svg>
diff --git a/src/content/img/envelope/light.svg b/src/content/img/envelope/light.svg
deleted file mode 100644
index 12aba9f..0000000
--- a/src/content/img/envelope/light.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<svg width="22" height="22" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg">
- <path
- fill="black"
- d="M1664 1504v-768q-32 36-69 66-268 206-426 338-51 43-83 67t-86.5 48.5-102.5 24.5h-2q-48 0-102.5-24.5t-86.5-48.5-83-67q-158-132-426-338-37-30-69-66v768q0 13 9.5 22.5t22.5 9.5h1472q13 0 22.5-9.5t9.5-22.5zm0-1051v-24.5l-.5-13-3-12.5-5.5-9-9-7.5-14-2.5h-1472q-13 0-22.5 9.5t-9.5 22.5q0 168 147 284 193 152 401 317 6 5 35 29.5t46 37.5 44.5 31.5 50.5 27.5 43 9h2q20 0 43-9t50.5-27.5 44.5-31.5 46-37.5 35-29.5q208-165 401-317 54-43 100.5-115.5t46.5-131.5zm128-37v1088q0 66-47 113t-113 47h-1472q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1472q66 0 113 47t47 113z" />
-</svg>