summaryrefslogtreecommitdiff
path: root/src/content/img/link.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/content/img/link.svg (renamed from src/content/img/link/dark.svg)11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/content/img/link/dark.svg b/src/content/img/link.svg
index fd6ca35..7a0aa14 100644
--- a/src/content/img/link/dark.svg
+++ b/src/content/img/link.svg
@@ -1,7 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<svg width="22" height="22" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
+ <style>
+ svg {
+ fill: black;
+ }
+ @media (prefers-color-scheme: dark) {
+ svg {
+ fill: white;
+ }
+ }
+ </style>
<path
- fill="white"
fill-rule="evenodd"
d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" />
</svg>