aboutsummaryrefslogtreecommitdiff
path: root/v2/src/content/img/dark-mode.xml
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/dark-mode.xml
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/dark-mode.xml')
-rw-r--r--v2/src/content/img/dark-mode.xml12
1 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>