Skip to content

Commit

Permalink
root: Improve language highlighting in codeblocks for accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bmndc authored Jul 29, 2024
1 parent 9fc41c3 commit 3544871
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@

// Ruby language highlighting
.language-diff .gd {
background-color: rgba(255, 127, 80, 0.75);
background-color: rgba(255, 127, 80, 0.25);
}
.language-diff .gi {
background-color: rgba(0, 128, 128, 0.7);
background-color: rgba(0, 128, 128, 0.3);
}

.language-console .nt {
color: #2e2e2e;
.language-console .go {
color: darkblue;
}
@media (prefers-color-scheme: dark) {
.language-console .nt {
color: #ccc;
.language-console .go {
color: lightskyblue;
}
}

Expand Down

0 comments on commit 3544871

Please sign in to comment.