@@ -664,13 +664,20 @@ html[data-theme="dark"] article .badge {
664664 --ifm-alert-background-color-highlight : rgba (225 , 227 , 230 , 0.7 );
665665}
666666
667+ .alert--important {
668+ --ifm-alert-background-color : #8250df2a ;
669+ --ifm-alert-background-color-highlight : #e0cfff ;
670+ --ifm-alert-foreground-color : #281846 ;
671+ --ifm-alert-border-color : #e0cfff ;
672+ }
673+
667674html [data-theme = " dark" ] {
668675 span [class ^= " admonitionIcon" ] svg {
669- fill : hsl (from var (--ifm-alert-border-color ) h calc (s + 10 ) calc (l + 10 ));
676+ fill : hsl (from var (--ifm-alert-border-color ) h calc (s - 10 ) calc (l + 10 ));
670677 }
671678
672679 div [class ^= " admonitionHeading" ] {
673- color : hsl (from var (--ifm-alert-border-color ) h calc (s + 10 ) calc (l + 10 ));
680+ color : hsl (from var (--ifm-alert-border-color ) h calc (s - 10 ) calc (l + 10 ));
674681 }
675682
676683 .alert--secondary {
@@ -679,6 +686,25 @@ html[data-theme="dark"] {
679686 );
680687 --ifm-alert-background-color-highlight : rgba (225 , 227 , 230 , 0.15 );
681688 }
689+ .alert--important {
690+ --ifm-alert-background-color-highlight : #442f6b ;
691+ --ifm-alert-foreground-color : #c0b1dc ;
692+ --ifm-alert-border-color : #8250df ;
693+ }
694+ }
695+
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+ }
682708}
683709
684710/* Home page */
0 commit comments