diff --git a/docs/.vitepress/theme/index.css b/docs/.vitepress/theme/index.css index 0d8e1853738..5eab1f54b45 100644 --- a/docs/.vitepress/theme/index.css +++ b/docs/.vitepress/theme/index.css @@ -16,5 +16,8 @@ table td ul li { .VPHero .action:not(:last-child) a.VPButton.alt { border-color: var(--vp-button-brand-bg) !important; - color: var(--vp-button-brand-text) !important; + + .dark & { + color: var(--vp-button-brand-text) !important; + } }