Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4269 from pulumi/thoward/fix_code_highlight_backg…
Browse files Browse the repository at this point in the history
…round_color

Fix CSS background color to be more readable for code listings with highlighted lines
  • Loading branch information
thoward authored May 13, 2024
2 parents 53ae88c + e71a339 commit bf5ab39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/default/assets/css/bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -2591,7 +2591,7 @@ a.dismissable-banner i#dismiss-banner{
}

.chroma .hl{
background-color:#ffc
background-color:#4d3675
}

.chroma .lnt{
Expand Down
2 changes: 1 addition & 1 deletion themes/default/theme/src/scss/_chroma.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
/* LineHighlight */ .chroma .hl { background-color: #ffffcc }
/* LineHighlight */ .chroma .hl { background-color: #4d3675 }
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #64686c }
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #6e7681 }
/* Line */ .chroma .line { display: flex; }
Expand Down

0 comments on commit bf5ab39

Please sign in to comment.