Skip to content

New feature: AccentColor reflects the computed value of accent-color #4285

Description

@LeaVerou

Specification

https://drafts.csswg.org/css-color/#css-system-colors:~:text=To%20maintain%20consistency%20with%20widget

See also: w3c/csswg-drafts#5900

Description

To maintain consistency with widget accent color styling, AccentColor takes its value from accent-color, unless Forced Colors Mode is enabled. AccentColorText takes its value from the contrasting foreground color to AccentColor as is described for widget accent color styling.

Documentation

N/A

Browser support

https://chromestatus.com/feature/6207138742534144

None AFAIK (testcase)

Depends on #4284

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    early featuresFeature definition work for features without shipping implementationsfeature definitionCreating or defining new features or groups of features.feature entry requestA request for a new web platform feature entry

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions