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.
@@ -314,8 +314,6 @@
314
314
  overscroll-behavior: none;
315
315
  background-color: var(--color-background);
316
316
  color: var(--color-foreground);
317
- -webkit-font-smoothing: antialiased;
318
- -moz-osx-font-smoothing: grayscale;
319
317
  }
320
318
  }
321
319
  @layer components {
@@ -1534,6 +1532,34 @@
1534
1532
  justify-content: flex-end;
1535
1533
  }
1536
1534
  }
1535
+ &:is([data-size='sm']) > * > header, > [data-size='sm'] > header {
1536
+ @media (width >= 40rem) {
1537
+ place-items: center;
1538
+ }
1539
+ @media (width >= 40rem) {
1540
+ text-align: center;
1541
+ }
1542
+ }
1543
+ &:is([data-size='sm']) > * > header:has(> figure), > [data-size='sm'] > header:has(> figure) {
1544
+ @media (width >= 40rem) {
1545
+ grid-template-rows: auto auto 1fr;
1546
+ }
1547
+ }
1548
+ &:is([data-size='sm']) > * > header:has(> figure) > :is(h2, p), > [data-size='sm'] > header:has(> figure) > :is(h2, p) {
1549
+ @media (width >= 40rem) {
1550
+ grid-column-start: auto;
1551
+ }
1552
+ }
1553
+ &:is([data-size='sm']) > * > footer, > [data-size='sm'] > footer {
1554
+ display: grid;
1555
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1556
+ @media (width >= 40rem) {
1557
+ display: grid;
1558
+ }
1559
+ @media (width >= 40rem) {
1560
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1561
+ }
1562
+ }
1537
1563
  }
1538
1564
  }
1539
1565
  @layer components {
@@ -5210,6 +5236,11 @@
5210
5236
  max-width: var(--container-lg);
5211
5237
  }
5212
5238
  }
5239
+ .alert-dialog:is([data-size='sm']) > *, .alert-dialog > [data-size='sm'] {
5240
+ @media (width >= 40rem) {
5241
+ max-width: var(--container-xs);
5242
+ }
5243
+ }
5213
5244
  .dialog > * {
5214
5245
  max-width: calc(100% - 2rem);
5215
5246
  gap: calc(var(--spacing) * 6);