Skip to content

Commit

Permalink
chore: cleanup template
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd authored Mar 27, 2023
1 parent 0e45804 commit b441b22
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions template/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,37 +88,6 @@
.DocSearch {
--docsearch-primary-color: var(--vp-c-brand) !important;
}

/**
* VitePress: Custom fix
* -------------------------------------------------------------------------- */

/*
Use lighter colors for links in dark mode for a11y.
Also specify some classes twice to have higher specificity
over scoped class data attribute.
*/
.dark .vp-doc a,
.dark .vp-doc a > code,
.dark .VPNavBarMenuLink.VPNavBarMenuLink:hover,
.dark .VPNavBarMenuLink.VPNavBarMenuLink.active,
.dark .link.link:hover,
.dark .link.link.active,
.dark .edit-link-button.edit-link-button,
.dark .pager-link .title {
color: var(--vp-c-brand-lighter);
}

.dark .vp-doc a:hover,
.dark .vp-doc a > code:hover {
color: var(--vp-c-brand-lightest);
opacity: 1;
}

/* Transition by color instead of opacity */
.dark .vp-doc .custom-block a {
transition: color 0.25s;
}
<% } else { %>
html {
font-family: Arial, Helvetica;
Expand Down

0 comments on commit b441b22

Please sign in to comment.