Skip to content

Commit

Permalink
Merge pull request #251 from jpuzz0/fix/dark-theme-override-markdown
Browse files Browse the repository at this point in the history
Exclude markdown pre black background for code blocks
  • Loading branch information
dlabaj authored Jun 23, 2023
2 parents e9a8e50 + bea0dd9 commit 3b1b0d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/module/src/styles/_dark-custom-override.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
color: var(--pf-v5-global--palette--black-200) !important;
}

.pfext-markdown-view pre {
.pfext-markdown-view pre:not(.pfext-code-block__pre) {
background-color: var(--pf-v5-global--BackgroundColor--100);
border-color: var(--pf-v5-global--BorderColor--100);
}
Expand Down Expand Up @@ -59,4 +59,4 @@
--pf-v5-c-alert--m-inline--m-warning--BackgroundColor: var(--pf-v5-global--palette--black-700);
--pf-v5-c-alert--m-inline--m-info--BackgroundColor: var(--pf-v5-global--palette--black-700);
}
}
}

0 comments on commit 3b1b0d2

Please sign in to comment.