| b69ab31 | | | 1 | /** |
| b69ab31 | | | 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| b69ab31 | | | 3 | * |
| b69ab31 | | | 4 | * This source code is licensed under the MIT license found in the |
| b69ab31 | | | 5 | * LICENSE file in the root directory of this source tree. |
| b69ab31 | | | 6 | */ |
| b69ab31 | | | 7 | |
| b69ab31 | | | 8 | .kbd-group { |
| b69ab31 | | | 9 | display: inline-flex; |
| b69ab31 | | | 10 | gap: 4px; |
| b69ab31 | | | 11 | line-height: 12px; |
| b69ab31 | | | 12 | padding-inline: 4px; |
| b69ab31 | | | 13 | } |
| b69ab31 | | | 14 | |
| b69ab31 | | | 15 | .dark-theme kbd { |
| b69ab31 | | | 16 | --kbd-background: var(--vscode-keybindingLabel-background, rgba(128, 128, 128, 0.17)); |
| b69ab31 | | | 17 | --kbd-foreground: var(--vscode-keybindingLabel-foreground, #cccccc); |
| b69ab31 | | | 18 | --kbd-border: var(--vscode-keybindingLabel-border, rgba(51, 51, 51, 0.6)); |
| b69ab31 | | | 19 | --kbd-bottomBorder: var(--vscode-keybindingLabel-bottomBorder, rgba(68, 68, 68, 0.6)); |
| b69ab31 | | | 20 | --kbd-shadow: var(--vscode-widget-shadow, rgba(0, 0, 0, 0.36)); |
| b69ab31 | | | 21 | } |
| b69ab31 | | | 22 | |
| b69ab31 | | | 23 | .light-theme kbd { |
| b69ab31 | | | 24 | --kbd-background: var(--vscode-keybindingLabel-background, rgba(221, 221, 221, 0.4)); |
| b69ab31 | | | 25 | --kbd-foreground: var(--vscode-keybindingLabel-foreground, #555555); |
| b69ab31 | | | 26 | --kbd-border: var(--vscode-keybindingLabel-border, rgba(204, 204, 204, 0.4)); |
| b69ab31 | | | 27 | --kbd-bottomBorder: var(--vscode-keybindingLabel-bottomBorder, rgba(187, 187, 187, 0.4)); |
| b69ab31 | | | 28 | --kbd-shadow: var(--vscode-widget-shadow, rgba(0, 0, 0, 0.16)); |
| b69ab31 | | | 29 | } |
| b69ab31 | | | 30 | |
| b69ab31 | | | 31 | kbd { |
| b69ab31 | | | 32 | background-color: var(--kbd-background); |
| b69ab31 | | | 33 | color: var(--kbd-foreground); |
| b69ab31 | | | 34 | border-style: solid; |
| b69ab31 | | | 35 | border-width: 1px; |
| b69ab31 | | | 36 | border-radius: 3px; |
| b69ab31 | | | 37 | border-color: var(--kbd-border); |
| b69ab31 | | | 38 | border-bottom-color: var(--kbd-bottomBorder); |
| b69ab31 | | | 39 | box-shadow: inset 0 -1px 0 var(--kbd-shadow); |
| b69ab31 | | | 40 | vertical-align: middle; |
| b69ab31 | | | 41 | padding: 2px 3px; |
| b69ab31 | | | 42 | line-height: 10px; |
| b69ab31 | | | 43 | font-family: -apple-system, BlinkMacSystemFont, sans-serif; |
| b69ab31 | | | 44 | font-size: 12px; |
| b69ab31 | | | 45 | } |