import { Meta, ColorPalette, ColorItem } from '@storybook/blocks'; import tailwindPreset from '../../tailwind.config.js';
All our CSS Custom Properties for colours are listed at "Swatches" column just below:
<?php | |
/** | |
* Prevent the loading of patterns from the WordPress.org Pattern Directory | |
*/ | |
add_filter( 'should_load_remote_block_patterns', '__return_false' ); | |
/** | |
* Remove patterns that ship with WordPress Core. | |
*/ | |
function bbfs_remove_core_block_patterns() { |
{ | |
"$schema": "https://schemas.wp.org/wp/6.2/theme.json", | |
"version": 2, | |
"settings": { | |
"appearanceTools": false, | |
"border": { | |
"color": false, | |
"radius": false, | |
"style": false, | |
"width": false |
# Determine modified and staged files. | |
JSSTAGED=$(git --no-pager diff --relative --name-only --cached --diff-filter=d -- '**/*.js' \ | |
| xargs -L 1 printf "%s/%s\n" "$PWD") | |
PHPSTAGED=$(git --no-pager diff --relative --name-only --cached --diff-filter=d -- '**/*.php' \ | |
| xargs -L 1 printf "%s/%s\n" "$PWD") | |
CSSSTAGED=$(git --no-pager diff --relative --name-only --cached --diff-filter=d -- '**/*.css' \ | |
| xargs -L 1 printf "%s/%s\n" "$PWD") | |
SCSSSTAGED=$(git --no-pager diff --relative --name-only --cached --diff-filter=d -- '**/*.scss' \ | |
| xargs -L 1 printf "%s/%s\n" "$PWD") | |
TSSTAGED=$(git --no-pager diff --relative --name-only --cached --diff-filter=d -- '**/*.ts' '**/*.tsx' \ |
#!/usr/bin/env sh | |
set -e | |
HAS_GIT=`command -v git 2&>/dev/null || echo "false"` | |
HAS_BREW=`command -v brew 2&>/dev/null || echo "false"` | |
HAS_VAGRANT=`command -v vagrant 2&>/dev/null || echo "false"` | |
HAS_VIRTUALBOX=`command -v VirtualBox 2&>/dev/null || echo "false"` | |
RED=`tput setaf 1` |
# Chassis configuration | |
hosts: | |
- wpaustralia.local | |
# Extensions | |
# | |
# Install a list of extensions automatically | |
extensions: | |
- chassis/xdebug | |
- chassis/mailhog |
hosts: | |
- thunderhead.local | |
database: | |
name: wordpress | |
user: wordpress | |
password: vagrantpassword | |
prefix: thunderhead_ | |
admin: | |
user: admin | |
email: [email protected] |
extensions: | |
- chassis/tester | |
- chassis/mailhog | |
- chassis/xdebug | |
- chassis/nodejs | |
- chassis/fish | |
- chassis/gulp | |
- chassis/grunt | |
- chassis/imagick | |
- chassis/gmagick |
chassis ⟩ vagrant up --provider=vmware_fusion | |
Bringing machine 'default' up with 'vmware_fusion' provider... | |
==> default: Checking if box 'bento/ubuntu-16.04' is up to date... | |
==> default: Verifying vmnet devices are healthy... | |
==> default: Preparing network adapters... | |
==> default: Fixed port collision for 22 => 2222. Now on port 2203. | |
==> default: Starting the VMware VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: SSH address: 172.16.138.166:22 | |
default: SSH username: vagrant |
$taxonomies = Fusion()->get_content_taxonomies(); | |
foreach ( $taxonomies as $taxonomy ) { | |
$tax_query['tax_query'][] = array( | |
'field' => 'term_id', | |
'terms' => $tags, | |
'taxonomy' => $taxonomy, | |
); | |
} |