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 +- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'assets') 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 + -- cgit v1.2.3-70-g09d2