Skip to content

Commit

Permalink
fix: highlight block embed text colors
Browse files Browse the repository at this point in the history
- Fixed text color for links, bold, italic, and code within highlight blocks
- All embedded elements now match parent text color for better readability
- Maintains consistent color scheme across all highlight blocks
  • Loading branch information
sponnify committed Jan 12, 2025
1 parent 73fd3c4 commit 9396798
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions _sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -299,15 +299,16 @@ code {
font-weight: 400;
}

body .main-content .highlight {
body .main-content .highlight,
body .main-content pre.highlight {
background: #ffffff !important;
color: $body-background-color !important;
padding: 0.2em 0.4em;
border-radius: 6px;
font-weight: 400;
}

a {
color: $body-background-color !important;
text-decoration-color: $body-background-color !important;
}
body .main-content p.highlight a {
color: $body-background-color !important;
text-decoration-color: $body-background-color !important;
}

0 comments on commit 9396798

Please sign in to comment.