Deploy / deploy (push) Successful in 49s
上一版全站共用一个 useDark 之后,它一进页面仍要把 <html> 的 class 同步两遍,每遍都插 style + getComputedStyle 逼整页重算。class 已经对了就跳过,只有真要切换时才走原来那套。 CPU 降速 6 倍下每页省约 25ms;切换暗色、暗色下刷新、切回亮色都核过。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>