* 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>
* Update Blockbase template part blocks
* Update Arbutus template part blocks
* Update Geologist template part blocks
* Update Payton template part blocks
* Update Russell template part blocks
* Update Seedlet Blocks template part blocks
* Update Skatepark template part blocks
* Update Videomaker template part blocks
* Update Zoologist template part blocks
* Remove zero margin
* Remove reference to Blockbase
* Remove zero margin from all themes
* Move align setting to group block
* absorb group into the footer block
* remove layout from header footer only template
* remove wrappers from russell
* Move layout settings to footer template part for Seedlet Blocks
* Remove footer wrapper for Skatepark
* Remove wrapper from post-meta-icons
* Fix Mayland Blocks post meta icons spacing
* remmove space
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* Videomaker: Update navigation width
* Update font sizes
* change the jusificiation to be center
* add social links to the navigation
* prevent the navigation wrapping
* Quadrat: fixing hover styles for buttons inside the subscribe form
* Quadrat: fix contact form submit button font weight
* Jetpack issue workaround: adding TODO commets to remove the CSS when the Jetpack issue is fixed
* Revert "Jetpack issue workaround: adding TODO commets to remove the CSS when the Jetpack issue is fixed"
This reverts commit b04559d5de.
* Revert "Quadrat: fix contact form submit button font weight"
This reverts commit 49573f481b.
* Revert "Quadrat: fixing hover styles for buttons inside the subscribe form"
This reverts commit efeb97a6ea.
* Blockbase: Fixing button font-weight and hover styles
* 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>
* Update all vertical nav blocks to new markup
* Update Videomaker header nav
* Update Arbutus header nav
* Update Blockbase header nav
* Update Geologist nav blocks
* Update Kerr nav block
* Update Mayland Blocks nav blocks
* Update Payton nav block
* Update Quadrat nav block
* Update Russell nav block
* Update Seedlet Blocks nav block
* Update Skatepark header nav block
* Update Videomaker pattern nav blocks
* Update Zoologist nav block
* Fix Blockbase menu
* Add missing setCascadingProperties prop
* Reset top margin on header navigation
* Updated build process to merge ALL attributes (as Gutenberg does) and re-defined the now missing custom templates items in the themes that would now lack them
* removed the build step tooling from blockbase
* converted build tool to a 'replacement tool'
* Removed build scripting from children package files
* Removed build scripting from children package files
* Run the script to remove child-theme.json files
* Update the version number and changelog for Blockbase
* Remove the rebuild script, we don't need it anymore
Co-authored-by: Ben Dwyer <ben@scruffian.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>
* Blockbase: Add query title block to all index templates
* remove from skatepark
* Add query title to payton and russell
* Add a space below the query title
* move blockbase post meta icons to block styles
* refactored geologist, removed unneeded css coming from Quadrat
* added meta icons to russell
* seedlet, zoologist refactored like geologist
* refactored Quadrat
* more unnecesary css
* applied to Mayland
* removed CSS from videomaker
* built mayland
* refactored Skatepark
* correct icon and size for Skatepark
* Videomaker: center nav items
* Videomaker: remove uppercase from nav block
* Videomaker: center social links
* Videomaker: add current-menu-item styles
* Videomaker: add underline to parent menu item
* Videomaker: increase nav spacing
* Videomaker: tweak spacing again
* Videomaker: style current menu item
* Videomaker: fix submenu centering
* Videomaker: make all pattern navs uppercase
* Blockbase: Remove ! important rules from navigation CSS
* Always show submenu items
* Remove another ! important
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* Update style.css
Adds auto-loading-homepage to stylesheet. Fixes homepage switching on WordPress.com
Themes:
- Blockbase
- Geologist
- Mayland Blocks
- Payton
- Quadrat
- Russell
- Seedlet Blocks
- Skatepark
- Videomaker
- Zoologist
* Adds at least 1 tag before auto-loading-homepage
Adds at least 1 tag before auto-loading-homepage to account for the dotorg script.
* Add copy of Quadrat's index.php to Geologist
* Remove all index.php and add to Blockbase
* Also delete the index from russell
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* Adjusted menu CSS to match recent changes in the block
* Adjusted mobile menu styling to fit recent changes to navigation block
* Style social nav on mobile only
* Made the same menu changes in Geologist as in Quadrat
* Corrected blockbase classes due to recent changes to navigation block
* Adjusted skatepark's navigation classes
* corrected videomaker classes
* Improved mobile navigation alignment for Seedlet Blocks
* Further addressed Seedlet's mobile stylings. Better addressed Blockbase mobile submenu spacing.
* Remove the margins on the social links block when in the nav
* Add a block style for 'clean mobile navigation block' and cleaned up base navigation block styles polyfill
* moved social menu location of styled mobile menu
* Renamed block style to improved responsive navigation
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* renamed a couple of functions from 'newtheme' to 'geologist'
* Update the build script to use the theme slug in the function names
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* Removed paragraph margin gap styles. They no longer seem to be needed.
* Add back needed paragraph styles
* add back missing file
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* Videomaker: Add block patterns
* Remove autoplay, loop and muted
* Match post meta to the comps
* Add more translations to the patterns
* Set the site title CSS in the theme.json
* Reset the header
* Update patterns - add video controls and update the source video
* Zoologist: Adding Zoologist from wpcom
* Copy changes back from Geologist to Zoologist
* Update templates and theme.json from Geologist and remove block patterns
* Remove query CSS
* Reset settings back to the right ones
* Put settings back to how they were
* Add social nav
* Blockbase: Add social navigation to blockbase themes
* Add social navigation links to primary navigation
* move to a different file
* add missing file
* suppress warnings for HTML5 elements
* only append social links to a navigation block if the block opts in
* Fix fatal
* Removed requirement to have social parent container be primary menu (or even have content)
* Fix layout for social nav
* Update the structure of the social links when appended to match the way that the navigation block works
Co-authored-by: Jason Crist <jcrist@pbking.com>
* Added font color and size styles to form input placeholder
* Update quadrat/sass/elements/_forms.scss
* Quadrat: Fix search form placeholder color in the editor
* Quadrat: Remove accidental theme.json changes
* Move fix to blockbase
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
* Blockbase: Remove CSS to bring up the page content and instead remove the bottom margin from post titles
* Change the paragraph spacing to use block gap
* Remove extra space on the figure.
* spaces to tabs.
* Change gap baseline to 15px.
* Reset paragraph margins.
* Add specific selectors to target paragraphs in the editor
* Add a comment to point to the GB issue
* Increase specificity of paragraph override.
* Ensure we provide a default paragraph margin too.
* Comment related Gutenberg issue.
Co-authored-by: Jeff Ong <jonger4@gmail.com>
Co-authored-by: Kjell Reigstad <kjell@kjellr.com>
* Blockbase: Update font size names
* Add overrides to geologist and quadrat
* Add a tiny custom variable to blockbase
* update templates to use new variable
* update block patterns
* update the post-meta font sizes
* Add a medium font size and make huge bigger
* replace font sizes in patterns with explict pixel values
Co-authored-by: Jeffrey Pearce <jeffikus@automattic.com>
* Drop "fontsToLoadFromGoogle" for child themes
Drop "fontsToLoadFromGoogle" in favor of the common "google" parameter. Child themes can simply set a "google" key/value for any Google fonts they need, just as the Blockbase does everywhere else.
I see no need (anymore) to have this separate custom section in the child theme json. Or am I missing something?
It just needs to be communicated and coordinated with child theme devs that still use "fontsToLoadFromGoogle"...
This also fixes#4460 and #4621
* Remove fontsToLoadFromGoogle from theme.json
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* removed non-gap margins from heading
* Blockbase: Add site logo
* Blockbase: Reduce the default logo size
* Refactored blockbase headers to include all of Quadrat's header design
* Added tagline to mayland blocks
* resized suggested dimensions per reccomendation
Co-authored-by: Jason Crist <jcrist@pbking.com>
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
* Blockbae: add more styles to .aligncenter
This now supports image alignment as well as the site-logo block alignment
* Blockbase: replace spaces with tabs
* Blockbase: Fix padding for the Group block with a background. Closes#4617
* Blockbase: Make sure Group spacing uses correct variables
* Add a general rule for has-background padding
* Remove the margin from the last child in a block with background color
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* Blockbase: add post-meta template part
* Blockbase: add post-tag icon
* Blockbase: remove tags from post meta
* Blockbase: add post tags to post meta
* Blockbase: add post tag SVG from Seedlet
* Blockbase: remove separator from post meta
* Blockbase: add spacer above post comments block
* Seedlet Blocks: add post tags to post meta
* Blockbase: enable blockGap & set gap size for all children
* Blockbase children: sync up child-theme.json files
They were all using --wp--custom--margin--vertical instead of --wp--custom--gap--vertical
* Blockbase children: change gap size to GB default of 0.5em
* Blockbase & co: use gap baseline across BB & all children
* Blockbase: add row-gap value to post-meta
* Skatepark: remove gap value
This is now applied via theme.json (as the same value)
* Blockbase: add comment next to use of !important
* Blockbase: add link to GB issue around block gaps
* remap quadrat colors, refactor selection to tertiary
* Refactored color customizations to exclusively use THEME provided values as the basis for colors to configure rather than optionally using USER provided values.
* Changed blockbase's tertiary color to match blank-canvas
* Changed seedlet-blocks tertiary color to match seedlet's
* Eliminated any text selection styling for Blockbase and children (with the exception of Skatepark)
Co-authored-by: Jason Crist <jcrist@pbking.com>
* Eliminated post-content margin custom CSS variable and used custom-gap-horizontal throughout instead
* refactored references from custom post-content padding to custom-margin in child themes
* refactored and simplified styles that were leveraging custom-post-content padding values
* Remove unused custom variables.
Co-authored-by: Jeff Ong <jonger4@gmail.com>
* Fix unchanged font setting reverting to default
These changes fix issue #4490
1. use current setting instead of default to fill in missing post data
2. remove unused $google_font_array
3 correct type-o `elemenets` in unset values
* Tweaked original fix and further corrected 'unset' logic
Co-authored-by: Rolf Allard van Hagen <ravanhagen@gmail.com>
* Blockbase: Update post meta to use flex
* move the blockGap config to styles
* Change the site header to use the new flex layout
Co-authored-by: Jason Crist <jcrist@pbking.com>
This change adresses multiple issues.
It:
1. prevents the possibility of an "empty" call to fonts.googleapis.com by returning empty instead of `https://fonts.googleapis.com/css2?&display=swap`, see issue #4458
2. prevents a child theme custom Google font to ALWAYS be loaded even if it's is not selected in the user settings
3. prevents duplicate URL parameters when both user body and header fonts are set to the same value with `array_unique`
* used render_callback to insert social menu from customizer
* return block content early
* change the condition under which we hijack the menu
* Remove extra navigation
* output block markup for the whole menu
* Render the menu at the social location, rather than the one called social
* map the right alignment from the nav block to the social icons block
* move the social nav to skatepark
* Replace any trailing numbers on menu items to better match them to service names
Co-authored-by: Ben Dwyer <ben@scruffian.com>
* Refactor text styles and add padding to groups w border.
* move group and column margin resets to blockbase
* rebuild
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Another attempt at alignments. With this change alignment rules no longer depend on trying to discern "inherit width" containers and instead installs a gutter on the top-level container. Any element that is "full width" is "busted out" of those gutters (with negative margins) and if those containers are groups themselves (group block, columns block or template parts) they also express those same gutter margins internally.