From aa549d1da7e41a54da35eb5433047e7e8a578083 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 31 Oct 2022 12:28:13 -0700 Subject: [PATCH] Don't use 'on' color for projects in the contact list --- styles/src/styleTree/contactList.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/styles/src/styleTree/contactList.ts b/styles/src/styleTree/contactList.ts index 5aede5d862593b850cb24285895b7ce960ef972e..5addca96d2a14403ef984c4d7a53b5e5ea88ce44 100644 --- a/styles/src/styleTree/contactList.ts +++ b/styles/src/styleTree/contactList.ts @@ -63,7 +63,7 @@ export default function contactsPanel(colorScheme: ColorScheme) { top: 4, }, margin: { - left: 6 + left: 6, }, }, userQueryEditorHeight: 33, @@ -151,7 +151,7 @@ export default function contactsPanel(colorScheme: ColorScheme) { color: foreground(layer, "on"), }, callingIndicator: { - ...text(layer, "mono", "variant", { size: "xs" }) + ...text(layer, "mono", "variant", { size: "xs" }), }, treeBranch: { color: borderColor(layer), @@ -165,7 +165,7 @@ export default function contactsPanel(colorScheme: ColorScheme) { }, projectRow: { ...projectRow, - background: background(layer, "on"), + background: background(layer), icon: { margin: { left: nameMargin }, color: foreground(layer, "variant"), @@ -176,11 +176,11 @@ export default function contactsPanel(colorScheme: ColorScheme) { ...text(layer, "mono", { size: "sm" }), }, hover: { - background: background(layer, "on", "hovered"), + background: background(layer, "hovered"), }, active: { - background: background(layer, "on", "active"), + background: background(layer, "active"), }, }, - } + }; }