From 4db5016706a952bcca28936cbdb9a15248184252 Mon Sep 17 00:00:00 2001 From: Emanuele F Date: Sun, 20 Oct 2024 22:32:32 +0200 Subject: [PATCH] Ensured okaidia theme has constrast ratio of 4.5:1 for all tokens --- themes/prism-okaidia.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/themes/prism-okaidia.css b/themes/prism-okaidia.css index cf04068a45..1d45eecbac 100644 --- a/themes/prism-okaidia.css +++ b/themes/prism-okaidia.css @@ -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; @@ -114,10 +114,11 @@ pre[class*="language-"] { .token.bold { font-weight: bold; } + .token.italic { font-style: italic; } .token.entity { cursor: help; -} +} \ No newline at end of file