run scripts to remove dark mode from svg images

This commit is contained in:
Milan Hauth 2023-08-07 12:00:09 +02:00
parent 1bbef60535
commit 6f1d23c434
34 changed files with 6 additions and 506 deletions

View file

@ -1,20 +1,5 @@
<svg version="1.1" viewBox="0 400 800 200" xmlns="http://www.w3.org/2000/svg">
<style>svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -1,22 +1,8 @@
<svg title="alchi.five-value-scales.1-2"
version="1.1" viewBox="0 200 800 400" xmlns="http://www.w3.org/2000/svg"
>
<style>svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
<style>
svg { --fg: black; --bg: white; } /* light mode */
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -3,21 +3,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

@ -3,21 +3,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -1,21 +1,6 @@
<svg version="1.1" viewBox="0 200 800 400" xmlns="http://www.w3.org/2000/svg">
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -2,21 +2,6 @@
<svg version="1.1" viewBox="0 200 800 400" xmlns="http://www.w3.org/2000/svg">
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -1,21 +1,6 @@
<svg version="1.1" viewBox="0 200 800 400" xmlns="http://www.w3.org/2000/svg">
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -3,21 +3,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -4,21 +4,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -3,21 +3,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -8,13 +8,6 @@
<!-- TODO bigger heads, bigger numbers -->
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
.fig-four-body-types .stroke {
stroke-width: .5;

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -5,21 +5,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -10,21 +10,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -6,21 +6,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -5,21 +5,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

@ -5,21 +5,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -6,21 +6,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

View file

@ -5,21 +5,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

View file

@ -5,21 +5,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

@ -5,21 +5,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

View file

@ -2,21 +2,6 @@
version="1.1" viewBox="-200 400 800 200" xmlns="http://www.w3.org/2000/svg"
>
<style>svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -6,21 +6,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -5,21 +5,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;
@ -140,4 +125,4 @@
</g>
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

@ -5,21 +5,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View file

@ -6,21 +6,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

View file

@ -5,21 +5,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;
@ -140,4 +125,4 @@
</g>
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

@ -2,22 +2,8 @@
version="1.1" viewBox="0 200 1200 200"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
>
<style>svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
<style>
svg { --fg: black; --bg: white; } /* light mode */
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -6,21 +6,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

@ -5,21 +5,6 @@
>
<style>
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

@ -6,21 +6,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

View file

@ -9,21 +9,6 @@ https://boxy-svg.com/
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 8 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View file

@ -6,21 +6,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -6,21 +6,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -6,21 +6,6 @@
<defs>
<style type="text/css">
svg { --fg: black; --bg: white; } /* light mode */
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: white; --bg: black; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: white; --bg: black; } /* dark mode */
}
@media screen {
@media (prefers-color-scheme: dark) {
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
[data-darkreader-mode="dynamic"]
svg { --fg: #ffffff; --bg: #000000; } /* dark mode */
}
.fig1 .stroke {
stroke-width: 2;

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB