
Note that due to https://bugzilla.mozilla.org/show_bug.cgi?id=1779457 / https://github.com/w3c/csswg-drafts/issues/7213, prefers-color-scheme works fine even if the user has an explicitly light theme or so. This fixes #2583 entirely.
13 lines
734 B
XML
13 lines
734 B
XML
<svg data-name="Flat (For Export)" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
<style>
|
|
:root { color-scheme: light dark; }
|
|
rect, path { fill: rgb(24, 25, 26); }
|
|
@media (prefers-color-scheme: dark) {
|
|
rect, path { fill: rgba(249, 249, 250, 0.8); }
|
|
}
|
|
</style>
|
|
<rect x="1" y="1" width="6" height="6" rx="1"/>
|
|
<path d="M14.75 3H13V1.25A0.25 0.25 0 0 0 12.75 1h-1.5A0.25 0.25 0 0 0 11 1.25V3H9.25A0.25 0.25 0 0 0 9 3.25v1.5A0.25 0.25 0 0 0 9.25 5H11v1.75A0.25 0.25 0 0 0 11.25 7h1.5A0.25 0.25 0 0 0 13 6.75V5h1.75A0.25 0.25 0 0 0 15 4.75v-1.5A0.25 0.25 0 0 0 14.75 3z" fill-rule="evenodd"/>
|
|
<rect x="1" y="9" width="6" height="6" rx="1"/>
|
|
<rect x="9" y="9" width="6" height="6" rx="1"/>
|
|
</svg>
|