Skip to content

Commit

Permalink
Ensured okaidia theme has constrast ratio of 4.5:1 for all tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
efabrizio75 committed Oct 20, 2024
1 parent 59e5a34 commit 4db5016
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions themes/prism-okaidia.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ pre[class*="language-"] {
border-radius: 0.3em;
}

:not(pre) > code[class*="language-"],
:not(pre)>code[class*="language-"],
pre[class*="language-"] {
background: #272822;
background: #1B1C18;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
:not(pre)>code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
Expand Down Expand Up @@ -114,10 +114,11 @@ pre[class*="language-"] {
.token.bold {
font-weight: bold;
}

.token.italic {
font-style: italic;
}

.token.entity {
cursor: help;
}
}

0 comments on commit 4db5016

Please sign in to comment.