From ba2fee1424b589a010c086045c26b7c50769fb22 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sun, 2 May 2021 20:28:06 +0200 Subject: [PATCH] docs: better color for diff --- docs/.vitepress/theme/code-theme.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/.vitepress/theme/code-theme.css b/docs/.vitepress/theme/code-theme.css index a420d05f..8eb46539 100644 --- a/docs/.vitepress/theme/code-theme.css +++ b/docs/.vitepress/theme/code-theme.css @@ -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, -- 2.47.3