There isn’t anything super amazing in this minor (and subsequent patch) update, but stable software isn’t always mind-blowing. Sometimes it’s enough to know that the thing works, and works well.
1.1.0
Ankur is a block theme for WordPress, and that means that most of its styling comes from the theme.json
file, not custom stylings. To that end, up to this point I’ve been using version 2 of the schema . Now, I’m using version 3. The primary reason for this was initially for the use of the defaultFontSizes
flag. You see, even though Ankur has its own font size definitions, there didn’t seem to be a way to remove or hide the default Gutenberg font sizes. Now there is.
And speaking of custom sizes, a side effect of upgrading to version 3 of the scheme was that my custom spacing definitions no longer worked. As a result, I rewrote the spacing to use the updated schema’s automatic spacing generation to replace it.
While Ankur does use theme.json to generate the majority of its styles, there are still some styles that it can’t do. Thus, I do have a custom stylesheet that gets loaded as well. I did have to update each reference to the spacing properties, as the names changed.
1.1.1
I missed a couple references in the custom stylesheet for the updated spacing, so this update fixed that.
Leave a Reply