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.
@@ -3628,12 +3628,6 @@
3628
3628
  .alert-destructive {
3629
3629
  background-color: var(--color-card);
3630
3630
  color: var(--color-destructive);
3631
- &>section {
3632
- color: var(--color-destructive);
3633
- @supports (color: color-mix(in lab, red, red)) {
3634
- color: color-mix(in oklab, var(--color-destructive) 90%, transparent);
3635
- }
3636
- }
3637
3631
  &>svg {
3638
3632
  color: currentcolor;
3639
3633
  }
@@ -3645,7 +3639,7 @@
3645
3639
  :is(.alert, .alert-destructive):has(> svg) > :is(h2, h3, h4, h5, h6, strong, [data-title]) {
3646
3640
  grid-column-start: 2;
3647
3641
  }
3648
- .alert > section, .alert-destructive > section {
3642
+ .alert > section {
3649
3643
  font-size: var(--text-xs);
3650
3644
  line-height: var(--leading-relaxed);
3651
3645
  text-wrap: balance;
@@ -3657,6 +3651,21 @@
3657
3651
  margin-bottom: calc(var(--spacing) * 4);
3658
3652
  }
3659
3653
  }
3654
+ .alert-destructive > section {
3655
+ font-size: var(--text-xs);
3656
+ line-height: var(--leading-relaxed);
3657
+ text-wrap: balance;
3658
+ color: var(--color-destructive);
3659
+ @supports (color: color-mix(in lab, red, red)) {
3660
+ color: color-mix(in oklab, var(--color-destructive) 90%, transparent);
3661
+ }
3662
+ @media (width >= 48rem) {
3663
+ text-wrap: pretty;
3664
+ }
3665
+ & p:not(:last-child) {
3666
+ margin-bottom: calc(var(--spacing) * 4);
3667
+ }
3668
+ }
3660
3669
  .alert > [data-action], .alert-destructive > [data-action] {
3661
3670
  position: absolute;
3662
3671
  inset-inline-end: calc(var(--spacing) * 2);