Skip to content

Commit 66e31f1

Browse files
author
Noah Raynor
committed
fix subheader and make it white
1 parent 6834d11 commit 66e31f1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

fern/assets/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,4 +277,9 @@ html.dark button[data-highlighted] .fern-api-property-meta {
277277

278278
.light .fern-theme-default.fern-container {
279279
background-color: #fff !important;
280+
}
281+
282+
/* Fix: Make subtitle white on pages with availability badges in dark mode */
283+
:is(.dark) .prose-p\:text-\(color\:--grayscale-a11\) :where(p):not(:where([class~=not-prose],[class~=not-prose] *)) {
284+
color: var(--grayscale-12) !important;
280285
}

0 commit comments

Comments
 (0)