mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-03 08:54:04 +00:00
Fix padding inside search input.
Adjust borders for toggle buttons
This commit is contained in:
parent
da3a4174ce
commit
9ad308f2f0
1 changed files with 9 additions and 8 deletions
|
@ -20,9 +20,9 @@ export default function search(): any {
|
|||
right: 12,
|
||||
},
|
||||
padding: {
|
||||
top: 3,
|
||||
bottom: 3,
|
||||
left: 10,
|
||||
top: 4,
|
||||
bottom: 4,
|
||||
left: 4,
|
||||
right: 4,
|
||||
},
|
||||
}
|
||||
|
@ -46,8 +46,8 @@ export default function search(): any {
|
|||
...text(theme.highest, "mono", "on"),
|
||||
background: background(theme.highest, "on"),
|
||||
corner_radius: 2,
|
||||
border: border(theme.highest, "on"),
|
||||
|
||||
margin: { right: 2 },
|
||||
border: { width: 0, color: foreground(theme.highest, "variant") },
|
||||
padding: {
|
||||
bottom: 6,
|
||||
left: 6,
|
||||
|
@ -59,25 +59,26 @@ export default function search(): any {
|
|||
hovered: {
|
||||
...text(theme.highest, "mono", "on", "hovered"),
|
||||
background: background(theme.highest, "on", "hovered"),
|
||||
border: border(theme.highest, "on", "hovered"),
|
||||
},
|
||||
clicked: {
|
||||
...text(theme.highest, "mono", "on", "pressed"),
|
||||
background: background(theme.highest, "on", "pressed"),
|
||||
border: border(theme.highest, "on", "pressed"),
|
||||
},
|
||||
},
|
||||
}),
|
||||
state: {
|
||||
active: {
|
||||
default: {
|
||||
...text(theme.highest, "mono", "accent"),
|
||||
background: background(theme.highest, "accent", "hovered"),
|
||||
border: border(theme.highest, "on"),
|
||||
},
|
||||
hovered: {
|
||||
...text(theme.highest, "mono", "accent", "hovered"),
|
||||
border: border(theme.highest, "on", "hovered"),
|
||||
},
|
||||
clicked: {
|
||||
...text(theme.highest, "mono", "accent", "pressed"),
|
||||
border: border(theme.highest, "on", "pressed"),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue