fix: 预设几何配色压暗降饱和,保证白字可读

- 线性空间限亮度:底色对纯白 WCAG ≥ ~7:1,最亮的强调色也不低于 ~4.9:1,
  任意种子/色相都不会再产出浅亮底(之前空种子的草绿只有 2-3:1)
- 饱和度整体下压、偏中性,不再和白字抢注意力
- 空种子不再共用同一个色相:每种底纹有专属默认色相
  (条纹 215° 蓝 / 噪点 25° 琥珀 / 网格 265° 紫 / 同心弧 350° 玫红)
- 缩略图标签加半透明深色底衬,白字不再直接压在图案上
- 确定性机制、纯函数拆分、三个来源结构均未动
This commit is contained in:
2026-09-04 16:38:05 +08:00
parent d072067b00
commit 3e41c3fcf7
2 changed files with 75 additions and 14 deletions
+5 -3
View File
@@ -458,12 +458,14 @@ onBeforeUnmount(() => {
}
.thumb-label {
position: absolute;
left: 6px;
bottom: 5px;
left: 4px;
bottom: 4px;
color: var(--fg);
font-size: 11px;
line-height: 1.2;
text-shadow: 0 1px 3px rgb(0 0 0 / 0.7);
padding: 2px 5px;
border-radius: 3px;
background: rgb(0 0 0 / 0.55); /* 底衬:压暗条,白字底下不再直接是图案 */
}
/* Unsplash 结果网格:3 列 */