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.
@@ -310,8 +310,6 @@
310
310
  overscroll-behavior: none;
311
311
  background-color: var(--color-background);
312
312
  color: var(--color-foreground);
313
- -webkit-font-smoothing: antialiased;
314
- -moz-osx-font-smoothing: grayscale;
315
313
  }
316
314
  }
317
315
  @layer components {
@@ -1530,6 +1528,34 @@
1530
1528
  justify-content: flex-end;
1531
1529
  }
1532
1530
  }
1531
+ &:is([data-size='sm']) > * > header, > [data-size='sm'] > header {
1532
+ @media (width >= 40rem) {
1533
+ place-items: center;
1534
+ }
1535
+ @media (width >= 40rem) {
1536
+ text-align: center;
1537
+ }
1538
+ }
1539
+ &:is([data-size='sm']) > * > header:has(> figure), > [data-size='sm'] > header:has(> figure) {
1540
+ @media (width >= 40rem) {
1541
+ grid-template-rows: auto auto 1fr;
1542
+ }
1543
+ }
1544
+ &:is([data-size='sm']) > * > header:has(> figure) > :is(h2, p), > [data-size='sm'] > header:has(> figure) > :is(h2, p) {
1545
+ @media (width >= 40rem) {
1546
+ grid-column-start: auto;
1547
+ }
1548
+ }
1549
+ &:is([data-size='sm']) > * > footer, > [data-size='sm'] > footer {
1550
+ display: grid;
1551
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1552
+ @media (width >= 40rem) {
1553
+ display: grid;
1554
+ }
1555
+ @media (width >= 40rem) {
1556
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1557
+ }
1558
+ }
1533
1559
  }
1534
1560
  }
1535
1561
  @layer components {
@@ -4977,6 +5003,11 @@
4977
5003
  max-width: var(--container-md);
4978
5004
  }
4979
5005
  }
5006
+ .alert-dialog:is([data-size='sm']) > *, .alert-dialog > [data-size='sm'] {
5007
+ @media (width >= 40rem) {
5008
+ max-width: var(--container-xs);
5009
+ }
5010
+ }
4980
5011
  .dialog > * {
4981
5012
  max-width: calc(100% - 2rem);
4982
5013
  gap: calc(var(--spacing) * 6);