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.
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 withcalc_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.