Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/bacoords/block-styles-manager/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This is an in progress project to create a block styles manager for WordPress. The idea is to create a UI to manage block styles.
Follow along here: https://www.briancoords.com/build-in-public/
Filters
block-styles-manager/location
This filter allows you to change the location of the directory where CSS files are saved. By default, the directory is located in /wp-content/block-styles.
add_filter( 'block-styles-manager/location', function( $location ) {
return get_template_directory() . '/block-styles';
} );