From 0af129d50a594fc61985a0a3418e304747479ea5 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 18 Apr 2022 18:14:45 -0700 Subject: [PATCH] Use primary text color for keystrokes in command palette --- assets/themes/dark.json | 2 +- assets/themes/light.json | 2 +- styles/src/styleTree/commandPalette.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/themes/dark.json b/assets/themes/dark.json index e8a082d2ca..85822e8e05 100644 --- a/assets/themes/dark.json +++ b/assets/themes/dark.json @@ -713,7 +713,7 @@ "key": { "text": { "family": "Zed Mono", - "color": "#9c9c9c", + "color": "#f1f1f1", "size": 12 }, "corner_radius": 3, diff --git a/assets/themes/light.json b/assets/themes/light.json index bf9b287a37..9a93749bfb 100644 --- a/assets/themes/light.json +++ b/assets/themes/light.json @@ -713,7 +713,7 @@ "key": { "text": { "family": "Zed Mono", - "color": "#474747", + "color": "#2b2b2b", "size": 12 }, "corner_radius": 3, diff --git a/styles/src/styleTree/commandPalette.ts b/styles/src/styleTree/commandPalette.ts index f7a0f51f6e..00005d6197 100644 --- a/styles/src/styleTree/commandPalette.ts +++ b/styles/src/styleTree/commandPalette.ts @@ -5,7 +5,7 @@ export default function commandPalette(theme: Theme) { return { keystrokeSpacing: 8, key: { - text: text(theme, "mono", "secondary", { size: "xs" }), + text: text(theme, "mono", "primary", { size: "xs" }), cornerRadius: 3, background: backgroundColor(theme, "info", "base"), border: border(theme, "info"),