diff options
Diffstat (limited to '')
| -rw-r--r-- | src/content/img/lock.svg (renamed from src/content/img/lock/dark.svg) | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/content/img/lock/dark.svg b/src/content/img/lock.svg index 98a36bc..faad538 100644 --- a/src/content/img/lock/dark.svg +++ b/src/content/img/lock.svg @@ -1,6 +1,15 @@ <?xml version="1.0" encoding="utf-8"?> <svg width="22" height="22" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> + <style> + svg { + fill: black; + } + @media (prefers-color-scheme: dark) { + svg { + fill: white; + } + } + </style> <path - fill="white" d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z" /> </svg> |
