@passui/tokens 0.2.0 → 0.2.1
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/package.json +1 -1
- package/styles/base.css +10 -0
package/package.json
CHANGED
package/styles/base.css
CHANGED
|
@@ -148,3 +148,13 @@
|
|
|
148
148
|
) {
|
|
149
149
|
font-size: max(16px, 1em);
|
|
150
150
|
}
|
|
151
|
+
|
|
152
|
+
/*
|
|
153
|
+
* iOS Safari tints its floating toolbar from whatever sits flush against the
|
|
154
|
+
* bottom edge, so a full-screen backdrop shows the page colour in the bar
|
|
155
|
+
* instead of its dimming. Lifting the backdrops a few pixels off the edge
|
|
156
|
+
* lets the toolbar sample the dimmed page behind them.
|
|
157
|
+
*/
|
|
158
|
+
:root[data-os="ios"] [data-slot$="-overlay"] {
|
|
159
|
+
bottom: var(--ios-edge-gap, 4px);
|
|
160
|
+
}
|