Skip to content

Should theme(palette.*) be normal theme elements? #6847

@arcresu

Description

@arcresu

Split from #6827 (comment).

The palette elements in the theme hierarchy are supported both for extensions and for end users wishing to change default palettes. They currently are not documented as parameters for theme() and do not work like with calc_element() in the same way as other elements. Should they behave like normal theme elements?

I think the status quo is a little confusing where they are used in the documentation example but not documented as parameters.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions