Skip to content

Commit 45700e6

Browse files
committed
improve Tip admonition heading color in light mode
1 parent 9108d77 commit 45700e6

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

website/src/css/customTheme.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,20 @@ html[data-theme="dark"] {
693693
}
694694
}
695695

696+
html[data-theme="light"] {
697+
.alert--success {
698+
span[class^="admonitionIcon"] svg {
699+
fill: hsl(from var(--ifm-alert-border-color) h calc(s + 20) calc(l - 10));
700+
}
701+
702+
div[class^="admonitionHeading"] {
703+
color: hsl(
704+
from var(--ifm-alert-border-color) h calc(s + 20) calc(l - 10)
705+
);
706+
}
707+
}
708+
}
709+
696710
/* Home page */
697711

698712
.homepage {

0 commit comments

Comments
 (0)