From ec83cd0d25acb801f4a6986c6a1d544205dcd0f7 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 29 Apr 2025 10:26:20 -0300 Subject: src/content/img/: Adjust light/dark mode SVGs --- src/content/img/atom.svg | 6 ++ src/content/img/atom/dark.svg | 1 - src/content/img/atom/light.svg | 5 -- src/content/img/envelope/dark.svg | 7 ++- src/content/img/envelope/light.svg | 4 +- src/content/img/link/dark.svg | 8 ++- src/content/img/link/light.svg | 6 +- src/content/img/lock/dark.svg | 7 ++- src/content/img/lock/light.svg | 4 +- src/content/img/logo/dark.svg | 63 +++++++++++++++++++- src/content/img/logo/light.svg | 118 ++++++++++++++++++------------------- src/content/style.css | 6 +- 12 files changed, 161 insertions(+), 74 deletions(-) create mode 100644 src/content/img/atom.svg delete mode 120000 src/content/img/atom/dark.svg delete mode 100644 src/content/img/atom/light.svg mode change 120000 => 100644 src/content/img/envelope/dark.svg mode change 120000 => 100644 src/content/img/link/dark.svg mode change 120000 => 100644 src/content/img/lock/dark.svg mode change 120000 => 100644 src/content/img/logo/dark.svg (limited to 'src/content') diff --git a/src/content/img/atom.svg b/src/content/img/atom.svg new file mode 100644 index 0000000..23ab291 --- /dev/null +++ b/src/content/img/atom.svg @@ -0,0 +1,6 @@ + + + + diff --git a/src/content/img/atom/dark.svg b/src/content/img/atom/dark.svg deleted file mode 120000 index 4d0de78..0000000 --- a/src/content/img/atom/dark.svg +++ /dev/null @@ -1 +0,0 @@ -light.svg \ No newline at end of file diff --git a/src/content/img/atom/light.svg b/src/content/img/atom/light.svg deleted file mode 100644 index 37bace2..0000000 --- a/src/content/img/atom/light.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - diff --git a/src/content/img/envelope/dark.svg b/src/content/img/envelope/dark.svg deleted file mode 120000 index 4d0de78..0000000 --- a/src/content/img/envelope/dark.svg +++ /dev/null @@ -1 +0,0 @@ -light.svg \ No newline at end of file diff --git a/src/content/img/envelope/dark.svg b/src/content/img/envelope/dark.svg new file mode 100644 index 0000000..f521a8f --- /dev/null +++ b/src/content/img/envelope/dark.svg @@ -0,0 +1,6 @@ + + + + diff --git a/src/content/img/envelope/light.svg b/src/content/img/envelope/light.svg index c2251f4..12aba9f 100644 --- a/src/content/img/envelope/light.svg +++ b/src/content/img/envelope/light.svg @@ -1,4 +1,6 @@ - + diff --git a/src/content/img/link/dark.svg b/src/content/img/link/dark.svg deleted file mode 120000 index 4d0de78..0000000 --- a/src/content/img/link/dark.svg +++ /dev/null @@ -1 +0,0 @@ -light.svg \ No newline at end of file diff --git a/src/content/img/link/dark.svg b/src/content/img/link/dark.svg new file mode 100644 index 0000000..fd6ca35 --- /dev/null +++ b/src/content/img/link/dark.svg @@ -0,0 +1,7 @@ + + + + diff --git a/src/content/img/link/light.svg b/src/content/img/link/light.svg index e5c7050..fd9033f 100644 --- a/src/content/img/link/light.svg +++ b/src/content/img/link/light.svg @@ -1,5 +1,7 @@ - + diff --git a/src/content/img/lock/dark.svg b/src/content/img/lock/dark.svg deleted file mode 120000 index 4d0de78..0000000 --- a/src/content/img/lock/dark.svg +++ /dev/null @@ -1 +0,0 @@ -light.svg \ No newline at end of file diff --git a/src/content/img/lock/dark.svg b/src/content/img/lock/dark.svg new file mode 100644 index 0000000..98a36bc --- /dev/null +++ b/src/content/img/lock/dark.svg @@ -0,0 +1,6 @@ + + + + diff --git a/src/content/img/lock/light.svg b/src/content/img/lock/light.svg index 1a4a18e..d449467 100644 --- a/src/content/img/lock/light.svg +++ b/src/content/img/lock/light.svg @@ -1,4 +1,6 @@ - + diff --git a/src/content/img/logo/dark.svg b/src/content/img/logo/dark.svg deleted file mode 120000 index 4d0de78..0000000 --- a/src/content/img/logo/dark.svg +++ /dev/null @@ -1 +0,0 @@ -light.svg \ No newline at end of file diff --git a/src/content/img/logo/dark.svg b/src/content/img/logo/dark.svg new file mode 100644 index 0000000..96e0f87 --- /dev/null +++ b/src/content/img/logo/dark.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/content/img/logo/light.svg b/src/content/img/logo/light.svg index ce566b2..ab6000b 100644 --- a/src/content/img/logo/light.svg +++ b/src/content/img/logo/light.svg @@ -1,62 +1,62 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/content/style.css b/src/content/style.css index cbe615b..dbd7967 100644 --- a/src/content/style.css +++ b/src/content/style.css @@ -5,6 +5,8 @@ --color-2nd-bg: #f5f5f5; --color-pre-border: hsla(0, 100%, 0%, 30%); + --link-url: url(img/link/light.svg); + color: var(--color-fg); background-color: var(--color-bg); } @@ -16,6 +18,8 @@ --color-2nd-fg: #aaaaaa; --color-2nd-bg: #222222; --color-pre-border: hsla(50, 100%, 70%, 10%); + + --link-url: url(img/link/dark.svg); } a { @@ -192,7 +196,7 @@ div.header-anchor:hover img { } a.anchor { - background: transparent url(img/link/light.svg) center right no-repeat; + background: transparent var(--link-url) center right no-repeat; padding-right: 22px; margin-left: 10px; visibility: hidden; -- cgit v1.2.3