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.
@@ -306,8 +306,6 @@
306
306
  overscroll-behavior: none;
307
307
  background-color: var(--color-background);
308
308
  color: var(--color-foreground);
309
- -webkit-font-smoothing: antialiased;
310
- -moz-osx-font-smoothing: grayscale;
311
309
  }
312
310
  }
313
311
  @layer components {
@@ -1526,6 +1524,34 @@
1526
1524
  justify-content: flex-end;
1527
1525
  }
1528
1526
  }
1527
+ &:is([data-size='sm']) > * > header, > [data-size='sm'] > header {
1528
+ @media (width >= 40rem) {
1529
+ place-items: center;
1530
+ }
1531
+ @media (width >= 40rem) {
1532
+ text-align: center;
1533
+ }
1534
+ }
1535
+ &:is([data-size='sm']) > * > header:has(> figure), > [data-size='sm'] > header:has(> figure) {
1536
+ @media (width >= 40rem) {
1537
+ grid-template-rows: auto auto 1fr;
1538
+ }
1539
+ }
1540
+ &:is([data-size='sm']) > * > header:has(> figure) > :is(h2, p), > [data-size='sm'] > header:has(> figure) > :is(h2, p) {
1541
+ @media (width >= 40rem) {
1542
+ grid-column-start: auto;
1543
+ }
1544
+ }
1545
+ &:is([data-size='sm']) > * > footer, > [data-size='sm'] > footer {
1546
+ display: grid;
1547
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1548
+ @media (width >= 40rem) {
1549
+ display: grid;
1550
+ }
1551
+ @media (width >= 40rem) {
1552
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1553
+ }
1554
+ }
1529
1555
  }
1530
1556
  }
1531
1557
  @layer components {
@@ -5239,6 +5265,12 @@
5239
5265
  max-width: var(--container-sm);
5240
5266
  }
5241
5267
  }
5268
+ .alert-dialog:is([data-size='sm']) > *, .alert-dialog > [data-size='sm'] {
5269
+ max-width: calc(var(--spacing) * 64);
5270
+ @media (width >= 40rem) {
5271
+ max-width: calc(var(--spacing) * 64);
5272
+ }
5273
+ }
5242
5274
  .dialog > * {
5243
5275
  max-width: calc(100% - 2rem);
5244
5276
  gap: calc(var(--spacing) * 4);