From f4cb1e3ca3b0c20203b1cb355828eedd9b4fd23f Mon Sep 17 00:00:00 2001 From: Gabriel Cozma Date: Tue, 2 Jan 2024 13:11:43 +0200 Subject: [PATCH 1/2] fix: Changed brand button text for better contrast --- docs/.vitepress/theme/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index aed02bf6..a3b64c81 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -76,7 +76,7 @@ :root { --vp-button-brand-border: transparent; - --vp-button-brand-text: var(--vp-c-white); + --vp-button-brand-text: var(--vp-c-black); --vp-button-brand-bg: var(--vp-c-brand-3); --vp-button-brand-hover-border: transparent; --vp-button-brand-hover-text: var(--vp-c-white); From 3c975d5224c9a7ff1650e689f8bfab2635b053ad Mon Sep 17 00:00:00 2001 From: Gabriel Cozma Date: Tue, 2 Jan 2024 13:13:17 +0200 Subject: [PATCH 2/2] fix: Changed brand button text for hover & active --- docs/.vitepress/theme/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index a3b64c81..f992d037 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -79,10 +79,10 @@ --vp-button-brand-text: var(--vp-c-black); --vp-button-brand-bg: var(--vp-c-brand-3); --vp-button-brand-hover-border: transparent; - --vp-button-brand-hover-text: var(--vp-c-white); + --vp-button-brand-hover-text: var(--vp-c-black); --vp-button-brand-hover-bg: var(--vp-c-brand-2); --vp-button-brand-active-border: transparent; - --vp-button-brand-active-text: var(--vp-c-white); + --vp-button-brand-active-text: var(--vp-c-black); --vp-button-brand-active-bg: var(--vp-c-brand-1); }