Skip to content

请问有没有固定配色的方法或者选项? #4

@xavierskip

Description

@xavierskip

观察到此工具会根据系统的日间、夜间模式进行颜色适配,但是对于一些并没有进行这种适配的页面来说,在夜间模式的系统下,此工具页面的字体是浅色,因为页面并没有做暗色系统的适配同样也是浅色,导致难以阅读。

请问有没有方法或者选项来固定配色?

本来以为可以在 data-style="color-scheme: light;" 来固定使用浅色配色,结果发现除了 firefox ,其他浏览器均不兼容

image
https://developer.mozilla.org/zh-CN/docs/Web/CSS/@media/prefers-color-scheme#%E6%B5%8F%E8%A7%88%E5%99%A8%E5%85%BC%E5%AE%B9%E6%80%A7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions