apply_filters( 'astra_new_color_labels' )

Support for overriding theme.json from the child theme


Description

If theme.json is not present in the child theme load Global Color Palette in the editor using add_theme_support( ‘editor-color-palette’, $editor_palette );. This is a known issue in Gutenberg – If theme.json is not present in the child theme, it does fallback to the parent theme’s theme.json file. This will be fixed in the future updates of WordPress/Gutenberg.

See also


Source

File: inc/class-astra-global-palette.php

View on Trac



User Contributed Notes

You must log in before being able to contribute a note or feedback.