### Building and Starting BlockTheme Assets (NPM) Source: https://github.com/bacoords/block-theme/blob/main/readme.md Provides the command-line instructions using npm to install project dependencies, build the theme's compiled CSS and JavaScript assets, and start a watch process for automatic rebuilding during development. ```Shell npm install ``` ```Shell npm run build ``` ```Shell npm run start ``` -------------------------------- ### Creating Custom Blocks in BlockTheme (NPM) Source: https://github.com/bacoords/block-theme/blob/main/readme.md Explains how to use the provided npm scripts, which wrap @wordpress/create-block, to scaffold new static or dynamic custom blocks within the theme's 'src/blocks' directory, automatically namespaced to 'block-theme'. ```Shell npm run create-block [block-name] ``` ```Shell npm run create-block:dynamic [block-name] ``` -------------------------------- ### Using SCSS Utils Mixins in BlockTheme Source: https://github.com/bacoords/block-theme/blob/main/readme.md Demonstrates how to import and use utility mixins, such as the 'breakpoint' mixin, from the 'src/scss/utils' directory within your theme or block-specific SCSS files. ```SCSS @use '../utils'; .my-class { @include utils.breakpoint('md') { color: red; } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.