Skip to content

Commit 5d04305

Browse files
Rich-HarrisRich Harris
andauthored
style links in <code> differently - closes sveltejs#238 (sveltejs#243)
Co-authored-by: Rich Harris <[email protected]>
1 parent 3699644 commit 5d04305

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/routes/tutorial/[slug]/Sidebar.svelte

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@
137137
--color: rgba(255, 0, 0, 0.1);
138138
}
139139
140+
/** this probably belongs in site-kit */
141+
.text :global(p) :global(a) :global(code) {
142+
color: var(--sk-theme-1);
143+
background: rgba(255, 62, 0, 0.1);
144+
}
145+
140146
footer {
141147
padding: 1rem 3rem;
142148
display: flex;

0 commit comments

Comments
 (0)