Skip to content

Commit

Permalink
docs: fix <kbd> style in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenOutman committed Oct 30, 2021
1 parent 39cbbd4 commit d0bbf53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/less/index.less
Expand Up @@ -28,6 +28,11 @@
@top-level-nav-height: 48px;
@doc-nav-active-color: var(--rs-text-link);

:root {
--font-family-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono',
monospace;
}

body {
background-color: #fff;

Expand Down
5 changes: 2 additions & 3 deletions docs/less/markdown.less
Expand Up @@ -59,10 +59,9 @@
}
kbd {
box-sizing: border-box;
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
font-family: var(--font-family-mono);
border-radius: 0.25em;
background-color: rgb(235, 235, 235);
background-color: var(--rs-bg-well); // rgb(235, 235, 235);
padding: 0.2em 0.3em;
border-style: solid;
border-color: rgb(200, 200, 200);
Expand Down

1 comment on commit d0bbf53

@vercel
Copy link

@vercel vercel bot commented on d0bbf53 Oct 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.