Commit graph

67 commits

Author SHA1 Message Date
Miguel San Segundo
171b46ae04
Fix error: Template part has been deleted or is unavailable in Erma, Poesis, and Meraki (#7348)
* Remove theme attribute from erma theme

* Remove theme attribute from poesis theme

* Add post meta template part in theme.json
2023-09-07 15:13:23 +01:00
Miguel Torres
4b07c828a2
Blockbase: Optionally remove inherited style variations from child themes (#6996)
* Blockbase: Remove style variations from child themes
Co-authored-by: Jason Crist <jcrist@pbking.com>
2023-04-13 12:04:42 -04:00
Madhu Dollu
b6669adc92
cleanup buttons css (#6714)
* removed typography styles for buttons

* removed typography styles for buttons

* remove more styles

* kept the mixins, but removed the includes

* remove padding include from button styles

* lint

* Bump min version for Blockbase to 6.1

* rebuild ponyfill after rebase

* Update theme.json schema version

* Update file button hover status

Co-authored-by: MaggieCabrera <maggie.cabrera@automattic.com>
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2022-11-17 17:56:42 +05:30
Madhu Dollu
678de460fe
Blockbase: move link pseudo states to theme.json (#6156)
* move link pseudo states to theme.json

* Removed navigation underline hover to achieve design parity before the change

Co-authored-by: Jason Crist <jcrist@pbking.com>
2022-11-14 11:51:04 -05:00
marceloaof
3aefd47393
Blockbase: fix font-size in Comments Title Block (#6321)
* Update theme.json

* Update comments.php
2022-08-09 11:49:49 +05:30
Jason Crist
80e036574b
Blockbase 3 (#6167)
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>
2022-07-20 14:54:48 -04:00
Madhu Dollu
e9a4d09191
Blockbase: update font sizes to rem instead of px for a11y (#5752) 2022-03-30 17:29:13 +05:30
Ben Dwyer
e72ff47757
Blockbase: Remove list ponyfill (#5586) 2022-02-24 20:25:27 +00:00
Addison Stavlo
52fa8a3eee
register header and footer in theme json (#5441) 2022-02-02 09:45:14 +00:00
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
7e736f185b
Blockbase: converted headers to patterns (#5238)
* converted headers to patterns
* Import headers as both Template Parts AND Block Patterns

Co-authored-by: Jason Crist <jcrist@pbking.com>
2022-01-13 11:24:01 -05:00
Sarah Norris
0d8b97499b
Add appearanceTools: true setting (#5072) 2022-01-04 15:27:29 +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
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
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
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
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
Ben Dwyer
83e091327c remove pink social icons 2021-11-18 14:03:21 +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
d9da583507
Make it possible to customize submenus in Blockbase (#4985) 2021-11-12 08:42:40 -05: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
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
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
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
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
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
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
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
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
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
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
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
f8ca35d142 improved spacing for skatepark, refactored headings spacings on BB 2021-08-20 17:36:09 +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
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
Ben Dwyer
0470c0e128
Blockbase: remove unused code (#4379) 2021-08-10 19:41:37 +01:00
Maggie
80229b73a9 typography settings for sk8prk, refactored BB headings rules 2021-07-28 10:35:30 +02:00
Jeff Ong
ae7e63d133
Blockbase: make 404 into a php template so it can be translated (#4332)
* Make 404 and search translatable.

* Remove heading from search template so the theme i18n ready.
2021-07-27 10:51:46 -04:00
Ben Dwyer
6cf1962c24
Blockbase: Remove the background color from Navigation Links (#4184)
* Blockbase: Remove the background color from Navigation Links

* Rebuild child theme.json removing nav link bg color.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
2021-07-08 18:59:45 +01:00