From b3fb8dc0a90fa69c1bcba1529be421acbba934db Mon Sep 17 00:00:00 2001 From: Sherman Boyd Date: Sun, 2 Feb 2025 10:22:11 -0700 Subject: [PATCH] CSS fixes --- gui/src/components/gui/Shortcut.css | 7 +++---- gui/src/components/gui/Shortcut.tsx | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gui/src/components/gui/Shortcut.css b/gui/src/components/gui/Shortcut.css index bd0312509..7ac52e9af 100644 --- a/gui/src/components/gui/Shortcut.css +++ b/gui/src/components/gui/Shortcut.css @@ -1,12 +1,11 @@ .shortcut-wrapper { - color: var(--light-gray); + } .keyboard-key { font-family: "Inter", monospace; - -webkit-font-feature-settings: ; letter-spacing: 0.05rem; - color: --vscode-editor-foreground; + color: var(--vscode-editor-foreground); padding: 1px 4px; margin: 0.08rem 0.08rem; } @@ -25,5 +24,5 @@ position: relative; top: 0.1rem; margin: 0 0.1rem; - color: --vscode-editor-foreground; + color: var(--vscode-editor-foreground); } \ No newline at end of file diff --git a/gui/src/components/gui/Shortcut.tsx b/gui/src/components/gui/Shortcut.tsx index 8e09e2910..506427c70 100644 --- a/gui/src/components/gui/Shortcut.tsx +++ b/gui/src/components/gui/Shortcut.tsx @@ -1,5 +1,6 @@ import React from "react"; import { getFontSize, getPlatform, getMetaKeyLabel, getAltKeyLabel } from "../../util"; +import "../../../src/index.css"; import "./Shortcut.css"; interface ShortcutProps {