mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
Contrast rebalances
This commit is contained in:
parent
75c79d60fe
commit
364c3f2f00
3 changed files with 7 additions and 7 deletions
|
@ -28,9 +28,9 @@ export default function picker(colorScheme: ColorScheme) {
|
|||
text: text(layer, "sans", "variant"),
|
||||
highlightText: text(layer, "sans", "accent", { weight: "bold" }),
|
||||
active: {
|
||||
background: background(layer, "base", "inverted"),
|
||||
text: text(layer, "sans", "base", "inverted"),
|
||||
highlightText: text(layer, "sans", "accent", "inverted", {
|
||||
background: background(layer, "base", "active"),
|
||||
text: text(layer, "sans", "base", "active"),
|
||||
highlightText: text(layer, "sans", "accent", {
|
||||
weight: "bold",
|
||||
}),
|
||||
},
|
||||
|
|
|
@ -44,9 +44,9 @@ export default function search(colorScheme: ColorScheme) {
|
|||
top: 2,
|
||||
},
|
||||
active: {
|
||||
...text(layer, "mono", "on", "active"),
|
||||
background: background(layer, "on", "active"),
|
||||
border: border(layer, "on", "active"),
|
||||
...text(layer, "mono", "on", "inverted"),
|
||||
background: background(layer, "on", "inverted"),
|
||||
border: border(layer, "on", "inverted"),
|
||||
},
|
||||
clicked: {
|
||||
...text(layer, "mono", "on", "pressed"),
|
||||
|
|
|
@ -227,7 +227,7 @@ function buildStyleDefinition(bgBase: number, fgBase: number, step: number = 0.0
|
|||
default: bgBase,
|
||||
hovered: bgBase + step,
|
||||
pressed: bgBase + step * 1.5,
|
||||
active: bgBase + step * 3,
|
||||
active: bgBase + step * 2.2,
|
||||
disabled: bgBase,
|
||||
inverted: fgBase + step * 6,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue