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