Commit graph

476 commits

Author SHA1 Message Date
Ben Dwyer
955628f282
Blockbase: Update the package.json (#5253)
* Blockbase: Update the package.json

* update

* Add author
2021-12-24 13:51:23 +00:00
Ben Dwyer
e3762b3329
Blockbase: Update customizer PHP library to work with latest version of Gutenberg (#5251)
* Fix customizer

* add string
2021-12-23 11:53:08 +00:00
Ben Dwyer
55eac831b5 Version Bump 2021-12-23 01:48:55 +00:00
Ben Dwyer
18c6bcb1f8
Fallback to the old function name in case users are still on the old version of Gutenberg (#5250) 2021-12-23 01:32:09 +00:00
Ben Dwyer
665a08d8f5
Blockbase: Rename Gutenberg functions (#5248) 2021-12-22 23:20:37 +00:00
Sarah Norris
b172d413cc Version Bump 2021-12-22 16:45:44 +00:00
Ben Dwyer
88cff87a49
Blockbase: Update alignment rules (#5220)
* Blockbase: Update alignment rules

* update variable name
2021-12-22 16:39:41 +00:00
Maggie
225656c65a
Blockbase: fix variables for 2 colored themes (#5241)
* fix variables for 2 colored themes

* same fix for tables css
2021-12-22 16:35:42 +00:00
Ben Dwyer
2ef8a95e1f Version Bump 2021-12-20 09:53:16 +00:00
Ben Dwyer
f546817e73
Skatepark: simplify nav (#5190)
* 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
2021-12-20 09:05:38 +00:00
Ben Dwyer
589e1a1e4d Version Bump 2021-12-14 16:45:07 +00:00
Ben Dwyer
61851034de
Blockbase: Force DOMXPath to use utf-8 encoding (#5193) 2021-12-14 16:24:50 +00:00
Jason Crist
69a561f0b3 Version Bump 2021-12-13 14:26:41 -05:00
Jason Crist
db081d9814
Geologist Variations + Variation Creation Script (#5179)
* 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>
2021-12-13 16:53:44 +00:00
Jason Crist
2e5ea37b97
Fixed the header spacer element in header-center template (#5175) 2021-12-09 11:25:47 -05:00
Jason Crist
d654cd6643 Version Bump 2021-12-09 10:26:14 -05:00
Jason Crist
1b61f3c876
Try/consolidate headers (#5145)
* 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>
2021-12-09 10:22:50 -05:00
Ben Dwyer
4ddaf7b558 Version Bump 2021-12-07 17:59:35 +00:00
Sarah Norris
70a175747e
Blockbase: replace user key with custom (#5147)
* 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>
2021-12-07 17:49:46 +00:00
Ben Dwyer
3256482e88 Version Bump 2021-12-06 17:03:07 +00:00
Ben Dwyer
0535e61ee2
Blockbase Fonts: Only unset properties that are set (#5149) 2021-12-06 16:47:40 +00:00
Sarah Norris
7f238fa11a
Blockbase: refactor template part blocks (#5129)
* 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>
2021-12-06 15:20:15 +00:00
Ben Dwyer
1890979f74
Blockbase: Add an archive template (#5127)
* Blocbase: Add an archive.html file

* Add archive templates
2021-12-03 22:06:29 +00:00
Ben Dwyer
3409972736 Version Bump 2021-12-02 13:03:07 +00:00
Ben Dwyer
ecb31ac575
Blockbase: Fix navigation (#5128) 2021-12-02 12:53:49 +00:00
Sarah Norris
1a28df4986
Add padding to footer (#5122) 2021-12-01 17:58:44 +00:00
Ben Dwyer
35fc26d218
Move calendar styles to blockbase (#5114)
* Move calendar styles to blockbase

* remove calendar styles
2021-12-01 10:13:35 +00:00
Ben Dwyer
7f5e587c78
Blockbase: Move table stripes to Blockbase (#5115)
* Blockbase: Move table stripes to Blockbase

* Remove unneeded code

* rebuild css

* rebuild all

* give the tertiary color a bit more contrast
2021-11-30 17:09:05 +00:00
Ben Dwyer
171411da07
Blockbase: Update paragraph gap (#5104)
* Blockbase: Restrict these paragraph rules to post content

* Rename file to target the blocks

* Rebuild
2021-11-29 13:05:53 +00:00
Maggie
0bd7c5bbb6
created a footer only template (#5103) 2021-11-26 13:17:44 +00:00
Ben Dwyer
90c88470ee
Blockbase: Use variable for heading font size (#5101) 2021-11-25 17:12:01 +00:00
Ben Dwyer
a315d63a9c
Blockbase: Remove layout inheritance from the footer template (#5100) 2021-11-25 11:24:03 +00:00
Maggie
4c97833653
updated readme with blog links (#5099) 2021-11-25 10:15:45 +00:00
Ben Dwyer
dbd73c2a74
Videomaker: Update Videomaker navigation (#5059)
* Videomaker: Update navigation width

* Update font sizes

* change the jusificiation to be center

* add social links to the navigation

* prevent the navigation wrapping
2021-11-24 20:45:35 +00:00
Matias Benedetto
b9a4661d58
Quadrat: fixing hover styles for buttons inside the subscribe form (#5033)
* 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
2021-11-24 13:43:39 +00:00
Ben Dwyer
02c2556875
Blockbase: Simplify the approach to font customization (#4980)
* 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
2021-11-24 11:38:08 +00:00
Matias Benedetto
6051e0f592
Adding static keyword to avoid error in PHP 8 (#5082)
Declaring class properties or methods as static makes them accessible without needing an instantiation of the class.
2021-11-24 11:35:22 +00:00
Jason Crist
8cfaa36188
Paternize 404 Page (#5039)
* 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>
2021-11-22 13:21:35 +00:00
Jason Crist
958742fa84 Version Bump 2021-11-19 11:32:06 -05:00
Ben Dwyer
cdb5883c51
Update README.md (#5065) 2021-11-19 10:45:09 +00:00
Ben Dwyer
6e9d47edc6 Version Bump 2021-11-19 09:26:49 +00:00
Sarah Norris
b794a3253b
Remove .nocomments fix (#4913) 2021-11-19 09:16:40 +00:00
Sarah Norris
d781e55307
Update all navigation blocks to new markup (#5038)
* 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
2021-11-19 09:14:43 +00:00
Ben Dwyer
cec06e0213 Version Bump 2021-11-18 14:14:49 +00:00
Ben Dwyer
83e091327c remove pink social icons 2021-11-18 14:03:21 +00:00
Ben Dwyer
d534eaba4f Version Bump 2021-11-18 10:41:34 +00:00
Ben Dwyer
d160d45d37
Make it possible to configure the color of the social icons (#4984)
* Make it possible to configure the color of the social icons

* Update the name of the custom variable
2021-11-18 10:30:56 +00:00
Ben Dwyer
7c5e2acf40 Version Bump 2021-11-17 19:14:10 +00:00
Ben Dwyer
8f72219e9d
Blockbase: Add child CSS if it exists (#5047)
* Blockbase: Add child CSS if it exists

* add comment
2021-11-17 19:04:16 +00:00
Ben Dwyer
51a06db16d Version Bump 2021-11-17 11:51:19 +00:00
Ben Dwyer
2bd5b5ecc8
Blockbase: Change references to gutenberg_block_template_part, to block_template_part (#5031)
* Blockbase: Change references to gutenberg_block_template_part, to block_template_part

* use an if statement to determine which function to call
2021-11-17 11:29:22 +00:00
Jason Crist
5d2aac64d9 Version Bump 2021-11-12 10:54:57 -05:00
Jason Crist
e463147f1d
Fixed null-ref error when previewing colors for any theme but Skatepark (#5014) 2021-11-12 08:44:51 -05:00
Jason Crist
1625360597
Removed child creation tool and documention referencing it. (#5023) 2021-11-12 08:44:31 -05:00
Sarah Norris
7dbb449325
Skatepark: Fix multiline tags and categories (#5021)
Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-11-12 08:43:20 -05:00
Ben Dwyer
d9da583507
Make it possible to customize submenus in Blockbase (#4985) 2021-11-12 08:42:40 -05:00
Jason Crist
35b46d4763 Version Bump 2021-11-10 12:11:48 -05:00
Ben Dwyer
f45132b8c2
Blockbase: Use new attributes for navigation block (#4832)
* Use new attributes for navigation block
2021-11-10 12:09:10 -05:00
Maggie
f907e7dfe6
remove unneeded styles for post template (#4809) 2021-11-10 11:52:09 -05:00
Ben Dwyer
211fbcf20a
Blockbase: Remove unnecessary normalize code (#4802) 2021-11-10 11:51:51 -05:00
Ben Dwyer
95d5f499c5 Version Bump 2021-11-04 21:19:03 +00:00
Jason Crist
dccace47ad
Remove/child theme (#4861)
* 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>
2021-11-04 21:16:17 +00:00
alaczek
1ffa975dad Version Bump 2021-11-04 08:49:00 +11:00
alaczek
98e4cda3ae Version Bump 2021-11-04 08:39:34 +11:00
Ben Dwyer
6af64054ee
Blockbase: Fix warning when we try to set properties on arrays (#4972) 2021-11-03 16:06:06 +00:00
Ben Dwyer
4edca7a033 Version Bump 2021-10-29 09:10:28 +01:00
Ben Dwyer
c6b26e603c Update Blockbase to a new minor version 2021-10-29 08:45:57 +01:00
Ben Dwyer
9940bf68cd Update changelog 2021-10-29 08:35:12 +01:00
Ben Dwyer
939d7ea6ac
Blockbase: Handle posts without titles (#4920) 2021-10-29 08:34:30 +01:00
Maggie
f1a3133076
Skatepark: dynamic duotone support (#4740)
* 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>
2021-10-29 08:31:41 +01:00
Ben Dwyer
05b8d89712
Blockbase: Update the stacking of site title and tagline in Blockbase and co (#4928) 2021-10-29 08:21:54 +01:00
Ben Dwyer
c2285d9cc8 Update blockbase changelog 2021-10-28 12:43:48 +01:00
Ben Dwyer
0592855e5a Version Bump 2021-10-28 12:38:28 +01:00
Ben Dwyer
67942eb5e5 Add Kerr as a blockbase child 2021-10-27 12:09:32 +01:00
Ben Dwyer
91d0f4fd6e Version Bump 2021-10-27 12:03:44 +01:00
Ben Dwyer
6f7bb5bf3a Update changelog 2021-10-27 12:01:09 +01:00
Jason Crist
8c91028c92
Refactor Paragraph margin rules for consistent, non block-gap values (#4908) 2021-10-27 11:59:29 +01:00
Ben Dwyer
61b92509d8
Add changelog entries we missed (#4919) 2021-10-27 11:48:16 +01:00
Jason Crist
321a91c603 Version Bump 2021-10-26 11:22:53 -04:00
Ben Dwyer
f11bd52520
Blockbase: Fix fatal error with social navigation (#4895) 2021-10-26 15:47:07 +01:00
Ben Dwyer
3360ff97c3 Version Bump 2021-10-26 13:15:07 +01:00
Ben Dwyer
63ad6234d1
Blockbase: Add query title (#4878)
* 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
2021-10-26 13:12:12 +01:00
Ben Dwyer
ccb663a9bb Version Bump 2021-10-25 11:01:13 +01:00
Ben Dwyer
25bf57cbec
Blockbase: Add a mixin for post meta (#4897) 2021-10-25 10:57:46 +01:00
Jason Crist
ee0c79262c Version Bump 2021-10-21 14:43:46 -04:00
Sarah Norris
a73ef54978
Blockbase: Fix form background color contrast (#4824) 2021-10-21 14:38:08 -04:00
Maggie
508e6866e9
Blockbase: search block font size (#4865)
* defined a font size for search block
* added line-height control and removed it from the CSS
* rebuilt children
2021-10-21 14:36:41 -04:00
Maggie
a025027975
Blockbase: make post meta icons optional (#4891)
* 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
2021-10-21 16:30:06 +02:00
Ben Dwyer
d06b9a06d8
Blockbase: Update the query pagination block markup (#4805)
* Blockbase: Update the query pagination block markup

* Remove pagination extra div

* Remove the wrapper for the query pagination block
2021-10-21 09:24:14 +02:00
Ben Dwyer
32e6ae15ce Version Bump 2021-10-20 20:27:54 +01:00
Sarah Norris
46f1ed11a0
Videomaker: Navigation styles (#4876)
* 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>
2021-10-20 14:18:22 +01:00
Jeffrey Pearce
d77c9a4b9f Version Bump 2021-10-19 20:54:40 +02:00
Jeffrey Pearce
92671ac2b2
Update style.css (#4874)
* 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.
2021-10-19 20:45:27 +02:00
Ben Dwyer
7b064a8946 Version Bump 2021-10-19 15:02:34 +01:00
Maggie
7903bbc5ab
cleanup errors on themejson files and rebuild themes (#4857) 2021-10-19 12:52:21 +02:00
Ben Dwyer
f95b3e62c4 Version Bump 2021-10-19 11:19:42 +01:00
alaczek
02a8c0b1cb
Payton: Initial commit. (#4863)
* Payton: Initial commit.

* change newtheme to payton

* add payton as a child of blockbase

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-10-19 11:13:02 +01:00
Ben Dwyer
cc206071cb
Blockbase: Add russell as a child (#4848) 2021-10-18 09:09:11 +01:00
Jason Crist
b759181b0d
Add copy of Quadrat's index.php to Geologist (#4841)
* 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>
2021-10-15 17:47:07 +01:00
Ben Dwyer
3cf10c225a Version Bump 2021-10-15 08:31:33 +01:00
Jason Crist
d152231f0d
Updated tested version of wordpress for all blockbase themes (#4839) 2021-10-15 08:28:55 +01:00
Jason Crist
0d08de6d60
Adjusted menu CSS to match recent changes in the block (#4822)
* 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>
2021-10-15 08:27:27 +01:00
Jason Crist
5a04d5706a
renamed a couple of functions from 'newtheme' to 'geologist' (#4840)
* 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>
2021-10-15 08:27:14 +01:00
Jason Crist
ade84abb2d
Removed unnecessary top padding for seach block. Fixes #4843 (#4846) 2021-10-15 08:26:28 +01:00
Jason Crist
a0c8030981
Removed paragraph margin gap styles. They no longer seem to be needed. (#4845)
* 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>
2021-10-15 08:24:50 +01:00
Ben Dwyer
513d7937b8 Version Bump 2021-10-14 13:18:24 +01:00
Ben Dwyer
f33d548de1
Videomaker: Add block patterns (#4701)
* 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
2021-10-14 12:22:12 +01:00
Ben Dwyer
accc739da9
Blockbase: Remove CSS for HTML block (#4572) 2021-10-14 12:15:46 +01:00
Ben Dwyer
8742c1ddbb
Add: Zoologist and update from Geologist (#4817)
* 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
2021-10-14 12:08:16 +01:00
Ben Dwyer
ce13a6948c Version Bump 2021-10-12 15:12:05 +01:00
Ben Dwyer
7e8d716641
Blockbase: Allow themes to inherit core gradients unless they define their own (#4818) 2021-10-12 15:07:56 +01:00
Ben Dwyer
63ca3f7ac3
Blockbase: Add theme.json meta data (#4819) 2021-10-12 14:59:08 +01:00
Ben Dwyer
c23cac3067
Blockbase: Add social navigation to blockbase themes (#4482)
* 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>
2021-10-12 14:58:21 +01:00
Jason Crist
c142e8b9ad Version Bump 2021-10-11 16:06:36 -04:00
Daniel Dudzic
86db86ac34
Blockbase: Fix custom link color. Closes #4776 (#4814)
Co-authored-by: @mikachan
2021-10-11 16:04:24 -04:00
Maggie
5a3f522684
Blockbase: remove unneeded margin rules (#4808) 2021-10-11 16:02:33 -04:00
Ben Dwyer
04508853b6
Blockbase: Rebuild all blockbase children (#4804) 2021-10-08 17:26:20 +02:00
Ben Dwyer
63c50e466f Version Bump 2021-10-07 09:46:31 +01:00
Ben Dwyer
d742459e8c
Videomaker: Add videomaker as a blockbase child (#4780) 2021-10-07 09:42:44 +01:00
Jason Crist
21ef6ad1d5
Added font color and size styles to form input placeholder (#4667)
* 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>
2021-10-07 09:39:44 +01:00
Maggie
23b783238a
Blockbase + co: Fix navigation alignment (#4795)
* fix navigation block alignment

* remove unused css
2021-10-06 17:12:42 +02:00
Ben Dwyer
029c1c316f Version Bump 2021-10-06 14:07:50 +01:00
Ben Dwyer
52540cc33f
Blockbase: Update the space around the cookie consent label (#4788)
* Blockbase: Update the space around the cookie consent label

* Update blockbase/assets/ponyfill.css

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>

* Update blockbase/sass/blocks/_post-comments.scss

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>

Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>
2021-10-06 13:48:04 +01:00
Rolf Allard van Hagen
0e97e0fb66
fix WP_Theme_JSON_Resolver_Gutenberg not found (#4769)
Adresses issue https://github.com/Automattic/themes/issues/4768
2021-10-06 11:28:32 +01:00
Ben Dwyer
487d9f61bc
Geologist: Update header spacing (#4773)
* Geologist: Update header spacing

* Make the margin 30px

* Remove spacing around tagline in geologist

* add missing {
2021-10-05 14:14:40 +01:00
Maggie
d5173c3643
Blockbase, Quadrat, Seedlet, Mayland Blocks: updated changelogs for .org (#4785)
* updated changelogs for .org

* updated changelogs with more changes

* add query block pattern to Quadrat's changelog

* corrected version numbers
2021-10-05 11:52:43 +02:00
Ben Dwyer
df03cb5e49 Version Bump 2021-10-04 09:41:04 +01:00
Jason Crist
717ba87bfa Version Bump 2021-10-01 10:59:28 -04:00
Jason Crist
3bb95665d8
Create a Deploy Script (#4469)
Created a deploy script (for both SVN and GIT sandboxes)

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-10-01 10:42:39 -04:00
Ben Dwyer
a928e4f770
Blockbase: Remove CSS to bring up the page content and instead remove the bottom margin from post titles (#4738)
* 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>
2021-10-01 10:03:21 +01:00
Jeff Ong
dbdecf073f
Blockbase: hide no comments message (#4753)
* Hide no comments message.

* Comment why this line is needed.
2021-09-30 11:12:55 -04:00
Jeff Ong
2967740651
Add a utility class to remove margin top. (#4742) 2021-09-30 09:16:25 -04:00
Jeff Ong
c7291cd78d
Remove generic has-background padding. (#4743) 2021-09-29 22:18:17 +01:00
Jason Crist
c344f228ac Version Bump 2021-09-29 11:01:05 -04:00
Jeff Ong
540e644645
Make spacing between post title and content match the spacing between content and meta. (#4733) 2021-09-28 16:43:05 -04:00
Jeff Ong
53a4ef11a1
Blockbase: add a page template (#4734)
* Add a page template to blockbase.

* Rename singular to single since we have a page.html now.
2021-09-28 16:30:38 -04:00
Jeffrey Pearce
138a23f1ef
Merge pull request #4732 from Automattic/fix/4723-blockbase-fix-navigation-position
Fixes navigation justification.
2021-09-28 21:51:05 +02:00
Jeffrey Pearce
cac85e3a19 Fixes navigation justification
Fixes #4723
2021-09-28 21:16:42 +02:00
Ben Dwyer
4c192fefb1
Blockbase: Make the top margins consistent (#4726)
* Blockbase: Make the top margins consistent

* import post-template partial
2021-09-28 14:51:39 -04:00
Maggie
5383798185
fix justify-self (#4723) 2021-09-28 17:49:25 +01:00
Ben Dwyer
347903e0f7
Blockbase: Update font size names (#4711)
* 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>
2021-09-28 12:40:11 -04:00
Ben Dwyer
ab8eb70b1b
Blockbase: Add menu previews (#4717)
* Blockbase: Add menu previews

* Also reload the preview when items are removed
2021-09-28 15:26:21 +01:00
Ben Dwyer
bc246fe5b6
Blockbase: Don't reset the settings array if it doesn't exist (#4713) 2021-09-28 15:26:10 +01:00
Rolf Allard van Hagen
98e800c43f
Drop "fontsToLoadFromGoogle" for child themes (#4633)
* 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>
2021-09-28 15:25:59 +01:00
Jason Crist
97d49618d8 Version Bump 2021-09-27 21:24:28 -04:00
Maggie
4a9ed3bfc4
add json schema to theme.json and rebuilt children (#4714) 2021-09-27 14:34:43 -04:00
Daniel Dudzic
dace170d9a
Blockbase: Remove padding from the separator (#4712) 2021-09-27 14:32:24 -04:00
Ben Dwyer
290dcac0a4
Blockbase: Add site logo (#4692)
* 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>
2021-09-27 14:31:07 -04:00
Sarah Norris
9b09573d60
Blockbase: Add more styles to .aligncenter (#4675)
* Blockbae: add more styles to .aligncenter

This now supports image alignment as well as the site-logo block alignment

* Blockbase: replace spaces with tabs
2021-09-24 14:28:02 +01:00
Jason Crist
d0e89e8dac
Removed block-level margin styles from all themes (#4698) 2021-09-24 14:27:31 +01:00
Sarah Norris
b5475761f2
Blockbase: add scroll overflow to pre tags (#4674) 2021-09-24 14:26:57 +01:00
Ben Dwyer
802475c209
Blockbase: Add focus styles (#4684) 2021-09-23 13:12:47 +01:00
Ben Dwyer
77d82b6dbd
Blockbase: Fix alignmemts in the Query Pagination block (#4673) 2021-09-22 16:00:35 +01:00
Ben Dwyer
bdf528d88c
Blockbase: Update docs (#4672)
* Blockbase: Update docs

* Remove whitespace at the start of functions.php
2021-09-22 11:27:21 +01:00
Daniel Dudzic
0dae37c01c
Blockbase: Fix padding for the Group block with a background (#4629)
* 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>
2021-09-22 11:27:10 +01:00
Jason Crist
6392130233
Add a 'blank' default block template for blockbase themes (#4669) 2021-09-22 11:20:19 +01:00
Sarah Norris
d8926ce8ed
Blockbase: Add post-meta template part (#4565)
* 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
2021-09-20 09:51:18 +01:00
Ben Dwyer
0d25520809
Gallery: Add margins to the gallery block using theme.json (#4631)
* Gallery: Add margins to the gallery block using theme.json

* Remove unused code
2021-09-20 09:50:56 +01:00
Daniel Dudzic
c963ed2033
An attempt to fix the theme check sanitization errors in Blockbase (#4601)
* Blockbase: Fix sanitization theme check errors

* Blockbase: Fix another sanitization theme check error
2021-09-16 22:02:04 +01:00
Jason Crist
f2b8f0ccfb
First pass at a blockbase child theme generator (#4001)
* First pass at a blockbase child theme generator

* First pass at a blockbase child theme generator
2021-09-16 22:01:57 +01:00
Ben Dwyer
280f2f8608
Blockbase: Remove wpcom hook (#4563)
* Blockbase: Remove wpcom hook

* Removed the two unused wpcom files

Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-09-16 22:01:39 +01:00
Ben Dwyer
ad565db648
Blockbase: Add a getting started guide (#4627)
* Blockbase: Add a getting started guide

* A couple of minor formatting changes

* corrected build:scss

Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-09-16 22:01:24 +01:00
Jason Crist
68a7ae791c Version Bumps 2021-09-13 17:21:42 -04:00
Maggie
a8485fb5a9 Blockbase + Quadrat: remap quadrat colors, refactor selection to tertiary (#4570)
* 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>
2021-09-13 17:21:42 -04:00
Ben Dwyer
d01df558f1 Blockbase: Remove code block CSS (#4562) 2021-09-13 17:21:42 -04:00
Jason Crist
09577d5e08 Simplify Custom margin (#4556)
* 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>
2021-09-13 17:21:42 -04:00
Sarah Norris
1aa5058bcf
Blockbase: add Geologist to child themes build script (#4573) 2021-09-10 09:12:24 -04:00
Ben Dwyer
9079668233
Blockbase: Remove wpcom CSS (#4564) 2021-09-10 09:07:37 +01:00
Ben Dwyer
bbdb749002
Blockbase: Add comments to Blockbase for the respective Gutenberg issues (#4551)
* Blockbase: Add comments to Blockbase for the respective Gutenberg issues

* update image alignment issue
2021-09-09 09:35:18 +01:00
Maggie
eb9292bf38
Merge pull request #4543 from Automattic/mayland-blockbase-header-spacing
Mayland Blocks, Blockbase: fix header vertical spacing
2021-09-08 15:29:48 +02:00
Ben Dwyer
d8948a3a9e
Revert "Blockbase: Remove wpcom specific CSS file (#4548)" (#4549)
This reverts commit 463aafcee7.
2021-09-08 13:50:59 +01:00
Ben Dwyer
463aafcee7
Blockbase: Remove wpcom specific CSS file (#4548) 2021-09-08 12:09:48 +01:00
Maggie
76a6b0dcf5 add vertical spacing on header group 2021-09-08 10:12:52 +02:00
Maggie
056a24a6d6 change google url for Fira 2021-09-08 09:53:20 +02:00
Maggie
9acd573ee5 changed reply link font size and hover effect 2021-09-08 09:34:51 +02:00
Maggie
da8726abb3 cleaned up Seedlet blocks 2021-09-08 09:34:21 +02:00
Maggie
b46a9d57aa removed unused CSS from Blockbase children 2021-09-08 09:34:10 +02:00
Ben Dwyer
e102fd0204
Blockbase: Remove wpcom specific code (#4540) 2021-09-07 17:06:04 +01:00
Sarah Norris
0450bbf531
Merge pull request #4534 from Automattic/fix/blockbase-remove-query-parameter
Blockbase: Fix "Blog pages show at most" reading setting
2021-09-07 14:40:27 +01:00
Sarah Norris
cea6bdd8cf Blockbase: remove queryId & query params from search query 2021-09-07 14:37:39 +01:00
Maggie
76a8d2f856
Geologist: code quality (#4532)
* refactor outline button styles

* removed block patterns styles

* renamed mixin
2021-09-07 13:05:07 +01:00
Sarah Norris
751477b019 Blockbase: remove queryId & query params from index query 2021-09-07 11:19:49 +01:00
Jason Crist
8a5c5b1977
Apply/batch utils audit (#4494)
* Ran batch:audit:fix

* Ran it and got more fixes.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
2021-09-01 16:04:30 -04:00
Jason Crist
763b67b6ab
Fix unchanged font setting reverting to default (#4510)
* 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>
2021-08-31 07:19:41 -04:00
Ben Dwyer
a5e860f3f1
Blockbase: Update Blockbase and children to use flex (#4468)
* 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>
2021-08-30 15:30:29 -04:00
Rolf Allard van Hagen
474ffbeb3c
Blockbase: Improve blockbase_fonts_url handling (#4489)
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`
2021-08-30 15:28:31 -04:00
Maggie
4e133c3d39
Blockbase + co: Universal Social menu (#4467)
* 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>
2021-08-27 11:48:08 +01:00
Jeff Ong
45bb8e35e0
Blockbase: remove margin-top from first descendants of columns and groups (#4436)
* 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>
2021-08-26 08:58:33 +01:00
Jason Crist
4a2a95f8a4
Another attempt at alignments (#4459)
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.
2021-08-24 13:25:00 -04:00
Jeff Ong
c9457a9321
Removed color and typography styles from button block (#4439)
Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-08-23 11:20:16 -04:00
Maggie
f8ca35d142 improved spacing for skatepark, refactored headings spacings on BB 2021-08-20 17:36:09 +02:00
Maggie
9270aacf38 prefixes for mask for safari 2021-08-20 17:19:37 +02:00
Maggie
7b583c4063 custom styles and svg for post meta 2021-08-18 17:04:51 +02:00
Maggie
ce0f6c4d05 added post meta stuff, fixed class on BB and Mayland 2021-08-18 16:33:59 +02:00
Jeff Ong
c5cc825588
Bump version & changelog. (#4408) 2021-08-16 11:26:28 -04:00
Maggie
5d05af3d99
Merge pull request #4367 from Automattic/add/skatepark-comment-form-styles
Skatepark: Add comment styles
2021-08-13 10:04:14 +02:00
Maggie
aca9be1edb moved mixins include on BB 2021-08-13 09:59:40 +02:00
Ben Dwyer
e9287679e9
Blockbase: Fix 404 template (#4402)
* Blockbase: Fix the 404 template

* Blockbase: Fix the 404 template

* Add a 404 for skatepark

* update footer tag

* fix textdomain
2021-08-12 17:36:53 +01:00
Maggie
6566a06032 added % units to blockbase and rebuilt children 2021-08-12 18:16:48 +02:00
Sarah Norris
e14f6ebb40 Blockbase: Move form grid styles to Blockbase 2021-08-12 12:45:51 +01:00