basecoat-css 1.0.0-beta.0 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3616,12 +3616,6 @@
3616
3616
  .alert-destructive {
3617
3617
  background-color: var(--color-card);
3618
3618
  color: var(--color-destructive);
3619
- &>section {
3620
- color: var(--color-destructive);
3621
- @supports (color: color-mix(in lab, red, red)) {
3622
- color: color-mix(in oklab, var(--color-destructive) 90%, transparent);
3623
- }
3624
- }
3625
3619
  &>svg {
3626
3620
  color: currentcolor;
3627
3621
  }
@@ -3633,7 +3627,7 @@
3633
3627
  :is(.alert, .alert-destructive):has(> svg) > :is(h2, h3, h4, h5, h6, strong, [data-title]) {
3634
3628
  grid-column-start: 2;
3635
3629
  }
3636
- .alert > section, .alert-destructive > section {
3630
+ .alert > section {
3637
3631
  font-size: var(--text-sm);
3638
3632
  line-height: var(--tw-leading, var(--text-sm--line-height));
3639
3633
  text-wrap: balance;
@@ -3645,6 +3639,21 @@
3645
3639
  margin-bottom: calc(var(--spacing) * 4);
3646
3640
  }
3647
3641
  }
3642
+ .alert-destructive > section {
3643
+ font-size: var(--text-sm);
3644
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3645
+ text-wrap: balance;
3646
+ color: var(--color-destructive);
3647
+ @supports (color: color-mix(in lab, red, red)) {
3648
+ color: color-mix(in oklab, var(--color-destructive) 90%, transparent);
3649
+ }
3650
+ @media (width >= 48rem) {
3651
+ text-wrap: pretty;
3652
+ }
3653
+ & p:not(:last-child) {
3654
+ margin-bottom: calc(var(--spacing) * 4);
3655
+ }
3656
+ }
3648
3657
  .alert > [data-action], .alert-destructive > [data-action] {
3649
3658
  position: absolute;
3650
3659
  inset-inline-end: calc(var(--spacing) * 3);