Skip to content

Commit 730226c

Browse files
authored
style(theme): restore the external link icon color from previous version (#2571)
1 parent cfa870f commit 730226c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: src/client/theme-default/components/VPDoc.vue

+1
Original file line numberDiff line numberDiff line change
@@ -205,5 +205,6 @@ const pageName = computed(() =>
205205
206206
.external-link-icon-enabled :is(.vp-doc a[href*='://'], .vp-doc a[target='_blank'])::after {
207207
content: '';
208+
color: currentColor;
208209
}
209210
</style>

Diff for: src/client/theme-default/styles/components/vp-doc.css

+1
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@
546546
width: 11px;
547547
height: 11px;
548548
background: currentColor;
549+
color: var(--vp-c-text-3);
549550
flex-shrink: 0;
550551
--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");
551552
-webkit-mask-image: var(--icon);

0 commit comments

Comments
 (0)