@fusion.dev/helix-docs 0.237.2 → 0.237.3
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/content/elevation-and-material.mdx +2 -1
- package/content/metrics.mdx +254 -254
- package/content/theming.mdx +4 -5
- package/dist/sources.generated.js +260 -260
- package/package.json +12 -12
|
@@ -71,6 +71,7 @@ These tokens describe translucency:
|
|
|
71
71
|
| --- | --- | --- |
|
|
72
72
|
| `--helix-material-backdrop` | `blur(var(--helix-material-blur-md)) saturate(1.5)` | The blur and saturation behind a translucent surface. |
|
|
73
73
|
| `--helix-material-opacity` | `1` | How opaque a translucent surface is. |
|
|
74
|
+
| `--helix-material-scrim-lift` | `var(--_helix-material-scrim-lift)` | How much a glass Dialog or Drawer brightens the page behind its scrim. |
|
|
74
75
|
| `--helix-material-glass-opacity` | `calc(0.72 * var(--helix-material-opacity))` | How much of a mark a glass material covers. |
|
|
75
76
|
| `--helix-material-frosted-opacity` | `calc(0.88 * var(--helix-material-opacity))` | How much of a mark a frosted material covers. |
|
|
76
77
|
| `--helix-material-blur-sm` | `8px` | The lightest backdrop blur. |
|
|
@@ -103,7 +104,7 @@ scales every coverage together.
|
|
|
103
104
|
|
|
104
105
|
A modal Dialog or Drawer paints its scrim behind the panel, so a glass panel's
|
|
105
106
|
filter samples the page with the scrim already over it. In light mode the white
|
|
106
|
-
page came through as a gray.
|
|
107
|
+
page came through as a gray. `--helix-material-scrim-lift` is the brightness the
|
|
107
108
|
filter adds to undo the scrim: 1 / 0.6 in light mode, where the scrim is 40% of
|
|
108
109
|
the ink, and 1 in dark mode, where the glass is drawn over the dimmed page. The
|
|
109
110
|
color mode sets it, and a Dialog and a Drawer read it in their own filters.
|