Skip to content

Commit

Permalink
Merge pull request #3708 from Automattic/add/quadrat-blockquote-styles
Browse files Browse the repository at this point in the history
Quadrat: Add Quote block styles
  • Loading branch information
scruffian committed Apr 27, 2021
2 parents d389a7b + 22ee49b commit 4241640
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 10 deletions.
4 changes: 4 additions & 0 deletions quadrat/assets/theme.css

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

23 changes: 19 additions & 4 deletions quadrat/child-experimental-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
"customFontSize": true,
"customLineHeight": true,
"fontSizes": [
{
"name": "Tiny",
"size": "15px",
"slug": "tiny"
},
{
"name": "Small",
"size": "17px",
Expand Down Expand Up @@ -211,12 +216,22 @@
"core/quote": {
"typography": {
"fontWeight": "normal",
"fontStyle": "normal"
"fontSize": "25px",
"lineHeight": "40px"
},
"spacing": {
"padding": {
"left": "calc( var(--wp--custom--margin--horizontal) * 3 )"
}
},
"citation": {
"typography": {
"fontWeight": "300",
"fontSize": "15px"
}
},
"border": {
"color": "var(--wp--custom--color--primary)",
"style": "solid",
"width": "0 0 0 2px"
"width": "0px"
}
}
}
Expand Down
20 changes: 16 additions & 4 deletions quadrat/experimental-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
"customFontSize": true,
"customLineHeight": true,
"fontSizes": [
{
"name": "Tiny",
"size": "15px",
"slug": "tiny"
},
{
"name": "Small",
"size": "17px",
Expand Down Expand Up @@ -441,18 +446,25 @@
},
"core/quote": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontSize": "25px",
"fontStyle": "normal",
"fontWeight": "normal"
"fontWeight": "normal",
"lineHeight": "40px"
},
"border": {
"color": "var(--wp--custom--color--primary)",
"style": "solid",
"width": "0 0 0 2px"
"width": "0px 0px 0px"
},
"spacing": {
"padding": {
"left": "var(--wp--custom--margin--horizontal)"
"left": "calc( var(--wp--custom--margin--horizontal) * 3 )"
}
},
"citation": {
"typography": {
"fontWeight": "300",
"fontSize": "15px"
}
}
},
Expand Down
5 changes: 3 additions & 2 deletions quadrat/sass/theme.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import '../../blank-canvas-blocks/sass/base/breakpoints'; // Get the mobile-only media query and make it available to this theme's styles
@import 'blocks/media-text';
@import "../../blank-canvas-blocks/sass/base/breakpoints"; // Get the mobile-only media query and make it available to this theme's styles
@import "blocks/media-text";
@import "blocks/quote";
@import "utility";

0 comments on commit 4241640

Please sign in to comment.