Skip to content

theme.json: change text colors depending on background #24166

@oandregal

Description

@oandregal

I want to highlight an interaction that some themes do at the moment in PHP land, for which we don't have an alternative in the theme.json spec.

Note how the text color changes depending on the background color (dark/light combination):

text-color-change

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions