[控场AI]
概念CSS prefers-color-scheme

prefers-color-scheme

CSS 媒体查询特性,用于检测用户对明暗主题的偏好(light 或 dark),使开发者能适配系统或浏览器的深色模式。

来源文章