@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/styles/base.css +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@passui/tokens",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Framework independent Passui design tokens and shared styles.",
5
5
  "license": "MIT",
6
6
  "type": "module",
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
+ }