Merge pull request #1839 from zed-industries/contact-list-project-color

Don't use 'on' background color for projects in the contact list
This commit is contained in:
Max Brunsfeld 2022-10-31 12:39:17 -07:00
parent 4e788b1818
commit df837283e8

View file

@ -63,7 +63,7 @@ export default function contactsPanel(colorScheme: ColorScheme) {
top: 4, top: 4,
}, },
margin: { margin: {
left: 6 left: 6,
}, },
}, },
userQueryEditorHeight: 33, userQueryEditorHeight: 33,
@ -151,7 +151,7 @@ export default function contactsPanel(colorScheme: ColorScheme) {
color: foreground(layer, "on"), color: foreground(layer, "on"),
}, },
callingIndicator: { callingIndicator: {
...text(layer, "mono", "variant", { size: "xs" }) ...text(layer, "mono", "variant", { size: "xs" }),
}, },
treeBranch: { treeBranch: {
color: borderColor(layer), color: borderColor(layer),
@ -165,7 +165,7 @@ export default function contactsPanel(colorScheme: ColorScheme) {
}, },
projectRow: { projectRow: {
...projectRow, ...projectRow,
background: background(layer, "on"), background: background(layer),
icon: { icon: {
margin: { left: nameMargin }, margin: { left: nameMargin },
color: foreground(layer, "variant"), color: foreground(layer, "variant"),
@ -176,11 +176,11 @@ export default function contactsPanel(colorScheme: ColorScheme) {
...text(layer, "mono", { size: "sm" }), ...text(layer, "mono", { size: "sm" }),
}, },
hover: { hover: {
background: background(layer, "on", "hovered"), background: background(layer, "hovered"),
}, },
active: { active: {
background: background(layer, "on", "active"), background: background(layer, "active"),
}, },
}, },
} };
} }