Skip to content

Commit 1e9638f

Browse files
Add support for Important and Tip in docstrings (#1170)
* Add support for Important and Tip in docstrings * Revert "Add support for Important and Tip in docstrings" This reverts commit b972fcd. * Add support for Important in docstrings * Add support for Tip in docstrings
1 parent 456e033 commit 1e9638f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

styles/admonition.scss

+18
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,24 @@ div.admonition {
2121
}
2222
}
2323

24+
// Tip
25+
&.tip {
26+
@apply bg-indigo-10 dark:bg-indigo-100;
27+
28+
p.first.admonition-title {
29+
@apply text-indigo-70;
30+
}
31+
}
32+
33+
// Important
34+
&.important {
35+
@apply bg-orange-10 dark:bg-orange-100/30;
36+
37+
p.first.admonition-title {
38+
@apply text-orange-70;
39+
}
40+
}
41+
2442
// Warning
2543
&.warning {
2644
@apply bg-orange-10 dark:bg-orange-100/30;

0 commit comments

Comments
 (0)