diff options
| author | Eltrac <hi@guhub.cn> | 2025-07-15 19:44:52 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-07-15 19:44:52 +0800 |
| commit | 8dbba62ebdab237ba868963bf5daf1af1be1f26b (patch) | |
| tree | c4e390e5814bd8a160037e5651112d8e63ff0c3a | |
| parent | c4c1805d77372e562e4679621f8bb3ec7eb029ed (diff) | |
fix: language switch has low visibility in dark mode
also refactored using UnoCSS
| -rw-r--r-- | layouts/_partials/header.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html index 98d6109e..04ea6695 100644 --- a/layouts/_partials/header.html +++ b/layouts/_partials/header.html @@ -28,7 +28,7 @@ {{- $entry := index $switch $lang -}} <a href="{{ $entry.url }}" data-umami-event="🌍 Switch Language" class="no-swup" title="{{ $entry.label }}"> - <img src="/img/globe.svg" style="display: block; width:1.2em; height: 1.2em"> + <img src="/img/globe.svg" class="invert-if-dark block w-[1.2em] h-[1.2em]"> </a> </div> </header> |
