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