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.
@@ -3642,12 +3642,6 @@
3642
3642
  .alert-destructive {
3643
3643
  background-color: var(--color-card);
3644
3644
  color: var(--color-destructive);
3645
- &>section {
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
- }
3651
3645
  &>svg {
3652
3646
  color: currentcolor;
3653
3647
  }
@@ -3659,7 +3653,7 @@
3659
3653
  :is(.alert, .alert-destructive):has(> svg) > :is(h2, h3, h4, h5, h6, strong, [data-title]) {
3660
3654
  grid-column-start: 2;
3661
3655
  }
3662
- .alert > section, .alert-destructive > section {
3656
+ .alert > section {
3663
3657
  font-size: var(--text-sm);
3664
3658
  line-height: var(--tw-leading, var(--text-sm--line-height));
3665
3659
  text-wrap: balance;
@@ -3671,6 +3665,21 @@
3671
3665
  margin-bottom: calc(var(--spacing) * 4);
3672
3666
  }
3673
3667
  }
3668
+ .alert-destructive > section {
3669
+ font-size: var(--text-sm);
3670
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3671
+ text-wrap: balance;
3672
+ color: var(--color-destructive);
3673
+ @supports (color: color-mix(in lab, red, red)) {
3674
+ color: color-mix(in oklab, var(--color-destructive) 90%, transparent);
3675
+ }
3676
+ @media (width >= 48rem) {
3677
+ text-wrap: pretty;
3678
+ }
3679
+ & p:not(:last-child) {
3680
+ margin-bottom: calc(var(--spacing) * 4);
3681
+ }
3682
+ }
3674
3683
  .alert > [data-action], .alert-destructive > [data-action] {
3675
3684
  position: absolute;
3676
3685
  inset-inline-end: calc(var(--spacing) * 2);