Skip to content

Commit bf5b873

Browse files
fix: heading > code styles (#67)
Co-authored-by: paul valladares <85648028+dreyfus92@users.noreply.github.com>
1 parent 138f8ce commit bf5b873

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/styles/starlight.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@
6767
background-image: linear-gradient(to right, var(--c-start), var(--c-end));
6868
}
6969

70+
:is(h1, h2, h3, h4, h5, h6) code {
71+
background-clip: border-box;
72+
-webkit-background-clip: border-box;
73+
-webkit-text-fill-color: var(--heading-fill);
74+
color: var(--heading-fill);
75+
}
76+
7077
/* Target specific elements */
7178
.sl-nav-link,
7279
.site-title,

0 commit comments

Comments
 (0)