fancy callout icons (#18586)

This commit is contained in:
Allie Sadler
2023-11-06 11:17:04 +00:00
committed by GitHub
parent a684b67b87
commit b4268ce362

View File

@@ -17,16 +17,22 @@
&.warning {
@apply border-l-red-light bg-red-light-100 dark:border-l-red-dark dark:bg-red-dark-100;
> *:first-child {
@apply before:content-['dangerous'];
}
}
&.important {
@apply border-l-amber-light bg-amber-light-100 dark:border-l-amber-dark dark:bg-amber-dark-100;
> *:first-child {
@apply before:content-['warning'];
}
}
&.tip {
@apply border-l-green-light bg-green-light-100 dark:border-l-green-dark dark:bg-green-dark-100;
> *:first-child {
@apply before:content-['thumb\_up'];
@apply before:content-['lightbulb'];
}
}