style(config): 加入 Mica 云母效果

1. style(config): 默认亮暗色改为 LIGHT_MODE
2. 更新知更鸟 Credit: Pixiv @KiraraShss
3. style(config): 加入 theme-color 顶部横幅
This commit is contained in:
Ad-closeNN
2025-08-14 14:26:29 +08:00
parent 895eb0dae7
commit 1492795896
5 changed files with 119 additions and 42 deletions
+1
View File
@@ -99,6 +99,7 @@ const bannerOffset =
<meta name="twitter:title" content={pageTitle}>
<meta name="twitter:description" content={description || pageTitle}>
<meta name="theme-color" content="#48823b" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
{favicons.map(favicon => (
+1 -1
View File
@@ -92,7 +92,7 @@ const isSaturday = new Date().getDay() === 6;
"px-3 right-4 -top-[3.25rem] bg-black/60 hover:bg-black/70 h-9", {"hover:pr-9 active:bg-black/80": hasBannerLink}]}
>
<Icon class="text-white/75 text-[1.25rem] mr-1" name="material-symbols:copyright-outline-rounded" ></Icon>
<div class="text-white/75 text-xs">{"KiraraShss"}</div>
<div class="text-white/75 text-xs">{"Pixiv @KiraraShss"}</div>
<Icon class:list={["transition absolute text-[oklch(0.75_0.14_var(--hue))] right-4 text-[0.75rem] opacity-0",
{"group-hover:opacity-100": hasBannerLink}]}
name="fa6-solid:arrow-up-right-from-square">