@mlola-ui/tokens 1.2.0 → 1.2.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.
- package/generated/recipes.css +24 -11
- package/package.json +1 -1
package/generated/recipes.css
CHANGED
|
@@ -207,7 +207,10 @@
|
|
|
207
207
|
justify-items: center;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
+
/* Its width is stated: centered by auto margins alone, a flex or grid item
|
|
211
|
+
takes its text's width instead of its measure. */
|
|
210
212
|
.ml-section-header-centered .ml-section-description {
|
|
213
|
+
width: 100%;
|
|
211
214
|
margin-inline: auto;
|
|
212
215
|
}
|
|
213
216
|
|
|
@@ -1606,16 +1609,6 @@ button.ml-breadcrumb-link {
|
|
|
1606
1609
|
background: color-mix(in oklab,var(--ml-background-subtle) 100%,var(--ml-text) 6%);
|
|
1607
1610
|
}
|
|
1608
1611
|
|
|
1609
|
-
/* A toggle button that is on reads as filled ink, so its state is visible
|
|
1610
|
-
without relying on color alone. */
|
|
1611
|
-
.ml-button[data-variant="secondary"][aria-pressed="true"],
|
|
1612
|
-
.ml-button[data-variant="subtle"][aria-pressed="true"],
|
|
1613
|
-
.ml-button[data-variant="outline"][aria-pressed="true"] {
|
|
1614
|
-
border-color: transparent;
|
|
1615
|
-
background: var(--ml-text);
|
|
1616
|
-
color: var(--ml-background);
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
1612
|
.ml-button[data-variant="subtle"] {
|
|
1620
1613
|
background: transparent;
|
|
1621
1614
|
color: var(--ml-text);
|
|
@@ -1637,6 +1630,20 @@ button.ml-breadcrumb-link {
|
|
|
1637
1630
|
background: color-mix(in oklab,var(--ml-surface) 100%,var(--ml-text) 4%);
|
|
1638
1631
|
}
|
|
1639
1632
|
|
|
1633
|
+
/* A toggle button that is on reads as filled ink, so its state is visible
|
|
1634
|
+
without relying on color alone. It stays ink under the pointer, a shade
|
|
1635
|
+
lighter: a variant's own hover fill under this ink-colored text would
|
|
1636
|
+
leave the label unreadable. After the variants' hovers, and above them. */
|
|
1637
|
+
.ml-button:is([data-variant="secondary"], [data-variant="subtle"], [data-variant="outline"])[aria-pressed="true"] {
|
|
1638
|
+
border-color: transparent;
|
|
1639
|
+
background: var(--ml-text);
|
|
1640
|
+
color: var(--ml-background);
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
.ml-button:is([data-variant="secondary"], [data-variant="subtle"], [data-variant="outline"])[aria-pressed="true"]:hover {
|
|
1644
|
+
background: color-mix(in oklab, var(--ml-text) 86%, var(--ml-background));
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1640
1647
|
.ml-button[data-variant="danger"] {
|
|
1641
1648
|
background: var(--ml-danger);
|
|
1642
1649
|
color: var(--ml-danger-foreground);
|
|
@@ -4568,8 +4575,14 @@ button.ml-breadcrumb-link {
|
|
|
4568
4575
|
}
|
|
4569
4576
|
|
|
4570
4577
|
/* components/resizable */
|
|
4571
|
-
|
|
4578
|
+
/* The handle's width is a setting (an app shell draws a hairline): its
|
|
4579
|
+
default weighs nothing, so one class on the same element sets it, in any
|
|
4580
|
+
stylesheet order. */
|
|
4581
|
+
:where(.ml-resizable) {
|
|
4572
4582
|
--ml-resizable-handle: var(--ml-space-2);
|
|
4583
|
+
}
|
|
4584
|
+
|
|
4585
|
+
.ml-resizable {
|
|
4573
4586
|
display: grid;
|
|
4574
4587
|
height: 100%;
|
|
4575
4588
|
min-width: 0;
|