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

Search block styles in the style variations, option 1 #525

Open
wants to merge 9 commits into
base: trunk
Choose a base branch
from
18 changes: 18 additions & 0 deletions styles/02-noon.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,24 @@
}
}
},
"core/search": {
"typography": {
"fontFamily": "var:preset|font-family|beiruti"
},
"elements": {
"button": {
"shadow": "var:preset|shadow|natural",
"spacing": {
"padding": {
"bottom": "0.6rem",
"left": "1.6rem",
"right": "1.6rem",
"top": "0.6rem"
}
}
}
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var:preset|font-size|small"
Expand Down
10 changes: 10 additions & 0 deletions styles/03-dusk.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,16 @@
"letterSpacing": "-0.18px"
}
},
"core/search": {
"css": "& .wp-block-search__input{border-radius:4px;border-color:var(--wp--preset--color--accent-6);}",
"elements": {
"button": {
"border": {
"radius": "4px"
}
}
}
},
"core/site-title": {
"color": {
"text": "var:preset|color|accent-3"
Expand Down
10 changes: 10 additions & 0 deletions styles/04-afternoon.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,16 @@
"fontWeight": "300"
}
},
"core/search": {
"css": "& .wp-block-search__input{border-radius:0px;border-color:var(--wp--preset--color--accent-6);}",
"elements": {
"button": {
"border": {
"radius": "0px"
}
}
}
},
"core/site-title": {
"typography": {
"fontFamily": "var:preset|font-family|ysabeau-office",
Expand Down
10 changes: 10 additions & 0 deletions styles/06-morning.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,16 @@
"fontWeight": "900"
}
},
"core/search": {
"css": "& .wp-block-search__input{border-radius:0px;border-color:var(--wp--preset--color--accent-6);}",
"elements": {
"button": {
"border": {
"radius": "0px"
}
}
}
},
"core/site-title": {
"typography": {
"fontFamily": "var:preset|font-family|ysabeau-office",
Expand Down
10 changes: 10 additions & 0 deletions styles/07-sunrise.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,16 @@
}
}
},
"core/search": {
"css": "& .wp-block-search__input{border-radius:0px;border-color:var(--wp--preset--color--accent-6);}",
"elements": {
"button": {
"border": {
"radius": "0px"
}
}
}
},
"core/site-title": {
"typography": {
"fontFamily": "var:preset|font-family|platypi",
Expand Down
9 changes: 7 additions & 2 deletions styles/08-midnight.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,13 @@
}
},
"core/search": {
"border": {
"radius": "0px"
"css": "& .wp-block-search__input{border-radius:0px;border-color:var(--wp--preset--color--accent-6);}",
"elements": {
"button": {
"border": {
"radius": "0px"
}
}
}
},
"core/site-logo": {
Expand Down
5 changes: 5 additions & 0 deletions styles/typography/typography-preset-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@
"fontWeight": "300"
}
},
"core/search": {
"typography": {
"fontFamily": "var:preset|font-family|beiruti"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var:preset|font-size|small"
Expand Down
Loading