Refactor/blockbase color admin (#6043)
Moved templates from old folder location to new (#6073)
Blockbase: Implement the Button elements API (#6041)
Blockbase: Implement Comment Block and removed CSS (#6080)
Fix/migrate blockbase font self hosted (#6123)
Blockbase children: update comments block (#6153)
Blockbase: Changed the trigger to render social icons (#6079)
Blockbase: move button padding styles from ponyfill to theme.json (#5901)
Co-authored-by: Grant Kinney <hi@grant.mk>
Co-authored-by: Jeremy Yip <jeremy.yip@automattic.com>
Co-authored-by: MaggieCabrera <maggie.cabrera@automattic.com>
Co-authored-by: madhusudhand <madhusudhan.dollu@gmail.com>
* Added Gutenberg check to Blockbase themes
* tucked the check into the if statement where it belongs
* Lint autofix.
* Update translation text domain
Co-authored-by: Jeff Ong <jonger4@gmail.com>
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
* Blockbase: Use the Global Styles rest API in the customizer
* Color and Fonts customizer: changing implementation
* Color and Fonts customizer: changing implementation
* unlinting
* unlinting
* Customizer: handling when settings or styles are not arrays
* Revert "Skatepark: dynamic duotone support (#4740)"
This reverts commit f1a3133076.
* Blockbase: Use the Global Styles rest API in the customizer
* Color and Fonts customizer: changing implementation
* unlinting
* unlinting
* Customizer: handling when settings or styles are not arrays
* Revert "Skatepark: dynamic duotone support (#4740)"
This reverts commit f1a3133076.
* remove unused function
* move settings to the theme key
* revert skatepark changes
* revert skatepark changes
* Renaming variables
* Reverting dded23b133
* re-adding delete_transient
* Remonving condition to unset fonts when default is selected
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* Test commit.
* Test.
* Test.
* test.
* test
* Update package.json.
* Update package-lock.json.
* Remove incorrect formatting.
* Test a syntax error.
* Test a style error.
* Remove weird undefined.
* test
* test
* test commit
* Update phpcodesniffer-composer-installer
* Update phpcompatibility-wp
* test
* fix composer
* test
* test
* Update composer lock
* test
* test.
* Fix linters error?
* test
* test
* reset
* test
* test
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
* Clear fontFamilies data to ensure what is posted is always correct. Refactored unset_property_if_it_exists() as it wasn't removing the fontFamilies Array as expected
* Change the way we fetch users CPT to use the Gutenberg function directly
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* Skatepark: simplify nav
* Add a block gap between the logo and other branding
* align the mobile menu to the botton
* Simplify skatepark's header to just use the Blockbase one
* refactor the social navigation code to make it eassier to pinpoint errors
* Skatepark: simplify nav
* Add a block gap between the logo and other branding
* align the mobile menu to the botton
* Simplify skatepark's header to just use the Blockbase one
* Remove header css
* update skatepark to have a wide header
* WIP variations script
* add some initial code to copy theme variants
* Add more variations
* Fix blue and slate variations
* Remove commas breaking theme.json
* Refactored script to exclude unnecessary elements, copy additional resources and merge theme.json data
* Added npm script target to variations build. Added readme files to variation destination.
* Removed unused 'foreground' palette color from geologist variations. Mapped 'secondary' palette color to 'secondary' custom color in base Geologist theme.
* Removed unused 'foreground' palette color from geologist variations. Mapped 'secondary' palette color to 'secondary' custom color in base Geologist theme.
* Made the variations script smart
* Made site title adjustments per design request
* Update the header to use the standard blockbase header
* Refactored the usage of default header out of a change to template part and instead introduced the concept of 'mods' that will change templates to suit
* Removed header modifications to Geologist variations
* Added Google font URL information to geologist-blue
* Add IBM Plex Mono to our list of cusotmization fonts
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* consolidate header styles designed for child themes into Blockbase which child themes can use as header/footer options.
* Refactor header spacing mechanism to use a spacer in a template part
* Refactor header layouts to allow for full-width background colors.
* Tweak navigation styles leveraged by headers to align with design intentions
* Various other header and navigation tweaks.
* Affects all Blockbase children
Co-authored-by: Maggie <maggie.cabrera@automattic.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* Replace user key with custom
* Rename user to custom in functions.php
* Added stopgap so that the solution will work with both < and > Gutenberg version 12.1
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Jason Crist <jcrist@pbking.com>
* Blockbase: Simplify our approach to font customization
* remove commented code
* Handle fonts that are customized the old way
* add comments
* update all child themes to use the new font customization settings
* Add a comment about this being a breaking change
* Add a notice when a user has an old version of blockbase
* Refactor Blockbase 404 page to block pattern instead of PHP page
* Adjustments to get 404 to render in child themes.
* Adjustments to style Skatepark's 404 based on original PHP file.
* corrected 404 page layout styles
* Refactored videomaker 404 to use Blockbase pattern but match original PHP file styling.
* Refactored videomaker 404 to use Blockbase pattern but match original PHP file styling.
* Added 'blank' message to index.php
* formatted PHP comment
* Hide the pattern in the inserter
* Only use the copy in the block
* adding 404 templates
* Removed unused class
* rename the prompt
* added spacer to align with what other child themes are doing
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Maggie <maggie.cabrera@automattic.com>
* added duotone support for blocks, removed it from the patterns markup
* Add duotone to site logo too
* If the user changes colors via the customizer also update the default Duotone filter
* created a new filter for the custom duotone
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
* delete new transient
* fix customizer preview and invert darker palettes
* check luminescence on php to see if we need to invert before saving
* Refactoring the code to make it easier to understand
* Remove closure
* refactor for readability
* merge user filter with theme ones
* Whitespace
* Check the array keys exist properly
* remove var_dumps
* check for the correct values when we define the custom filter
* minified colord file
* updated changelog and credited the colord library
* minified version of colord.js
* removed filter from logo
* Removed duplicated comment
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>