diff options
author | EuAndreh <eu@euandre.org> | 2023-04-09 08:37:00 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-09 08:47:40 -0300 |
commit | 9557f9d508bf9bb61d4bb804084d6508f94e34f4 (patch) | |
tree | 49913ee12da48bcb13d036826c94939c32e7e108 /v2/src/content/img/dark-mode.xml | |
parent | v2: i18n of the collection name, "article" collection in root (diff) | |
download | euandre.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.xml | 12 |
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> |