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.
@@ -313,8 +313,6 @@
313
313
  overscroll-behavior: none;
314
314
  background-color: var(--color-background);
315
315
  color: var(--color-foreground);
316
- -webkit-font-smoothing: antialiased;
317
- -moz-osx-font-smoothing: grayscale;
318
316
  }
319
317
  }
320
318
  @layer components {
@@ -1533,6 +1531,34 @@
1533
1531
  justify-content: flex-end;
1534
1532
  }
1535
1533
  }
1534
+ &:is([data-size='sm']) > * > header, > [data-size='sm'] > header {
1535
+ @media (width >= 40rem) {
1536
+ place-items: center;
1537
+ }
1538
+ @media (width >= 40rem) {
1539
+ text-align: center;
1540
+ }
1541
+ }
1542
+ &:is([data-size='sm']) > * > header:has(> figure), > [data-size='sm'] > header:has(> figure) {
1543
+ @media (width >= 40rem) {
1544
+ grid-template-rows: auto auto 1fr;
1545
+ }
1546
+ }
1547
+ &:is([data-size='sm']) > * > header:has(> figure) > :is(h2, p), > [data-size='sm'] > header:has(> figure) > :is(h2, p) {
1548
+ @media (width >= 40rem) {
1549
+ grid-column-start: auto;
1550
+ }
1551
+ }
1552
+ &:is([data-size='sm']) > * > footer, > [data-size='sm'] > footer {
1553
+ display: grid;
1554
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1555
+ @media (width >= 40rem) {
1556
+ display: grid;
1557
+ }
1558
+ @media (width >= 40rem) {
1559
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1560
+ }
1561
+ }
1536
1562
  }
1537
1563
  }
1538
1564
  @layer components {
@@ -5195,6 +5221,11 @@
5195
5221
  }
5196
5222
  }
5197
5223
  }
5224
+ .alert-dialog:is([data-size='sm']) > *, .alert-dialog > [data-size='sm'] {
5225
+ @media (width >= 40rem) {
5226
+ max-width: var(--container-xs);
5227
+ }
5228
+ }
5198
5229
  .dialog > * {
5199
5230
  max-width: calc(100% - 2rem);
5200
5231
  gap: calc(var(--spacing) * 6);