Skip to content

Commit

Permalink
Fix code block color inside a <blockquote> (#2378)
Browse files Browse the repository at this point in the history
* Set default color for code blocks

* Create .changeset/pink-geese-invite.md
  • Loading branch information
simurai authored Feb 20, 2023
1 parent 1b53e23 commit 55f35e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/pink-geese-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Fix code block color inside a `<blockquote>`
1 change: 1 addition & 0 deletions src/markdown/code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
font-size: 85%;
// stylelint-disable-next-line primer/typography
line-height: 1.45;
color: var(--color-fg-default);
background-color: var(--color-canvas-subtle);
border-radius: $border-radius;
}
Expand Down

0 comments on commit 55f35e1

Please sign in to comment.