Currently the theme loads common.css using the enqueue_block_assets action, but that means it is not loaded if the block editor is not loaded, like on admin pages.
It would be clearer to load 4 core CSS files:
frontend.css for frontend styles apart from blocks
admin.css for admin-only styles apart from blocks
common.css for common styles apart from blocks
blocks.css for block styles
Then the only question is whether _elements.scss should be included in common.css, or blocks.css.
Note: this may impact the behavior of some child themes.
Currently the theme loads
common.cssusing theenqueue_block_assetsaction, but that means it is not loaded if the block editor is not loaded, like on admin pages.It would be clearer to load 4 core CSS files:
frontend.cssfor frontend styles apart from blocksadmin.cssfor admin-only styles apart from blockscommon.cssfor common styles apart from blocksblocks.cssfor block stylesThen the only question is whether
_elements.scssshould be included incommon.css, orblocks.css.Note: this may impact the behavior of some child themes.