From: Eduardo San Martin Morote Date: Wed, 7 Jun 2023 12:17:48 +0000 (+0200) Subject: docs: kdb style X-Git-Tag: pinia@2.1.4~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82254405d5509552d702fdd865527dadb99774b3;p=thirdparty%2Fvuejs%2Fpinia.git docs: kdb style --- diff --git a/packages/docs/.vitepress/theme/styles/vars.css b/packages/docs/.vitepress/theme/styles/vars.css index 212e7a45..50a77beb 100644 --- a/packages/docs/.vitepress/theme/styles/vars.css +++ b/packages/docs/.vitepress/theme/styles/vars.css @@ -219,3 +219,16 @@ html.dark .DocSearch-Logo svg .cls-2 { width: auto; max-width: 150px; } + +kbd { + display: inline-block; + padding: 3px 5px; + font-size: 0.65em; + color: var(--vp-c-text-1); + vertical-align: middle; + background-color: var(--vp-c-bg-mute); + border: solid 1px var(--vp-c-bg-soft-mute); + border-radius: 6px; + box-shadow: inset 0 -1px 0 var(--vp-c-bg-soft-mute); + line-height: 0.95em; +} diff --git a/packages/docs/cookbook/vscode-snippets.md b/packages/docs/cookbook/vscode-snippets.md index cdd714df..5e3a2d8a 100644 --- a/packages/docs/cookbook/vscode-snippets.md +++ b/packages/docs/cookbook/vscode-snippets.md @@ -2,7 +2,7 @@ These are some snippets that I use in VSCode to make my life easier. -Manage user snippets with ⇧ ⌘ P / Ctrl ⇧ P and then `Snippets: Configure User Snippets`. +Manage user snippets with ⇧ ⌘ P / ⇧ ⌃ P and then `Snippets: Configure User Snippets`. ```json {