Commit graph

75 commits

Author SHA1 Message Date
Matias Benedetto
805e3522cc
Font size names update (#5300)
* Font size name: updating 'huge' to 'x-large'

* Mayland-blocks: rename 'normal' to 'medium'

* Seedlet-blocks: renaming 'normal' to 'medium'

* Russell: removing unused 'normal' font size

* Blockbase & children: moving 'normal' font size from presets to custom

* Blockbase & family: renaming custom fotsize from 'tiny' to 'x-small'
2022-01-14 14:28:25 +00:00
Maggie
2ad06443cc
removed header template part from skatepark's json (#5233) 2021-12-21 08:55:58 +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
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
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
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
Maggie
40f38d8c65
fixed wrong font sizes for the theme (#4929)
* fixed wrong font sizes for the theme

* use custom font size tiny
2021-10-29 09:04:47 +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
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
7903bbc5ab
cleanup errors on themejson files and rebuild themes (#4857) 2021-10-19 12:52:21 +02: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
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
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
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
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
Maggie
4a9ed3bfc4
add json schema to theme.json and rebuilt children (#4714) 2021-09-27 14:34:43 -04:00
Jason Crist
d0e89e8dac
Removed block-level margin styles from all themes (#4698) 2021-09-24 14:27:31 +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
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
Maggie
c0c1ed7205
Skatepark: refactor post title margins (#4561)
* refactor post title margins

* exclude the query block post title from the underlined rules
2021-09-10 09:32:27 +01:00
Maggie
b46a9d57aa removed unused CSS from Blockbase children 2021-09-08 09:34:10 +02:00
Maggie
11368fb720 changed padding of cover block 2021-09-07 16:44:42 +02:00
Maggie
79c2fe97fe changed approach for alignfull cover blocks 2021-09-07 16:44:37 +02:00
Sarah Norris
1da71febae Skatepark: Move base padding setting back to theme.json 2021-09-07 16:44:30 +02:00
Sarah Norris
72225cd719 Skatepark: Remove padding setting from theme.json 2021-09-07 16:44:18 +02:00
Sarah Norris
b65f615d93 Skatepark: Change pixel value to em 2021-09-07 16:44:18 +02:00
Sarah Norris
8985c7f4f2 Skatepark: Change padding clamp to min 2021-09-07 16:44:18 +02:00
Sarah Norris
16ba7ea022 Skatepark: Add cover padding to theme.json 2021-09-07 16:44:18 +02: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
Maggie
452d5bcccc fixed spacing issues on the query block 2021-08-25 11:15:37 +02:00
Maggie
f8ca35d142 improved spacing for skatepark, refactored headings spacings on BB 2021-08-20 17:36:09 +02:00
Maggie
55710cf762 realigned author items to fit design 2021-08-20 17:18:03 +02:00
Maggie
8020323e90 added pagination 2021-08-18 17:19:58 +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
Kjell Reigstad
ef3e14b71a
Merge pull request #4418 from Automattic/skatepark/update-green-color
Skatepark: Update green color
2021-08-16 15:08:05 -04:00
Kjell Reigstad
635423af7f Update green color. 2021-08-16 15:00:08 -04:00
Maggie
3a597e80d9 new query block design 2021-08-13 12:34:04 +02:00
Maggie
f21bc7d6e5 two columns pattern and indented paragraph block style 2021-08-13 10:07:21 +02: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
c840c418c7 created block style, changed approach to use caption instead of columns 2021-08-13 09:48:10 +02:00
Maggie
77c601bf45 first pass at the block pattern 2021-08-13 09:45:25 +02:00
Maggie
dbdf87e685
made buttons uppercase by default (#4401) 2021-08-12 17:40:31 +01:00
Maggie
6566a06032 added % units to blockbase and rebuilt children 2021-08-12 18:16:48 +02:00
Sarah Norris
a57b2c153c Blockbase: Move custom checkbox styles to Blockbase theme.json 2021-08-12 12:37:21 +01:00
Ben Dwyer
9a4a21d211
Blockbase: Update font customization approach (#4389)
* Blockbase: Set the fonts directly in settings not in custom

* fix the reset button

* update child themes

* remove unused variable

* add google font to theme.json default

* inherit font family from body

* Set pullquote to use the heading font in all themes
2021-08-12 12:17:10 +01:00