黑暗模式切换: 两个状态足够了

2026年8月17日3 次浏览来源:CSS-Tricks阅读原文

正文保留英文原文(机翻易破坏代码与排版),标题/摘要已提供中文

莱亚正推回光/暗模式执行,显示三种状态选项供访客使用:光,暗,和系统. 黑暗模式切换:两个州已经足够了,最初在CSS-Tricks上手写并用爱来发布. 你也应该拿到通讯.

Lea's pushing back on light/dark mode implementations that display three state options for visitors: light, dark, and system. Dark mode toggles: two states are enough originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

分享