diff --git a/docs/source/_assets/less/markdown.less b/docs/source/_assets/less/markdown.less index 6cb26ce84..21cc173b2 100644 --- a/docs/source/_assets/less/markdown.less +++ b/docs/source/_assets/less/markdown.less @@ -91,7 +91,7 @@ @apply .text-dark-soft; } - > :not(pre) > code[class*="language-"], > pre[class*="language-"] { + > :not(pre) > code[class*="language-"], > pre[class*="language-"], pre[class*="language-"]& { @apply .bg-light-soft; @apply .text-sm; @apply .leading-loose; diff --git a/docs/source/examples/alerts.blade.md b/docs/source/examples/alerts.blade.md index 96476c29b..d63bee23c 100644 --- a/docs/source/examples/alerts.blade.md +++ b/docs/source/examples/alerts.blade.md @@ -5,15 +5,57 @@ title: "Alerts" # Alerts -We don't ship alert components because every app has it's own visual style, but they are easy af to make. +We don't ship alert components because every app has it's own visual style, and they are so easy to build out of utilities. -@foreach($page->colors as $color) -
{{
+'
+ Holy smokes! Something seriously bad happened.
+'
+ }}
+ {{
+'
+ Something not ideal might be happening.
+'
+ }}
+ {{
+'
+ Something happened that you should know about but is probably good or at least not bad.
+'
+ }}
+