basecoat-css 1.0.1 → 1.0.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.
@@ -312,8 +312,6 @@
312
312
  overscroll-behavior: none;
313
313
  background-color: var(--color-background);
314
314
  color: var(--color-foreground);
315
- -webkit-font-smoothing: antialiased;
316
- -moz-osx-font-smoothing: grayscale;
317
315
  }
318
316
  }
319
317
  @layer components {
@@ -1532,6 +1530,34 @@
1532
1530
  justify-content: flex-end;
1533
1531
  }
1534
1532
  }
1533
+ &:is([data-size='sm']) > * > header, > [data-size='sm'] > header {
1534
+ @media (width >= 40rem) {
1535
+ place-items: center;
1536
+ }
1537
+ @media (width >= 40rem) {
1538
+ text-align: center;
1539
+ }
1540
+ }
1541
+ &:is([data-size='sm']) > * > header:has(> figure), > [data-size='sm'] > header:has(> figure) {
1542
+ @media (width >= 40rem) {
1543
+ grid-template-rows: auto auto 1fr;
1544
+ }
1545
+ }
1546
+ &:is([data-size='sm']) > * > header:has(> figure) > :is(h2, p), > [data-size='sm'] > header:has(> figure) > :is(h2, p) {
1547
+ @media (width >= 40rem) {
1548
+ grid-column-start: auto;
1549
+ }
1550
+ }
1551
+ &:is([data-size='sm']) > * > footer, > [data-size='sm'] > footer {
1552
+ display: grid;
1553
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1554
+ @media (width >= 40rem) {
1555
+ display: grid;
1556
+ }
1557
+ @media (width >= 40rem) {
1558
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1559
+ }
1560
+ }
1535
1561
  }
1536
1562
  }
1537
1563
  @layer components {
@@ -5246,6 +5272,11 @@
5246
5272
  max-width: var(--container-sm);
5247
5273
  }
5248
5274
  }
5275
+ .alert-dialog:is([data-size='sm']) > *, .alert-dialog > [data-size='sm'] {
5276
+ @media (width >= 40rem) {
5277
+ max-width: var(--container-xs);
5278
+ }
5279
+ }
5249
5280
  .dialog > * {
5250
5281
  max-width: calc(100% - 2rem);
5251
5282
  gap: calc(var(--spacing) * 4);