8000 [css-color] [css-ui-4] Authors should have access to accent-color value to use in their code · Issue #5900 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-color] [css-ui-4] Authors should have access to accent-color value to use in their code #5900

@LeaVerou

Description

@LeaVerou

Edit: Resolved to do this


https://drafts.csswg.org/css-ui-4/#widget-accent

As discussed in today's telcon, there should be a keyword (akin currentColor) or other way to refer to the value of accent-color so that authors can use this in their designs as well.
The advantage of this over a custom property, is decoupling: that libraries can hook into existing code using accent-color (especially given proposed guidance to set it on the root), without the code needing to be aware of the existence of the library.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    TPAC/FTF agenda items

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0