To opt-in for one of these features, call add_theme_support in the functions.php file of the theme. Some advanced block features require opt-in support in the theme itself as it’s difficult for the block to provide these styles, they may require some architecting of the theme itself, in order to work well. Let us take a look at the following examples to see how the text color property works: 1. Themes can add/override these styles, or they can provide no styles at all, and rely fully on what the blocks provide. While initial sets the color of the text to its default color, inherit does the bit of setting the color of the text as that set in the parent element. Created by Simon Stratford, Yeah comes in three styles, gold, silver and traditional black vector font. They also provide opt-in opinionated styles. Yeah is a color bitmap font with 3D foil balloon (mylar balloon) effect, perfect for party flyers, birthday cards, weddings, social media banners and so much more.
Step 4: Now apply webkit properties, the first one will. Step 3: Apply the linear gradient property with any colors of your choice.
Step 2: Do some basic styling like font-size and family etc. Step 1: Apply a basic background to the body tag and align the text to center of the page.
The new Blocks include baseline support in all themes, enhancements to opt-in to and the ability to extend and customize. Browse: Home / Block Editor Handbook / How-to Guides / Themes / Theme Support Theme Support Edit