fix(style): remove extraneous stylesheets for site color pallete for twoslash styles that causes color overrides breaks upon exsisting

This commit is contained in:
Anda Toshiki 2023-09-19 10:33:05 -07:00
parent d6cff5411c
commit c0bfad0a10

View File

@ -63,58 +63,6 @@ html.dark pre.shiki[class*='light'] {
--vp-code-tab-active-text-color: var(--vp-c-text-1); --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 */ /* h3 breaks SEO => replaced with h2 with the same size */
.home-content h2 { .home-content h2 {
margin-top: 2rem; margin-top: 2rem;