Commit graph

46 commits

Author SHA1 Message Date
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
Ben Dwyer
a801623308
Blockbase: Update font name (#4183) 2021-07-08 10:34:58 -04:00
Jeff Ong
c51e0edaab
Style text color of meta for latest posts. (#4175) 2021-07-07 10:50:36 -04:00
Jason Crist
9a4580fbeb
Controlled alignfull padding differently to correct paragraph padding in certain situation. (#4123)
Controlled alignfull padding differently to correct paragraph padding in certain situations.

Refactored 'container' alignment rules

Eliminated 'page-content' class as a means to apply default 'edge'
padding to content.

Introduced 'container-' selection as the means to apply default 'edge'
padding to content.

Removed 'edge' padding from post-content block (it is all handled by
'container-' elements now).

Refactored the "bust out of edge padding" for alignfull elements and
nested 'container-'s.
2021-07-05 11:13:45 -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
Kjell Reigstad
4a9b42faff Add Header & Footer-only template. 2021-06-18 09:31:29 -04:00
Kjell Reigstad
ba63568929 Add a blank customTemplate to blockbase 2021-06-08 08:33:55 -04: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
Jeff Ong
69d945aa99
Blockbase: revise padding (#3968)
* Quadrat: Fix mobile spacing

* reset indentation

* reset indentation

* move template rules into their own file

* Use classes to add padding around the header, post titles + featured images.

* Use page-content class on query, use excerpt block instead of post-content.

* Add page-content class to alignments and templates.

* Add a post-header class.

* Remove padding on the div.

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-05-28 11:38:05 -07:00
Jason Crist
580b8f9866
Remove unused navigation header template part. (#3970)
* Remove unused navigation header template part.

This change removes the unused navigation template part and the
reference to it from theme.json.  It also updates the navigation block
in the header template part to include responsive navigation by default
and remove unnecessary block attributes (values were either default or
expressed in theme.json).

* changed header to div to prevent double header elements in rendered page
2021-05-28 11:20:43 -07: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
69a183b592 Changed nav font size to use variable instead of value 2021-05-27 14:41:16 -04:00
Jason Crist
6d6a954a60 update font size to 18px 2021-05-27 14:37:12 -04: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 blockbase/experimental-theme.json (Browse further)