diff --git a/docs/.vitepress/style/vars.css b/docs/.vitepress/style/vars.css index 9552c8b04179..661553cf903b 100644 --- a/docs/.vitepress/style/vars.css +++ b/docs/.vitepress/style/vars.css @@ -17,6 +17,8 @@ --vp-custom-block-tip-bg: rgba(18, 181, 157, 0.1); /* fix contrast on gray cards: used by --vp-c-text-2 */ --vp-c-text-light-2: rgba(56 56 56 / 70%); + /* fix contrast: lang name on gray code block */ + --vp-c-text-dark-3: rgba(180, 180, 180, 0.7); } .dark { @@ -28,6 +30,8 @@ --vp-custom-block-tip-bg: rgba(18, 181, 157, 0.1); /* fix contrast on gray cards: check the same above (this is the default) */ --vp-c-text-dark-2: rgba(235, 235, 235, 0.60); + /* fix lang name: check the same above (this is the default) */ + --vp-c-text-dark-3: rgba(235, 235, 235, 0.38); } /**