Commit graph

39 commits

Author SHA1 Message Date
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
ead4fed58b
multiple themes: update font sizes from px to rem for better a11y (#5801) 2022-04-05 15:52:02 -04: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
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
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
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
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
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
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
Jeff Ong
c51e0edaab
Style text color of meta for latest posts. (#4175) 2021-07-07 10:50:36 -04:00
Jason Crist
9e67e3d918 Rendered Blockbase Child Themes to pick up recent changes. 2021-07-05 13:07:29 -04:00
Jason Crist
dc863f8a9e
Fix Comments Styles for BB & Co. (#4109)
* Added and formatted comments for Blockbase refactoring font definitions for the block
* Fixed wp.com comment styles for Quadrat.  Removed unnecessary comment font stylings.
* Fixed Seedlet-blocks wp.com comment styles
* Moved .com specific fixes to appropriate space.

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-07-01 16:06:35 -04:00
Ben Dwyer
9fc6f82038
Blockbase: ReMove list block styles from sass (#3958) 2021-06-28 09:50:03 -04:00
Maggie
9e49d27662
Blockbase: Add support for custom palettes customization (#4098)
* first pass at color palette controls without functionality

* made palettes look like color annotations plugin

* make color selection functional

* get palettes from theme.json

* rename file

* rename colors preview file

* rename files

* more file renaming for clarity

* simplify settings

* rebuilt mayland and seedlet with alternative palettes

* renamed default template, dynamic theme name

* remove space

* Added default Varia/Seedlet palettes to blockbase

* check if the custom palette array is empty

* Only render color palette picker controls if there are alternatives to default.

* Only render color palette picker controls if there are alternatives to default. (fix)

* Removed commented code

* change palettes to an array

* chagne props comment

* removed unnecesary credit

* undo last commit, brought back the credits

* readd the settings file

* rebuild children

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-06-28 14:39:57 +01:00
Jason Crist
d23f690a26
Refactor Blockbase font definitions (#4077)
* Refactor Blockbase Font Family Handling

Refactor Blockbase so that the font family provided is
DESCRIPTIVE instead of semantic.

Leverated SEMANTIC font family variables defined in custom
to assign to blocks.

(In this way USERS will see DESCRIPTIVE font family values to choose
from and theme configuration can use semantic values that can be
overridden by things such as the WP.com Font Picker)

* standardized line-height usage in quadrat and blockbase

* Refactored mayland configuration with font family and line height changes from blockbase

* Changes to Seedlet-blocks to support the font-face refactor
2021-06-25 16:28:51 +01:00
Jason Crist
e83203dbcc
Try/quadrat semantic color customizations (#4090)
* Refactored blockbase color configuration from 'descriptive' to 'semantic'

* Refactored Quadrat to support Semantic Colors

* WIP experiment to allow Customizer editing of semantic colors in Quadrat

* Update the settings in theme.json not styles

* remove class variable for simplicity

* allow users to set multiple colors

* move merged colors to a class property

* Refactored to simplify and integrate changes to save everything at once

* Refactored and implemented save-all-at-once

* Refactored color customization logic from Quadrat to Blockbase

* Refactored Mayland blocks to support semantic color customizations

* Refactored Seedlet for configurable semantic colors.  Refactored meaning of 'primary' in blockbase.

* Minor color cleanups

* Fixed quadrat background color override

* Change variables to camelCase

* remove slug class property

* rename a few variables and add some comments

* remove the noop.css

* don't assume properties exist

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-06-25 11:22:53 +01:00
Maggie
8ee9e7e37a
Blockbase: separated mixins from rules for the button block (#3985)
* separated mixins from rules for the button block
* Removed unnecessary stylistic hover styles that were breaking on Chrome

Co-authored-by: Jason Crist <jcrist@pbking.com>
2021-06-04 12:21:16 -04:00
Jason Crist
d657622de2
Changed CSS and variable handling so that the color of the border and text of a button in 'outline mode' matches the background color of the button when not. (#3972) 2021-05-28 06:19:43 -07:00
Jason Crist
a65ef3200a
Remove experimental- from theme.json & include in .org build (#3956)
* Rename bb theme to make it not experimental

* Include theme.json files in dot org packaging

* Renamed all BCB Family Themes theme.json file

* Add font size to site title block.

Co-authored-by: Jeff Ong <jonger4@gmail.com>
2021-05-27 08:06:59 -07:00
Renamed from mayland-blocks/experimental-theme.json (Browse further)