|
@@ -114,15 +114,6 @@
|
|
|
"core/button": {
|
|
|
"border": {
|
|
|
"radius": "4px"
|
|
|
- },
|
|
|
- "color": {
|
|
|
- "background": "var(--wp--preset--color--primary)",
|
|
|
- "text": "var(--wp--preset--color--background)"
|
|
|
- },
|
|
|
- "typography": {
|
|
|
- "fontSize": "var(--wp--preset--font-size--medium)",
|
|
|
- "fontWeight": "normal",
|
|
|
- "lineHeight": "2"
|
|
|
}
|
|
|
},
|
|
|
"core/code": {
|
|
@@ -256,6 +247,30 @@
|
|
|
"text": "var(--wp--preset--color--foreground)"
|
|
|
},
|
|
|
"elements": {
|
|
|
+ "button": {
|
|
|
+ "border": {
|
|
|
+ "radius": "0"
|
|
|
+ },
|
|
|
+ "color": {
|
|
|
+ "background": "var(--wp--preset--color--primary)",
|
|
|
+ "text": "var(--wp--preset--color--background)"
|
|
|
+ },
|
|
|
+ "typography": {
|
|
|
+ "fontFamily": "var(--wp--preset--font-family--system-font)",
|
|
|
+ "fontSize": "var(--wp--preset--font-size--medium)",
|
|
|
+ "fontWeight": "normal",
|
|
|
+ "lineHeight": "2",
|
|
|
+ "textDecoration": "none"
|
|
|
+ },
|
|
|
+ "spacing": {
|
|
|
+ "padding": {
|
|
|
+ "top": "calc(0.667em + 2px)",
|
|
|
+ "bottom": "calc(0.667em + 2px)",
|
|
|
+ "left": "calc(1.333em + 2px)",
|
|
|
+ "right": "calc(1.333em + 2px)"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"h1": {
|
|
|
"typography": {
|
|
|
"fontSize": "3rem"
|