Skip to content

Commit

Permalink
fix(preview): use secondary colours for quotes as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dcshzj authored Nov 10, 2023
1 parent a415282 commit 5925c12
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/utils/siteColorUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,21 @@ const createPageStyleSheet = (repoName, primaryColor, secondaryColor) => {
`.content h5 { color: ${secondaryColor} !important;}`,
0
)

// EditPage: Blockquotes
customStyleSheet.insertRule(
`.content blockquote { border-left-color: ${secondaryColor} !important;}`,
0
)
customStyleSheet.insertRule(
`.content blockquote > p { color: ${secondaryColor} !important;}`,
0
)
customStyleSheet.insertRule(
`.content blockquote > ul { color: ${secondaryColor} !important;}`,
0
)

customStyleSheet.insertRule(
`.has-text-secondary { color: ${secondaryColor} !important;}`,
0
Expand Down

0 comments on commit 5925c12

Please sign in to comment.