Skip to content

Commit

Permalink
notes (fzf)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbushell committed Dec 6, 2024
1 parent 7beeb7d commit b958678
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions src/css/base/code.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
pre,
code {
:is(code, kbd, pre) {
font-family: 'Roboto Mono', monospace;
font-size: var(--font-size-0);
font-weight: 400;
-webkit-text-size-adjust: 100%;
}

:not(pre) > code {
:is(:where(:not(pre)) > code, kbd) {
background: oklch(var(--color-background2));
border: var(--border-size-1) solid oklch(var(--color-quaternary));
color: oklch(var(--color-secondary2));
Expand All @@ -18,6 +17,15 @@ code {
text-decoration: none;
}

kbd {
border-radius: var(--radius-1);
background-color: transparent;
color: oklch(var(--color-foreground));
border: var(--border-size-1) solid oklch(var(--color-primary) / 0.5);
font-weight: var(--font-weight-1);
/* border-color: oklch(var(--color-primary)); */
}

pre {
--background-color: var(--db-dark);
--background-alt: var(--db-midnight);
Expand Down
2 changes: 1 addition & 1 deletion src/data
Submodule data updated from 6fb76f to 620d15

0 comments on commit b958678

Please sign in to comment.