From c0bfad0a1083d81019855e5bb6fd33923389be42 Mon Sep 17 00:00:00 2001 From: "@andatoshiki" Date: Tue, 19 Sep 2023 10:33:05 -0700 Subject: [PATCH] fix(style): remove extraneous stylesheets for site color pallete for twoslash styles that causes color overrides breaks upon exsisting --- .../theme/styles/component/twoslash.scss | 52 ------------------- 1 file changed, 52 deletions(-) diff --git a/docs/.vitepress/theme/styles/component/twoslash.scss b/docs/.vitepress/theme/styles/component/twoslash.scss index 1c43ac13..67f2e3d8 100644 --- a/docs/.vitepress/theme/styles/component/twoslash.scss +++ b/docs/.vitepress/theme/styles/component/twoslash.scss @@ -63,58 +63,6 @@ html.dark pre.shiki[class*='light'] { --vp-code-tab-active-text-color: var(--vp-c-text-1); } -/** - * Component: Button - * -------------------------------------------------------------------------- */ - -:root { - --vp-button-brand-border: var(--vp-c-brand-light); - --vp-button-brand-text: var(--vp-c-text-dark-1); - --vp-button-brand-bg: var(--vp-c-brand); - --vp-button-brand-hover-border: var(--vp-c-brand-light); - --vp-button-brand-hover-text: var(--vp-c-text-dark-1); - --vp-button-brand-hover-bg: var(--vp-c-brand-light); - --vp-button-brand-active-border: var(--vp-c-brand-light); - --vp-button-brand-active-text: var(--vp-c-text-dark-1); - --vp-button-brand-active-bg: var(--vp-button-brand-bg); -} - -/** - * Component: Algolia - * -------------------------------------------------------------------------- */ - -.DocSearch { - --docsearch-primary-color: var(--vp-c-brand) !important; -} - -/** - * Site - * -------------------------------------------------------------------------- */ - -.VPImage.logo { - height: 1rem; -} - -.dark [img-light] { - display: none; -} - -html:not(.dark) [img-dark] { - display: none; -} - -/* Overrides */ - -.VPSocialLink { - transform: scale(0.9); -} - -.vp-doc th, -.vp-doc td { - padding: 6px 10px; - border: 1px solid #8882; -} - /* h3 breaks SEO => replaced with h2 with the same size */ .home-content h2 { margin-top: 2rem;