basecoat-css 1.0.0-beta.1 → 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.
@@ -3594,12 +3594,6 @@
3594
3594
  .alert-destructive {
3595
3595
  background-color: var(--color-card);
3596
3596
  color: var(--color-destructive);
3597
- &>section {
3598
- color: var(--color-destructive);
3599
- @supports (color: color-mix(in lab, red, red)) {
3600
- color: color-mix(in oklab, var(--color-destructive) 90%, transparent);
3601
- }
3602
- }
3603
3597
  &>svg {
3604
3598
  color: currentcolor;
3605
3599
  }
@@ -3611,7 +3605,7 @@
3611
3605
  :is(.alert, .alert-destructive):has(> svg) > :is(h2, h3, h4, h5, h6, strong, [data-title]) {
3612
3606
  grid-column-start: 2;
3613
3607
  }
3614
- .alert > section, .alert-destructive > section {
3608
+ .alert > section {
3615
3609
  font-size: var(--text-sm);
3616
3610
  line-height: var(--tw-leading, var(--text-sm--line-height));
3617
3611
  text-wrap: balance;
@@ -3623,6 +3617,21 @@
3623
3617
  margin-bottom: calc(var(--spacing) * 4);
3624
3618
  }
3625
3619
  }
3620
+ .alert-destructive > section {
3621
+ font-size: var(--text-sm);
3622
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3623
+ text-wrap: balance;
3624
+ color: var(--color-destructive);
3625
+ @supports (color: color-mix(in lab, red, red)) {
3626
+ color: color-mix(in oklab, var(--color-destructive) 90%, transparent);
3627
+ }
3628
+ @media (width >= 48rem) {
3629
+ text-wrap: pretty;
3630
+ }
3631
+ & p:not(:last-child) {
3632
+ margin-bottom: calc(var(--spacing) * 4);
3633
+ }
3634
+ }
3626
3635
  .alert > [data-action], .alert-destructive > [data-action] {
3627
3636
  position: absolute;
3628
3637
  inset-inline-end: calc(var(--spacing) * 3);