Skip to content

Commit 6588b3f

Browse files
committed
docs: add colors for code tabs
1 parent adb8407 commit 6588b3f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/.vuepress/styles/index.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
:root {
2+
--code-c-bg: #fafafa;
3+
--code-tabs-c-text: var(--vp-c-text);
4+
--code-tabs-c-bg: rgba(0 0 0 / 10%);
5+
}
6+
7+
[data-theme='dark'] {
8+
--code-c-bg: #282c34;
9+
--code-tabs-c-bg: #181819;
10+
}

0 commit comments

Comments
 (0)