Skip to content

Commit 2cf2b93

Browse files
authored
add white variation of link.svg (#8041)
1 parent 252155a commit 2cf2b93

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 8 additions & 0 deletions
Loading

sites/site-kit/src/lib/styles/text.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,12 @@
212212
bottom: 0.25em;
213213
}
214214

215+
@media (prefers-color-scheme: dark) {
216+
.text a.permalink {
217+
background: url(@sveltejs/site-kit/icons/link-white.svg) 0 50% no-repeat;
218+
}
219+
}
220+
215221
@media (min-width: 768px) {
216222
.text a.permalink:focus,
217223
.text h2:hover a.permalink,

0 commit comments

Comments
 (0)