Skip to content

Commit 8225440

Browse files
committed
docs: kdb style
1 parent 57c6de0 commit 8225440

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

packages/docs/.vitepress/theme/styles/vars.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,3 +219,16 @@ html.dark .DocSearch-Logo svg .cls-2 {
219219
width: auto;
220220
max-width: 150px;
221221
}
222+
223+
kbd {
224+
display: inline-block;
225+
padding: 3px 5px;
226+
font-size: 0.65em;
227+
color: var(--vp-c-text-1);
228+
vertical-align: middle;
229+
background-color: var(--vp-c-bg-mute);
230+
border: solid 1px var(--vp-c-bg-soft-mute);
231+
border-radius: 6px;
232+
box-shadow: inset 0 -1px 0 var(--vp-c-bg-soft-mute);
233+
line-height: 0.95em;
234+
}

packages/docs/cookbook/vscode-snippets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
These are some snippets that I use in VSCode to make my life easier.
44

5-
Manage user snippets with <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>P</kbd> / <kbd>Ctrl</kbd> <kbd></kbd> <kbd>P</kbd> and then `Snippets: Configure User Snippets`.
5+
Manage user snippets with <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>P</kbd> / <kbd></kbd> <kbd></kbd> <kbd>P</kbd> and then `Snippets: Configure User Snippets`.
66

77
```json
88
{

0 commit comments

Comments
 (0)