Skip to content

Commit 4b030b8

Browse files
authored
Merge pull request #1862 from hrx01-dev/Fixed-Visibilty-in-DarkTheme
Fixed visibility in dark theme
2 parents 4f28339 + 3b49ec5 commit 4b030b8

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

src/css/custom.css

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2620,7 +2620,9 @@ html[data-theme="dark"] .blog-post-page .markdown h4 {
26202620
}
26212621

26222622
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-info,
2623-
html[data-theme="dark"].blog-post-page .markdown .alert--info {
2623+
html[data-theme="dark"].blog-post-page .markdown .alert--info,
2624+
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-note,
2625+
html[data-theme="dark"].blog-post-page .markdown .alert--secondary {
26242626
--ifm-alert-foreground-color: #ffffff !important;
26252627
--ifm-alert-background-color: #0f172a !important;
26262628
--ifm-alert-background-color-highlight: rgba(148, 163, 184, 0.14) !important;
@@ -2635,20 +2637,36 @@ html[data-theme="dark"].blog-post-page .markdown .alert--info {
26352637

26362638
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-info [class*="admonitionContent_"],
26372639
html[data-theme="dark"].blog-post-page .markdown .alert--info [class*="admonitionContent_"],
2640+
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-note [class*="admonitionContent_"],
2641+
html[data-theme="dark"].blog-post-page .markdown .alert--secondary [class*="admonitionContent_"],
26382642
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-info [class*="admonitionContent_"] p,
26392643
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-info [class*="admonitionContent_"] li,
26402644
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-info [class*="admonitionContent_"] span,
26412645
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-info [class*="admonitionContent_"] strong,
26422646
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-info [class*="admonitionContent_"] em,
26432647
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-info [class*="admonitionContent_"] code,
26442648
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-info [class*="admonitionContent_"] a,
2649+
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-note [class*="admonitionContent_"] p,
2650+
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-note [class*="admonitionContent_"] li,
2651+
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-note [class*="admonitionContent_"] span,
2652+
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-note [class*="admonitionContent_"] strong,
2653+
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-note [class*="admonitionContent_"] em,
2654+
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-note [class*="admonitionContent_"] code,
2655+
html[data-theme="dark"].blog-post-page .markdown .theme-admonition-note [class*="admonitionContent_"] a,
26452656
html[data-theme="dark"].blog-post-page .markdown .alert--info [class*="admonitionContent_"] p,
26462657
html[data-theme="dark"].blog-post-page .markdown .alert--info [class*="admonitionContent_"] li,
26472658
html[data-theme="dark"].blog-post-page .markdown .alert--info [class*="admonitionContent_"] span,
26482659
html[data-theme="dark"].blog-post-page .markdown .alert--info [class*="admonitionContent_"] strong,
26492660
html[data-theme="dark"].blog-post-page .markdown .alert--info [class*="admonitionContent_"] em,
26502661
html[data-theme="dark"].blog-post-page .markdown .alert--info [class*="admonitionContent_"] code,
2651-
html[data-theme="dark"].blog-post-page .markdown .alert--info [class*="admonitionContent_"] a {
2662+
html[data-theme="dark"].blog-post-page .markdown .alert--info [class*="admonitionContent_"] a,
2663+
html[data-theme="dark"].blog-post-page .markdown .alert--secondary [class*="admonitionContent_"] p,
2664+
html[data-theme="dark"].blog-post-page .markdown .alert--secondary [class*="admonitionContent_"] li,
2665+
html[data-theme="dark"].blog-post-page .markdown .alert--secondary [class*="admonitionContent_"] span,
2666+
html[data-theme="dark"].blog-post-page .markdown .alert--secondary [class*="admonitionContent_"] strong,
2667+
html[data-theme="dark"].blog-post-page .markdown .alert--secondary [class*="admonitionContent_"] em,
2668+
html[data-theme="dark"].blog-post-page .markdown .alert--secondary [class*="admonitionContent_"] code,
2669+
html[data-theme="dark"].blog-post-page .markdown .alert--secondary [class*="admonitionContent_"] a {
26522670
color: #ffffff !important;
26532671
-webkit-text-fill-color: #ffffff !important;
26542672
}

0 commit comments

Comments
 (0)