File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
docs/.vitepress/components Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" tab-container" :id =" id" >
2
+ <div class =" tab-container vp-adaptive-theme " :id =" id" >
3
3
<nav ref =" nav" >
4
4
<button
5
5
:id =" id + '_rtdb'"
@@ -87,13 +87,6 @@ export default {
87
87
}
88
88
</script >
89
89
90
- <style >
91
- :root {
92
- --code-bg-color-lighter : #323232 ;
93
- --code-bg-color-lightest : #616161 ;
94
- }
95
- </style >
96
-
97
90
<style >
98
91
.tab-container > nav {
99
92
display : flex ;
@@ -123,7 +116,7 @@ export default {
123
116
border-bottom : none ;
124
117
/* filter: brightness(1.1); */
125
118
/* background-color: lighten(var(--code-bg-color), 10%); */
126
- background-color : var (--code-bg-color-lighter );
119
+ background-color : var (--vp- code-copy-code-hover-bg );
127
120
}
128
121
129
122
.tab-container > nav > button svg {
@@ -153,7 +146,7 @@ export default {
153
146
.tab-container > nav > button :not ([disabled ]):not (.is-selected ):hover {
154
147
cursor : pointer ;
155
148
/* background-color: lighten(var(--code-bg-color), 30%); */
156
- background-color : var (--code-bg-color-lightest );
149
+ background-color : var (--vp- code-copy-code-hover-bg );
157
150
/* filter: brightness(1.3); */
158
151
}
159
152
You can’t perform that action at this time.
0 commit comments