Skip to content

Commit e848095

Browse files
miyahkunHerringtonDarkholme
authored andcommitted
fix: Improve color of Share button in dark mode
1 parent 9c9ee77 commit e848095

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

website/src/components/Toolbars.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ async function onShare() {
7575
position: absolute;
7676
left: -10%;
7777
bottom: 50%;
78+
color: var(--vp-c-white);
7879
background-color: rgba(0, 0, 0, 0.5);
7980
padding: 0.25em 0.5em;
8081
font-size: 10px;
@@ -84,6 +85,10 @@ async function onShare() {
8485
transition: 0.2s;
8586
border-radius: 5px;
8687
}
88+
89+
.dark [title]:after {
90+
color: var(--vp-c-brand-1);
91+
}
8792
8893
[title]:hover:after {
8994
opacity: 1;

0 commit comments

Comments
 (0)