Skip to content

Commit 1342f86

Browse files
committed
Set banner colors in print styles
1 parent 5e8d9d0 commit 1342f86

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/starlight/style/print.css

+5
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@
8787
--sl-sidebar-width: 0px !important;
8888
--sl-content-width: 100% !important;
8989
}
90+
/* components/Banner.astro */
91+
.sl-banner {
92+
--sl-color-banner-text: var(--sl-color-white) !important;
93+
background-color: transparent !important;
94+
}
9095

9196
/* components/MarkdownContent.astro */
9297
.sl-markdown-content :is(h1, h2, h3, h4, h5, h6) {

0 commit comments

Comments
 (0)