Skip to content

Commit

Permalink
style: tweak inline code highlighting (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Mar 25, 2024
1 parent 23c566d commit 8eb8913
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions assets/hb/modules/base/scss/_code.scss
Expand Up @@ -2,6 +2,13 @@ code {
background: var(--#{$prefix}secondary-bg);
color: var(--#{$prefix}secondary-color);
padding: 0.125rem 0.25rem;

&.code-inline {
@extend .chroma;

background: inherit;
color: inherit;
}
}

pre {
Expand Down

0 comments on commit 8eb8913

Please sign in to comment.