Discuss the need for a CSS framework #28144
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
[Type] Discussion
For issues that are high-level and not yet ready to implement.
I am in the process of migrating the theme for my wife's business from the Genesis framework to only using blocks. My wife's website uses WooCommerce + Sensei to sell eBooks and video courses. But really, I just wanted an excuse to play with the new FSE tool. As I'm moving blocks and trying to create a copy of the Genesis theme, I found myself using a lot of "helper" classes to customize the display (is-flex, is-inline-block, has-uppercase-text-transform, is-open-sans-font, etc.). I included all of these helper classes in my stylesheet.
I wonder if WordPress and/or Gutenberg should provide a common CSS framework for customizing these blocks. There is some precedent, as the class "is-vertically-aligned-center" exists for flex. I feel that if the goal of the FSE is to avoid having to code, then the best way to customize the display of the blocks is to use the "Additional CSS class(es)" field.
I was just wondering if you had considered this, and what the cons to this approach would be.
The text was updated successfully, but these errors were encountered: