Add a rebuild tool for varia themes

This commit is contained in:
Ben Dwyer 2020-09-14 22:03:05 +01:00
parent 279bcc88d7
commit 8e3c04310b
26 changed files with 50 additions and 166 deletions

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.86806rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.86806rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}
@ -2804,11 +2799,6 @@ body:not(.fse-enabled) .site-description {
z-index: 1;
}
.main-navigation > div > ul li:hover, .main-navigation > div > ul li[focus-within] {
cursor: pointer;
z-index: 99999;
}
.main-navigation > div > ul li:hover, .main-navigation > div > ul li:focus-within {
cursor: pointer;
z-index: 99999;
@ -2821,14 +2811,6 @@ body:not(.fse-enabled) .site-description {
/* Submenu display */
}
.main-navigation > div > ul li:hover > ul,
.main-navigation > div > ul li[focus-within] > ul,
.main-navigation > div > ul li ul:hover,
.main-navigation > div > ul li ul:focus {
visibility: visible;
opacity: 1;
display: block;
}
.main-navigation > div > ul li:hover > ul,
.main-navigation > div > ul li:focus-within > ul,
.main-navigation > div > ul li ul:hover,
.main-navigation > div > ul li ul:focus {

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.71818rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}
@ -2804,11 +2799,6 @@ body:not(.fse-enabled) .site-description {
z-index: 1;
}
.main-navigation > div > ul li:hover, .main-navigation > div > ul li[focus-within] {
cursor: pointer;
z-index: 99999;
}
.main-navigation > div > ul li:hover, .main-navigation > div > ul li:focus-within {
cursor: pointer;
z-index: 99999;
@ -2821,14 +2811,6 @@ body:not(.fse-enabled) .site-description {
/* Submenu display */
}
.main-navigation > div > ul li:hover > ul,
.main-navigation > div > ul li[focus-within] > ul,
.main-navigation > div > ul li ul:hover,
.main-navigation > div > ul li ul:focus {
visibility: visible;
opacity: 1;
display: block;
}
.main-navigation > div > ul li:hover > ul,
.main-navigation > div > ul li:focus-within > ul,
.main-navigation > div > ul li ul:hover,
.main-navigation > div > ul li ul:focus {

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.71818rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -546,7 +546,6 @@
"requires": {
"bluebird": "3.5.5",
"chokidar": "3.0.2",
"lodash": "^4.17.19",
"yargs": "13.3.0"
},
"dependencies": {
@ -594,6 +593,11 @@
"integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
"dev": true
},
"lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA=="
},
"require-main-filename": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
@ -1520,8 +1524,16 @@
"dev": true,
"requires": {
"glob": "~7.1.1",
"lodash": "^4.17.19",
"lodash": "~4.17.10",
"minimatch": "~3.0.2"
},
"dependencies": {
"lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
"dev": true
}
}
},
"graceful-fs": {
@ -2050,12 +2062,6 @@
}
}
},
"lodash": {
"version": "4.17.15",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
"dev": true
},
"log-symbols": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz",
@ -2414,7 +2420,7 @@
"get-stdin": "^4.0.1",
"glob": "^7.0.3",
"in-publish": "^2.0.0",
"lodash": "^4.17.19",
"lodash": "^4.17.15",
"meow": "^3.7.0",
"mkdirp": "^0.5.1",
"nan": "^2.13.2",
@ -2445,6 +2451,12 @@
"supports-color": "^2.0.0"
}
},
"lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
"dev": true
},
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@ -3733,11 +3745,17 @@
"dev": true,
"requires": {
"chalk": "^2.4.1",
"lodash": "^4.17.19",
"lodash": "^4.17.11",
"log-symbols": "^2.2.0",
"postcss": "^7.0.7"
},
"dependencies": {
"lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
"dev": true
},
"postcss": {
"version": "7.0.17",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.17.tgz",
@ -4058,9 +4076,17 @@
"dev": true,
"requires": {
"glob": "^7.0.0",
"lodash": "^4.17.19",
"lodash": "^4.0.0",
"scss-tokenizer": "^0.2.3",
"yargs": "^13.3.2"
},
"dependencies": {
"lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
"dev": true
}
}
},
"scss-tokenizer": {

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1662,11 +1662,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.75614rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.75614rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.6802rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1663,11 +1663,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.75614rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.64rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1525,11 +1525,6 @@ object {
font: var(--global--font-size-sm);
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - var(--global--spacing-unit)) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}
@ -2804,11 +2799,6 @@ body:not(.fse-enabled) .site-description {
z-index: 1;
}
.main-navigation > div > ul li:hover, .main-navigation > div > ul li[focus-within] {
cursor: pointer;
z-index: 99999;
}
.main-navigation > div > ul li:hover, .main-navigation > div > ul li:focus-within {
cursor: pointer;
z-index: 99999;
@ -2821,14 +2811,6 @@ body:not(.fse-enabled) .site-description {
/* Submenu display */
}
.main-navigation > div > ul li:hover > ul,
.main-navigation > div > ul li[focus-within] > ul,
.main-navigation > div > ul li ul:hover,
.main-navigation > div > ul li ul:focus {
visibility: visible;
opacity: 1;
display: block;
}
.main-navigation > div > ul li:hover > ul,
.main-navigation > div > ul li:focus-within > ul,
.main-navigation > div > ul li ul:hover,
.main-navigation > div > ul li ul:focus {

View file

@ -1664,11 +1664,6 @@ button[data-load-more-btn], .button {
font-size: 0.69444rem;
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - 16px) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -42,6 +42,8 @@
"build:woocommerce-rtl": "rtlcss style-woocommerce.css style-woocommerce-rtl.css",
"build": "run-p \"build:*\"",
"watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
"child-theme": "sh ../theme-dev-utils/build-child-theme.sh"
"child-theme": "sh ../theme-dev-utils/build-child-theme.sh",
"postinstall": "cd ../alves && npm install",
"children": "sh ./rebuild-child-themes.sh"
}
}

View file

@ -0,0 +1,10 @@
#!/bin/bash
declare -a ChildThemes=("alves" "balasana" "barnsbury" "brompton" "coutoire" "dalston" "exford" "hever" "leven" "mayland" "maywood" "morden" "redhill" "rivington" "rockfield" "shawburn" "stow" "stratford" )
for child in ${ChildThemes[@]}; do
echo 'Rebulding '${child}
cd '../'${child}
npm install
npm run build
done