aboutsummaryrefslogtreecommitdiff
path: root/v2/src/content/img
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-09 08:37:00 -0300
committerEuAndreh <eu@euandre.org>2023-04-09 08:47:40 -0300
commit9557f9d508bf9bb61d4bb804084d6508f94e34f4 (patch)
tree49913ee12da48bcb13d036826c94939c32e7e108 /v2/src/content/img
parentv2: i18n of the collection name, "article" collection in root (diff)
downloadeuandre.org-9557f9d508bf9bb61d4bb804084d6508f94e34f4.tar.gz
euandre.org-9557f9d508bf9bb61d4bb804084d6508f94e34f4.tar.xz
v2: CSS dark mode, including SVGs
Diffstat (limited to 'v2/src/content/img')
-rw-r--r--v2/src/content/img/dark-mode.xml12
-rw-r--r--v2/src/content/img/envelope.svg.uncolored (renamed from v2/src/content/img/envelope.svg)0
-rw-r--r--v2/src/content/img/favicon.svg.uncolored (renamed from v2/src/content/img/favicon.svg)0
-rw-r--r--v2/src/content/img/link.svg.uncolored (renamed from v2/src/content/img/link.svg)0
-rw-r--r--v2/src/content/img/linkto.svg.uncolored (renamed from v2/src/content/img/linkto.svg)0
-rw-r--r--v2/src/content/img/lock.svg.uncolored (renamed from v2/src/content/img/lock.svg)0
6 files changed, 12 insertions, 0 deletions
diff --git a/v2/src/content/img/dark-mode.xml b/v2/src/content/img/dark-mode.xml
new file mode 100644
index 0000000..7c2b572
--- /dev/null
+++ b/v2/src/content/img/dark-mode.xml
@@ -0,0 +1,12 @@
+ <defs>
+ <style>
+ path {
+ fill: black;
+ }
+ @media(prefers-color-scheme: dark) {
+ path {
+ fill: white;
+ }
+ }
+ </style>
+ </defs>
diff --git a/v2/src/content/img/envelope.svg b/v2/src/content/img/envelope.svg.uncolored
index c2251f4..c2251f4 100644
--- a/v2/src/content/img/envelope.svg
+++ b/v2/src/content/img/envelope.svg.uncolored
diff --git a/v2/src/content/img/favicon.svg b/v2/src/content/img/favicon.svg.uncolored
index ce566b2..ce566b2 100644
--- a/v2/src/content/img/favicon.svg
+++ b/v2/src/content/img/favicon.svg.uncolored
diff --git a/v2/src/content/img/link.svg b/v2/src/content/img/link.svg.uncolored
index e5c7050..e5c7050 100644
--- a/v2/src/content/img/link.svg
+++ b/v2/src/content/img/link.svg.uncolored
diff --git a/v2/src/content/img/linkto.svg b/v2/src/content/img/linkto.svg.uncolored
index d4d9fe1..d4d9fe1 100644
--- a/v2/src/content/img/linkto.svg
+++ b/v2/src/content/img/linkto.svg.uncolored
diff --git a/v2/src/content/img/lock.svg b/v2/src/content/img/lock.svg.uncolored
index 1a4a18e..1a4a18e 100644
--- a/v2/src/content/img/lock.svg
+++ b/v2/src/content/img/lock.svg.uncolored