Skip to content

Commit

Permalink
feat(plugin-markdown-tab): improve fallback color when using shiki
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Oct 25, 2024
1 parent c668f07 commit f6dec37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
}

&.active {
background: var(--code-c-bg);
background: var(--code-c-bg, var(--vp-c-bg-alt));

&::before {
background: radial-gradient(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:root {
--code-tabs-c-text: var(--code-c-text);
--code-tabs-c-bg: var(--code-c-highlight-bg);
--code-tabs-c-hover: var(--code-c-bg);
--code-tabs-c-hover: var(--code-c-bg, var(--vp-c-bg-alt));
--tab-c-bg: var(--vp-c-bg);
--tab-c-nav: var(--vp-c-text);
--tab-c-bg-nav: var(--vp-c-grey-bg);
Expand Down

0 comments on commit f6dec37

Please sign in to comment.