Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

fix buttion size differences for pitch style variation #237

Merged
merged 1 commit into from
Oct 3, 2022
Merged
Changes from all commits
Commits
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
22 changes: 17 additions & 5 deletions styles/pitch.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,18 +145,21 @@
"elements": {
"button": {
"border": {
"radius": "0"
"radius": "0",
"style": "solid",
"width": "2px",
"color": "var(--wp--preset--color--primary)"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
},
"spacing": {
"padding": {
"top": "min(1.25rem, 3vw)",
"right": "min(2.25rem, 5vw)",
"bottom": "min(1.25rem, 3vw)",
"left": "min(2.25rem, 5vw)"
"top": "min(1.125rem, 3vw) !important",
"right": "min(2.125rem, 5vw) !important",
"bottom": "min(1.125rem, 3vw) !important",
"left": "min(2.125rem, 5vw) !important"
}
},
"typography": {
Expand All @@ -166,18 +169,27 @@
"letterSpacing": "0.01em"
},
":hover": {
"border": {
"color": "var(--wp--preset--color--contrast)"
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--tertiary)"
}
},
":focus": {
"border": {
"color": "var(--wp--preset--color--contrast)"
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--tertiary)"
}
},
":active": {
"border": {
"color": "var(--wp--preset--color--contrast)"
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--tertiary)"
Expand Down