single-post.html
header

What does settings.color.custom do?

Question: Does settings.color.custom false disable colour controls?

Answer: It doesn’t disable the color palette but does prevent the user from choosing a custom color.

Remember: Don’t use comments in your theme.json file. Validate it using JSON lint.{
    "version": 1,
    "settings": {
        "color": {
            "custom": false
        },
        "blocks": {
            "core/paragraph": {
                "color": {
                    "custom": true
                }
            }
        }
    }
}

Heading doesn’t allow custom color

Paragraph does

References

Global stylestheme.json

© Copyright Herb Miller, Bobbing Wide 2021