From 1250486ddfef6f2db353af4977cd7f4654aaf72f Mon Sep 17 00:00:00 2001 From: David Hill Date: Fri, 16 Jan 2026 23:43:41 +0000 Subject: feat: add Keybind component for displaying keyboard shortcuts --- packages/ui/src/components/keybind.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/ui/src/components/keybind.css (limited to 'packages/ui/src/components/keybind.css') diff --git a/packages/ui/src/components/keybind.css b/packages/ui/src/components/keybind.css new file mode 100644 index 000000000..1a9e5dce4 --- /dev/null +++ b/packages/ui/src/components/keybind.css @@ -0,0 +1,18 @@ +[data-component="keybind"] { + display: flex; + align-items: center; + justify-content: center; + flex-shrink: 0; + height: 20px; + padding: 0 8px; + border-radius: 2px; + background: var(--surface-base); + box-shadow: var(--shadow-xxs-border); + + /* text-12-medium */ + font-family: var(--font-family-sans); + font-size: 12px; + font-weight: var(--font-weight-medium); + line-height: 1; + color: var(--text-weak); +} -- cgit v1.2.3