]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: better color for diff
authorEduardo San Martin Morote <posva13@gmail.com>
Sun, 2 May 2021 18:28:06 +0000 (20:28 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Sun, 2 May 2021 18:28:06 +0000 (20:28 +0200)
docs/.vitepress/theme/code-theme.css

index a420d05f526f46b51184df578ef5a440932bc38b..8eb46539ea1c6bfec5181085a054e8d753dde185 100644 (file)
@@ -81,7 +81,7 @@ pre[class*='language-'] {
 }
 
 .token.deleted {
-  color: rgba(239, 83, 80, 0.56);
+  color: rgb(239, 83, 80);
   font-style: italic;
 }
 
@@ -119,7 +119,8 @@ pre[class*='language-'] {
 }
 
 .token.attr-name,
-.token.inserted {
+.token.inserted,
+code .token.inserted {
   color: rgb(173, 219, 103);
   font-style: italic;
 }
@@ -233,10 +234,10 @@ html.light .namespace {
   color: rgb(12, 150, 155);
 }
 
-html.light .token.deleted {
-  color: rgba(239, 83, 80, 0.56);
+/* html.light .token.deleted {
+  color: rgb(239, 83, 80);
   font-style: italic;
-}
+} */
 
 html.light .token.symbol,
 html.light .token.operator,