Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank Canvas Blocks: Added Block Patterns #3514

Merged
merged 32 commits into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
56cb7af
added block patterns
MaggieCabrera Mar 23, 2021
2a380b1
changed domain name
MaggieCabrera Mar 23, 2021
c646d22
changed require route to work with child themes
MaggieCabrera Mar 23, 2021
62882af
fix colors
scruffian Mar 23, 2021
c4ba02e
Merge branch 'add/bcb-block-patterns' of github.com:Automattic/themes…
scruffian Mar 23, 2021
ad952e0
Remove the cover block from the pattern as it doesn't seem to do anyt…
scruffian Mar 23, 2021
22c05d5
remove the cover block, add alignment to the image, change data sanit…
scruffian Mar 23, 2021
4c23164
Limit content width for things aligned left/right (#3504)
pbking Mar 24, 2021
fe1a3b7
Unset alignfull width for full width cover block (and others)
pbking Mar 24, 2021
49f558e
Fixed media query error from previous merge
pbking Mar 24, 2021
24666ee
Refactored lef/right alighnment reset
pbking Mar 24, 2021
2e862ae
added block patterns
MaggieCabrera Mar 23, 2021
cb27d1a
changed domain name
MaggieCabrera Mar 23, 2021
adc91b8
fix colors
scruffian Mar 23, 2021
ac019cb
changed require route to work with child themes
MaggieCabrera Mar 23, 2021
2dc844d
Remove the cover block from the pattern as it doesn't seem to do anyt…
scruffian Mar 23, 2021
f661580
remove the cover block, add alignment to the image, change data sanit…
scruffian Mar 23, 2021
e310f3c
Unset alignfull width for full width cover block (and others)
pbking Mar 24, 2021
2658adf
Fighting Gutenberg margins to achive design intentions.
pbking Mar 24, 2021
1c11c23
Adjust spacing around (text) blocks
pbking Mar 24, 2021
e5c75e6
Merge branch 'add/bcb-block-patterns' of github.com:Automattic/themes…
pbking Mar 24, 2021
cdbfedc
Update button hover colors.
jffng Mar 24, 2021
c6bf17c
Support editor color assignment for separator.
jffng Mar 24, 2021
f7b597d
Refactor separator styles.
jffng Mar 24, 2021
d39b05f
Reduce heading font weights via existing mechanisms.
jffng Mar 24, 2021
0169413
Fix block pattern markup.
jffng Mar 24, 2021
456ba1d
Refactor separator styles to match how Gutenberg styles separators.
jffng Mar 24, 2021
0caf799
Standardize margins for hrs
jffng Mar 25, 2021
d6f4f7b
Unset separator border on front-end.
jffng Mar 25, 2021
fb35eb2
Make separators use borders again.
jffng Mar 25, 2021
3768b62
Use text color to set separator color.
jffng Mar 25, 2021
7a73136
Revert "Reduce heading font weights via existing mechanisms."
pbking Mar 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 51 additions & 12 deletions blank-canvas-blocks/assets/ponyfill.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 15 additions & 8 deletions blank-canvas-blocks/experimental-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,17 @@
"selection": "var(--wp--preset--color--almost-white)"
},
"margin": {
"horizontal": "20px",
"vertical": "20px"
"horizontal": "30px",
"vertical": "30px"
},
"alignment": {
"alignedMaxWidth": "50%"
},
"button": {
"typography": {
"fontWeight": "normal",
"fontFamily": "var(--wp--preset--font-family--base)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontSize": "var(--wp--preset--font-size--normal)",
"lineHeight": 2
},
"border": {
Expand All @@ -114,8 +117,8 @@
"color": {
"text": "var(--wp--custom--color--background)",
"background": "var(--wp--custom--color--secondary)",
"hoverText": "var(--wp--custom--color--secondary)",
"hoverBackground": "var(--wp--custom--color--primary)"
"hoverText": "var(--wp--custom--color--background)",
"hoverBackground": "#006ba1"
}
},
"form": {
Expand Down Expand Up @@ -170,8 +173,7 @@
}
},
"separator": {
"color": "#ccc",
"thickness": "2px",
"height": "1px",
"width": "150px"
},
"video": {
Expand All @@ -182,7 +184,7 @@
},
"heading": {
"typography": {
"fontWeight": 400,
"fontWeight": 600,
"lineHeight": 1.125
}
},
Expand Down Expand Up @@ -407,6 +409,11 @@
"bottom": "var(--wp--custom--margin--horizontal)"
}
}
},
"core/separator": {
"color": {
"background": "var(--wp--custom--color--foreground)"
}
}
}
}
5 changes: 5 additions & 0 deletions blank-canvas-blocks/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,8 @@ function blank_canvas_blocks_fonts_url() {

return esc_url_raw( $fonts_url );
}

/**
* Block Patterns.
*/
require get_template_directory() . '/inc/block-patterns.php';
Loading