From e640e0ebc5aca4a941f493d4fa5b09a430eee2f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Dessureault?= <jfdess@gmail.com>
Date: Mon, 18 Dec 2023 23:15:17 -0500
Subject: [PATCH] use prefers color scheme in backspace svg

---
 images/icons/backspace.svg | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/images/icons/backspace.svg b/images/icons/backspace.svg
index 442735e..6af0eb4 100644
--- a/images/icons/backspace.svg
+++ b/images/icons/backspace.svg
@@ -1,3 +1,14 @@
 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 -960 960 960">
-    <path fill="#fff" d="M360-200q-20 0-37.5-9T294-234L120-480l174-246q11-16 28.5-25t37.5-9h400q33 0 56.5 23.5T840-680v400q0 33-23.5 56.5T760-200H360Zm400-80v-400 400Zm-400 0h400v-400H360L218-480l142 200Zm96-40 104-104 104 104 56-56-104-104 104-104-56-56-104 104-104-104-56 56 104 104-104 104 56 56Z"/>
+    <style>
+        path {
+            fill: white;
+        }
+
+        @media (prefers-color-scheme: light) {
+            path: {
+                fill: black;
+            }
+        }
+    </style>
+    <path d="M360-200q-20 0-37.5-9T294-234L120-480l174-246q11-16 28.5-25t37.5-9h400q33 0 56.5 23.5T840-680v400q0 33-23.5 56.5T760-200H360Zm400-80v-400 400Zm-400 0h400v-400H360L218-480l142 200Zm96-40 104-104 104 104 56-56-104-104 104-104-56-56-104 104-104-104-56 56 104 104-104 104 56 56Z"/>
 </svg>