From 00203b419fa58d8463b0a6c8f87852aca6bbd142 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sat, 7 Sep 2024 18:29:53 +0200 Subject: certain icons are colored according to theme --- assets/css/blog.css | 8 ++++++++ assets/image/moon.svg | 2 +- templates/sidebar.html.j2 | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/assets/css/blog.css b/assets/css/blog.css index 028e4b9..e4f4bf8 100644 --- a/assets/css/blog.css +++ b/assets/css/blog.css @@ -10,6 +10,10 @@ --term-magenta: #b294bb; --term-cyan: #8abeb7; --term-white: #b5aba8; + + .filter-yellow{ + filter: brightness(0) saturate(100%) invert(91%) sepia(86%) saturate(596%) hue-rotate(314deg) brightness(96%) contrast(97%); + } } [used-theme="light"] { @@ -23,6 +27,10 @@ --term-magenta: #d52ad2; --term-cyan: #00dad5; --term-white: #f3f3f3; + + .filter-yellow { + filter: brightness(0) saturate(100%) invert(61%) sepia(18%) saturate(3874%) hue-rotate(6deg) brightness(101%) contrast(101%); + } } a[class*="theme-selector"] { diff --git a/assets/image/moon.svg b/assets/image/moon.svg index c0e3eeb..436e0fc 100644 --- a/assets/image/moon.svg +++ b/assets/image/moon.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/templates/sidebar.html.j2 b/templates/sidebar.html.j2 index f675735..a58c2cb 100644 --- a/templates/sidebar.html.j2 +++ b/templates/sidebar.html.j2 @@ -10,7 +10,7 @@ Sometimes I touch upon some more artistic stuff, but mostly just to amuse myself

My other thingies

- + Website @@ -41,7 +41,7 @@ Sometimes I touch upon some more artistic stuff, but mostly just to amuse myself

Contact me at

- + contact@wazul.moe

especially if you find some typos or bugs on the page

-- cgit v1.2.3-70-g09d2