fix: use proper alternating colors in KeyboardShortcuts.tsx
Signed-off-by: Fred Bricon <fbricon@gmail.com>
This commit is contained in:
parent
5b0ecb26ac
commit
f1bfcec825
2 changed files with 2 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ interface KeyboardShortcutProps {
|
|||
function KeyboardShortcut(props: KeyboardShortcutProps) {
|
||||
return (
|
||||
<div
|
||||
className={`flex flex-col items-start p-2 py-2 sm:flex-row sm:items-center ${props.isEven ? "bg-list-active" : ""}`}
|
||||
className={`flex flex-col items-start p-2 py-2 sm:flex-row sm:items-center ${props.isEven ? "" : "bg-table-odd-rows"}`}
|
||||
>
|
||||
<div className="w-full flex-grow pb-1 pr-4 sm:w-auto sm:pb-0">
|
||||
<span className="block break-words text-xs">{props.description}:</span>
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ module.exports = {
|
|||
// TODO make it all non-IDE-specific naming
|
||||
"find-match-selected":
|
||||
"var(--vscode-editor-findMatchHighlightBackground, rgba(255, 223, 0))",
|
||||
"table-odd-rows":"var(--vscode-tree-tableOddRowsBackground, #1bbe84)",
|
||||
"list-active": "var(--vscode-list-activeSelectionBackground, #1bbe84)",
|
||||
"list-active-foreground":
|
||||
"var(--vscode-quickInputList-focusForeground, var(--vscode-editor-foreground))",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue