diff --git a/themes/maik-blog/assets/scss/_main.scss b/themes/maik-blog/assets/scss/_main.scss
index ab0dc38..34af4cd 100644
--- a/themes/maik-blog/assets/scss/_main.scss
+++ b/themes/maik-blog/assets/scss/_main.scss
@@ -545,13 +545,21 @@ table {
position: relative;
text-decoration: none;
- --link-image: url('data:image/svg+xml;utf8,');
- --check-image: url('data:image/svg+xml;utf8,');
+ @mixin link-image($color) {
+ $color: "rgb(" + red($color) + "," + green($color) + "," +
+ blue($color) + ")";
+
+ --background-image: url('data:image/svg+xml;utf8,');
+ }
- --background-image: var(--link-image);
+ @include link-image($light-color);
+
+ .dark-theme & {
+ @include link-image($dark-color);
+ }
&.current-heading {
- --background-image: var(--check-image);
+ --background-image: url('data:image/svg+xml;utf8,');
}
&:hover {