Skip to content

[css-color] AccentColor in Forced Colors Mode #11332

Open
@alisonmaher

Description

@alisonmaher

In #5900, we resolved that "AccentColor takes its value from accent-color, and AccentColorText takes its value from the appropriately contrasting foreground color for AccentColor; these resolve at computed value time".

In Forced Colors Mode, for various color properties, "if its computed value is a color other than a system color, its used value is instead forced to a system color as follows".

Because AccentColor and AccentColorText are considered system colors, if these are used by the author, we wouldn't override those colors to another system color in Forced Colors Mode. As such, I am wondering if we should add a clarification to the above resolution that this does not apply in Forced Colors Mode so that we ensure that actual system color is exposed, as opposed to the author accent-color in this case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions