fix(baseline): 调整暗模式背景亮度计算,增加亮度比例至 1.2

This commit is contained in:
徐涛
2026-01-15 10:52:57 +08:00
parent ff858ccbcd
commit a0d02dd8a2

View File

@@ -308,7 +308,7 @@ impl Baseline {
let (foreground, background) = if is_dark {
// Dark mode: foreground = neutral_lightest, background = neutral_darkest with +10% lightness
let background_darkest = Oklch {
l: (neutral_darkest.l * 1.1).min(1.0),
l: (neutral_darkest.l * 1.2).min(1.0),
..*neutral_darkest
};
(*neutral_lightest, background_darkest)