@aitrien/motifspec 1.15.0 → 1.17.0
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/CHANGELOG.md +35 -0
- package/README.md +4 -4
- package/dist/backdrop-foot.html +1 -0
- package/dist/backdrop.html +1 -1
- package/dist/codex.css +39 -41
- package/dist/plate.js +92 -35
- package/dist/tokens.css +9 -5
- package/dist/tokens.js +46 -10
- package/dist/tokens.json +46 -10
- package/docs/components/backdrop.md +27 -32
- package/docs/components/button-and-link.md +1 -1
- package/docs/components/site-footer.md +3 -2
- package/docs/components/site-header.md +4 -12
- package/docs/components/specimen-plate.md +1 -3
- package/docs/hugo.md +3 -3
- package/docs/templates.md +1 -1
- package/icons/manifest.json +1 -1
- package/layouts/_partials/motifspec/body-end.html +4 -2
- package/layouts/_partials/motifspec/body-start.html +5 -2
- package/layouts/_partials/motifspec/site-header.html +2 -9
- package/package.json +3 -1
- package/tokens/border.json +2 -1
- package/tokens/color.json +21 -3
- package/tokens/motion.json +5 -1
- package/tokens/size.json +5 -3
|
@@ -70,7 +70,7 @@ The closing band of every page: a knitted ornament band, grouped links, a coloph
|
|
|
70
70
|
<div class="cx-container">
|
|
71
71
|
<div class="cx-footer__base">
|
|
72
72
|
<span>© 2026 Liam Marshall</span>
|
|
73
|
-
<a class="cx-version" href="https://
|
|
73
|
+
<a class="cx-version" href="https://motifspec.com" aria-label="Version 1.16.0: view the MotifSpec showcase">MotifSpec v1.16.0<svg class="cx-icon cx-icon--sm" aria-hidden="true" focusable="false"><use href="#cx-icon-arrow-outward"></use></svg><span class="cx-tooltip cx-tooltip--above" aria-hidden="true">View showcase</span></a>
|
|
74
74
|
<a href="#top">Back to top<svg class="cx-icon cx-icon--sm" aria-hidden="true" focusable="false"><use href="#cx-icon-arrow-upward"></use></svg></a>
|
|
75
75
|
</div>
|
|
76
76
|
</div>
|
|
@@ -83,7 +83,8 @@ The closing band of every page: a knitted ornament band, grouped links, a coloph
|
|
|
83
83
|
- Keep two to four columns; the grid wraps on its own.
|
|
84
84
|
- Use the footer band as the page's single ornament when the page has no other.
|
|
85
85
|
- On a backdrop page, let the footer sit on the frost: `cx-backdrop-page` removes its raised surface, and the bottom fade starts above it.
|
|
86
|
-
- Put the MotifSpec version in the base row on sites that consume it, as a `cx-version` link to the
|
|
86
|
+
- Put the MotifSpec version in the base row on sites that consume it, as a `cx-version` link to the showcase (`showcase` in `package.json`, also served in `dist/tokens.json`). The showcase's own footer links its version to the changelog instead. Its tooltip opens above (`cx-tooltip--above`) because it sits at the bottom of the page.
|
|
87
|
+
- Point "Back to top" at `#top` and give no element that id. With no `#top` element, the browser scrolls to the top of the document; an id on the sticky header would leave the page where it is, because a stuck header is already in view.
|
|
87
88
|
|
|
88
89
|
## Don't
|
|
89
90
|
|
|
@@ -42,7 +42,7 @@ tokens:
|
|
|
42
42
|
|
|
43
43
|
# Site header and nav
|
|
44
44
|
|
|
45
|
-
The bar at the top of every page: wordmark, primary nav
|
|
45
|
+
The bar at the top of every page: wordmark, primary nav and the theme toggle. On a backdrop page (`backdrop.md`) it sits on the frost and scrolls away with the page; elsewhere it is sticky.
|
|
46
46
|
|
|
47
47
|
## When to use
|
|
48
48
|
|
|
@@ -70,12 +70,6 @@ The bar at the top of every page: wordmark, primary nav, the backdrop pause cont
|
|
|
70
70
|
<li><a href="/about/">About</a></li>
|
|
71
71
|
</ul>
|
|
72
72
|
</nav>
|
|
73
|
-
<label class="cx-backdrop__pause" hidden>
|
|
74
|
-
<input class="cx-visually-hidden" type="checkbox" aria-label="Pause background animation">
|
|
75
|
-
<svg class="cx-icon" data-when="running" aria-hidden="true" focusable="false"><use href="#cx-icon-pause"></use></svg>
|
|
76
|
-
<svg class="cx-icon" data-when="paused" aria-hidden="true" focusable="false"><use href="#cx-icon-play"></use></svg>
|
|
77
|
-
<span class="cx-tooltip" aria-hidden="true"><span data-when="running">Pause background</span><span data-when="paused">Play background</span></span>
|
|
78
|
-
</label>
|
|
79
73
|
<button class="cx-theme-toggle" type="button" data-theme-toggle hidden aria-label="Switch to dark theme">
|
|
80
74
|
<svg class="cx-icon" data-icon="to-dark" aria-hidden="true" focusable="false"><use href="#cx-icon-theme-dark"></use></svg>
|
|
81
75
|
<svg class="cx-icon" data-icon="to-light" aria-hidden="true" focusable="false"><use href="#cx-icon-theme-light"></use></svg>
|
|
@@ -103,10 +97,9 @@ Copy the snippet as it is: the build fails if this doc and `js/theme-init.js` di
|
|
|
103
97
|
## Do
|
|
104
98
|
|
|
105
99
|
- Mark the current section with `aria-current="page"`, including on child pages (a post marks Writing). It gets a `color.border.strong` hairline inside its edge and `color.text.primary` text: no fill and no underline.
|
|
106
|
-
- Nav items are pills (`radius.pill`), the same shape as the
|
|
100
|
+
- Nav items are pills (`radius.pill`), the same shape as the theme toggle, so every header control reads as one set.
|
|
107
101
|
- When the nav and controls wrap below the wordmark, `dist/codex.js` sets `data-wrapped` on the header: the nav moves to the start of its row and is offset by its pills' padding, so the link text lines up with the wordmark and the page text, while the controls stay at the end. Without the script the row stays right-aligned.
|
|
108
102
|
- Every header control rests in `color.text.secondary` and shares one hover, shown only where the pointer can hover (`@media (hover: hover)`), so it never sticks after a tap: `color.text.primary` text on a wash of `color.text.primary` at `color.wash.hover`. A solid `color.surface.hover` would all but match the frost.
|
|
109
|
-
- Include the backdrop pause control on every backdrop page, between the nav and the theme toggle. It ships `hidden` and `dist/plate.js` reveals it when the drift starts; it never appears on a page without the backdrop. The choice is kept like the theme: `dist/plate.js` stores `paused` under `cx-backdrop` and restores it on every page.
|
|
110
103
|
- On a backdrop page, let the header start on the frost. `dist/codex.js` sets `data-scrolled` on it: from then on it is sticky, and as soon as the page leaves the top (`"true"`) its `color.surface.base` surface fades in over `motion.duration.slow`. Back at the top (`"false"`) the surface fades out and the frost shows through again. Without the script the header has no surface and scrolls away with the page.
|
|
111
104
|
- Keep labels to one functional word each.
|
|
112
105
|
- Ship the toggle with `hidden` and let the script reveal it, so no dead control appears without JavaScript.
|
|
@@ -117,7 +110,7 @@ Copy the snippet as it is: the build fails if this doc and `js/theme-init.js` di
|
|
|
117
110
|
## Don't
|
|
118
111
|
|
|
119
112
|
- Don't hide the nav behind a menu button at small widths. The list scrolls inside its row instead.
|
|
120
|
-
- Don't add icons or ornaments to nav items. The
|
|
113
|
+
- Don't add icons or ornaments to nav items. The theme toggle is the only header control with an icon.
|
|
121
114
|
- Don't make the header sticky on a backdrop page without its surface; see-through, it would sit on the text below it. The `data-scrolled` rules keep the two together.
|
|
122
115
|
- Don't animate the header on scroll beyond that surface fade (no shrink, hide or reveal).
|
|
123
116
|
|
|
@@ -125,8 +118,7 @@ Copy the snippet as it is: the build fails if this doc and `js/theme-init.js` di
|
|
|
125
118
|
|
|
126
119
|
- The skip link is the first focusable element and targets `<main id="main">`.
|
|
127
120
|
- `<nav aria-label="Main">`; only one nav per page uses that label.
|
|
128
|
-
- Nav links
|
|
129
|
-
- The pause control is a native checkbox named "Pause background animation" (checked means paused), focusable by keyboard, with its focus ring on the round control.
|
|
121
|
+
- Nav links and the toggle are 44px (`size.target.touch`); the toggle is a pill with equal sides, so it renders as a circle.
|
|
130
122
|
- The toggle's `aria-label` is its action ("Switch to light theme"); the visible tooltip repeats it and is `aria-hidden`. Escape hides the tooltip without moving the pointer (see `tooltip.md`).
|
|
131
123
|
- `aria-current` carries the current state for assistive tech; the outline is the visual cue.
|
|
132
124
|
- Pairs: `color.text.secondary` and `color.text.primary` on `color.surface.base` (7:1); `color.border.strong` on `color.surface.base` (current outline, 3:1). On a backdrop page the frost is measured as `color.surface.base`; the contour lines beneath it are not part of the check.
|
|
@@ -4,7 +4,6 @@ status: stable
|
|
|
4
4
|
tokens:
|
|
5
5
|
- border.focus.offset
|
|
6
6
|
- border.focus.width
|
|
7
|
-
- border.width.contour
|
|
8
7
|
- border.width.emphasis
|
|
9
8
|
- border.width.hairline
|
|
10
9
|
- color.backdrop.saturation
|
|
@@ -28,7 +27,6 @@ tokens:
|
|
|
28
27
|
- motion.easing.enter
|
|
29
28
|
- motion.easing.standard
|
|
30
29
|
- radius.pill
|
|
31
|
-
- size.backdrop.blur
|
|
32
30
|
- size.column.card
|
|
33
31
|
- size.mark.tick
|
|
34
32
|
- size.target.touch
|
|
@@ -48,7 +46,7 @@ A contour survey of generated terrain: simplex-noise height lines drawn as a sta
|
|
|
48
46
|
|
|
49
47
|
## When not to use
|
|
50
48
|
|
|
51
|
-
- On a page with the backdrop (`backdrop.md`), which already draws the survey behind it: one contour field per page. The showcase, which documents both, is the only exception.
|
|
49
|
+
- On a page with the backdrop (`backdrop.md`), which already draws the survey behind it: one kind of contour field per page. The showcase, which documents both, is the only exception.
|
|
52
50
|
- On article, index or 404 pages.
|
|
53
51
|
- As a loading indicator, or as a map of a real place. It is generated, not surveyed.
|
|
54
52
|
- Without its pause control.
|
package/docs/hugo.md
CHANGED
|
@@ -44,9 +44,9 @@ Pin a release with `hugo mod get github.com/aitrien/motifspec@vX.Y.Z`. The modul
|
|
|
44
44
|
| Partial | What it writes |
|
|
45
45
|
|---|---|
|
|
46
46
|
| `motifspec/head.html` | The stored-theme snippet, font preloads, `codex.css` and `codex.js`, in that order. |
|
|
47
|
-
| `motifspec/body-start.html` |
|
|
48
|
-
| `motifspec/site-header.html` | `site-header.md`: wordmark from `site.Title` and `site.Params.role`, nav from `site.Menus.main
|
|
49
|
-
| `motifspec/body-end.html` | `plate.js`, which
|
|
47
|
+
| `motifspec/body-start.html` | Call with the page. On the home page, the head of the backdrop; then the icon sprite and the skip link to `#main`. |
|
|
48
|
+
| `motifspec/site-header.html` | `site-header.md`: wordmark from `site.Title` and `site.Params.role`, nav from `site.Menus.main` and the theme toggle. A menu entry is current when its `identifier` is the page's section. |
|
|
49
|
+
| `motifspec/body-end.html` | The foot of the backdrop, behind the footer, and `plate.js`, which settles the home page's contours and lets the pointer warm them. |
|
|
50
50
|
|
|
51
51
|
The footer stays in the site: its columns are the site's own links and colophon. Use the markup in `site-footer.md`.
|
|
52
52
|
|
package/docs/templates.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Page templates
|
|
2
2
|
|
|
3
|
-
Content hierarchy for the six page types. Every template sits on the backdrop (`components/backdrop.md`):
|
|
3
|
+
Content hierarchy for the six page types. Every template sits on the backdrop (`components/backdrop.md`): its contours show behind the footer, and on the home page behind the header and the statement too. Every template keeps the full site header (Work, Writing, About, the theme toggle) and the footer. Every `<h2>` section heading carries a heading anchor.
|
|
4
4
|
|
|
5
5
|
| Template | Order | Dominant | Secondary |
|
|
6
6
|
|---|---|---|---|
|
package/icons/manifest.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"pause": {
|
|
67
67
|
"symbol": "pause",
|
|
68
|
-
"use": "Pause control for the
|
|
68
|
+
"use": "Pause control for the specimen plate's drift while it is running."
|
|
69
69
|
},
|
|
70
70
|
"play": {
|
|
71
71
|
"symbol": "play_arrow",
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
{{- /* docs/hugo.md. Call last inside <body
|
|
2
|
-
the contours
|
|
1
|
+
{{- /* docs/hugo.md. Call last inside <body>, after the footer: the foot of the contour backdrop behind the footer
|
|
2
|
+
(backdrop.md), and plate.js, which settles the home page's contours on arrival and lets the pointer warm them.
|
|
3
|
+
Without the script the contours stay still. */ -}}
|
|
4
|
+
{{ with resources.Get "motifspec/backdrop-foot.html" }}{{ .Content | safeHTML }}{{ else }}{{ errorf "motifspec/backdrop-foot.html is missing: is the MotifSpec module imported?" }}{{ end }}
|
|
3
5
|
{{- with resources.Get "motifspec/plate.js" | resources.Copy "cx/plate.js" | minify | fingerprint }}
|
|
4
6
|
<script src="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" defer></script>
|
|
5
7
|
{{- end }}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
{{- /* docs/hugo.md. Call first inside <body class="cx-backdrop-page"
|
|
2
|
-
sprite (icon.md), once, before anything that uses
|
|
1
|
+
{{- /* docs/hugo.md. Call first inside <body class="cx-backdrop-page"> with the page: on the home page, the head of the
|
|
2
|
+
contour backdrop behind the statement (backdrop.md); the icon sprite (icon.md), once, before anything that uses
|
|
3
|
+
it; and the skip link to <main id="main">. */ -}}
|
|
4
|
+
{{- if .IsHome }}
|
|
3
5
|
{{ with resources.Get "motifspec/backdrop.html" }}{{ .Content | safeHTML }}{{ else }}{{ errorf "motifspec/backdrop.html is missing: is the MotifSpec module imported?" }}{{ end }}
|
|
6
|
+
{{- end }}
|
|
4
7
|
<div hidden>{{ with resources.Get "motifspec/icons.svg" }}{{ .Content | safeHTML }}{{ end }}</div>
|
|
5
8
|
<a class="cx-skip-link" href="#main">Skip to content</a>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
{{- /* site-header.md. A child page marks its section (a post marks Writing).
|
|
2
|
-
|
|
3
|
-
<header class="cx-header" id="top">
|
|
1
|
+
{{- /* site-header.md. A child page marks its section (a post marks Writing). */ -}}
|
|
2
|
+
<header class="cx-header">
|
|
4
3
|
<div class="cx-container cx-header__inner">
|
|
5
4
|
<a class="cx-wordmark" href="{{ site.Home.RelPermalink }}">{{ site.Title }} <span class="cx-wordmark__role">{{ site.Params.role }}</span></a>
|
|
6
5
|
<div class="cx-header__end">
|
|
@@ -11,12 +10,6 @@
|
|
|
11
10
|
{{- end }}
|
|
12
11
|
</ul>
|
|
13
12
|
</nav>
|
|
14
|
-
<label class="cx-backdrop__pause" hidden>
|
|
15
|
-
<input class="cx-visually-hidden" type="checkbox" aria-label="Pause background animation">
|
|
16
|
-
<svg class="cx-icon" data-when="running" aria-hidden="true" focusable="false"><use href="#cx-icon-pause"></use></svg>
|
|
17
|
-
<svg class="cx-icon" data-when="paused" aria-hidden="true" focusable="false"><use href="#cx-icon-play"></use></svg>
|
|
18
|
-
<span class="cx-tooltip" aria-hidden="true"><span data-when="running">Pause background</span><span data-when="paused">Play background</span></span>
|
|
19
|
-
</label>
|
|
20
13
|
<button class="cx-theme-toggle" type="button" data-theme-toggle hidden aria-label="Switch to dark theme">
|
|
21
14
|
<svg class="cx-icon" data-icon="to-dark" aria-hidden="true" focusable="false"><use href="#cx-icon-theme-dark"></use></svg>
|
|
22
15
|
<svg class="cx-icon" data-icon="to-light" aria-hidden="true" focusable="false"><use href="#cx-icon-theme-light"></use></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aitrien/motifspec",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "Liam Marshall's design system: DTCG tokens, component rules, generated CSS, Hugo templates and a rule checker.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-system",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"url": "git+https://github.com/Aitrien/motifspec.git"
|
|
19
19
|
},
|
|
20
20
|
"changelog": "https://github.com/Aitrien/motifspec/blob/main/CHANGELOG.md",
|
|
21
|
+
"showcase": "https://motifspec.com",
|
|
21
22
|
"publishConfig": {
|
|
22
23
|
"access": "public"
|
|
23
24
|
},
|
|
@@ -47,6 +48,7 @@
|
|
|
47
48
|
"./plate.js": "./dist/plate.js",
|
|
48
49
|
"./plate.html": "./dist/plate.html",
|
|
49
50
|
"./backdrop.html": "./dist/backdrop.html",
|
|
51
|
+
"./backdrop-foot.html": "./dist/backdrop-foot.html",
|
|
50
52
|
"./icons.svg": "./dist/icons.svg",
|
|
51
53
|
"./tokens.js": "./dist/tokens.js",
|
|
52
54
|
"./tokens.json": "./dist/tokens.json",
|
package/tokens/border.json
CHANGED
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"contour": {
|
|
48
48
|
"$value": "{primitive.border.width.3}",
|
|
49
|
-
"$description": "Stroke of the backdrop's contour lines; index contours are twice this. Thicker than a hairline so the lines survive the frost blur. Not for the specimen plate, which keeps hairlines."
|
|
49
|
+
"$description": "Stroke of the backdrop's contour lines; index contours are twice this. Thicker than a hairline so the lines survive the frost blur. Not for the specimen plate, which keeps hairlines.",
|
|
50
|
+
"$deprecated": "Unused since the backdrop's contours became hairlines, as on the specimen plate, in 1.17.0; removed in 2.0.0."
|
|
50
51
|
}
|
|
51
52
|
},
|
|
52
53
|
"focus": {
|
package/tokens/color.json
CHANGED
|
@@ -863,6 +863,20 @@
|
|
|
863
863
|
"codex.tier": "primitive",
|
|
864
864
|
"codex.unit": "%"
|
|
865
865
|
}
|
|
866
|
+
},
|
|
867
|
+
"5": {
|
|
868
|
+
"$value": 18,
|
|
869
|
+
"$extensions": {
|
|
870
|
+
"codex.tier": "primitive",
|
|
871
|
+
"codex.unit": "%"
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
"6": {
|
|
875
|
+
"$value": 22,
|
|
876
|
+
"$extensions": {
|
|
877
|
+
"codex.tier": "primitive",
|
|
878
|
+
"codex.unit": "%"
|
|
879
|
+
}
|
|
866
880
|
}
|
|
867
881
|
}
|
|
868
882
|
}
|
|
@@ -1879,8 +1893,8 @@
|
|
|
1879
1893
|
"backdrop": {
|
|
1880
1894
|
"$type": "number",
|
|
1881
1895
|
"tint": {
|
|
1882
|
-
"$value": "{primitive.color.amount.
|
|
1883
|
-
"$description": "Share of color.surface.base laid over the
|
|
1896
|
+
"$value": "{primitive.color.amount.5}",
|
|
1897
|
+
"$description": "Share of color.surface.base laid over the backdrop contours, in percent: a light frost that softens the sharp hairlines without hiding them, behind the home page's statement and the footer."
|
|
1884
1898
|
},
|
|
1885
1899
|
"grain": {
|
|
1886
1900
|
"$value": "{primitive.color.amount.2}",
|
|
@@ -1888,7 +1902,11 @@
|
|
|
1888
1902
|
},
|
|
1889
1903
|
"saturation": {
|
|
1890
1904
|
"$value": "{primitive.color.amount.4}",
|
|
1891
|
-
"$description": "Saturation applied
|
|
1905
|
+
"$description": "Saturation applied to the backdrop contours under the frost, in percent, so their colour stays green instead of greying out."
|
|
1906
|
+
},
|
|
1907
|
+
"calm": {
|
|
1908
|
+
"$value": "{primitive.color.amount.6}",
|
|
1909
|
+
"$description": "Strength the backdrop contours keep where text sits on the frost, in percent: on the left, where the statement and the footer start, and along the header. They come up to full strength towards the open side. A mask amount only."
|
|
1892
1910
|
}
|
|
1893
1911
|
},
|
|
1894
1912
|
"wash": {
|
package/tokens/motion.json
CHANGED
|
@@ -164,7 +164,11 @@
|
|
|
164
164
|
},
|
|
165
165
|
"drift": {
|
|
166
166
|
"$value": "{primitive.motion.duration.6}",
|
|
167
|
-
"$description": "Time the
|
|
167
|
+
"$description": "Time the specimen plate's terrain takes to drift one noise unit, so its lines reshape slowly and continuously. The only looping motion in the system: one plate per page, with a visible pause control, stopped under prefers-reduced-motion. The backdrop doesn't drift."
|
|
168
|
+
},
|
|
169
|
+
"settle": {
|
|
170
|
+
"$value": "{primitive.motion.duration.5}",
|
|
171
|
+
"$description": "The backdrop's response time. The home page's contours settle into place over it on arrival and then stay still, and a hill the pointer warms takes about two-thirds of it to rise and twice it to flatten. Under five seconds, so nothing runs long enough to need a pause control; none of it happens under prefers-reduced-motion."
|
|
168
172
|
},
|
|
169
173
|
"pulse": {
|
|
170
174
|
"$value": "{primitive.motion.duration.5}",
|
package/tokens/size.json
CHANGED
|
@@ -362,16 +362,18 @@
|
|
|
362
362
|
"$type": "dimension",
|
|
363
363
|
"blur": {
|
|
364
364
|
"$value": "{primitive.size.effect.1}",
|
|
365
|
-
"$description": "Blur radius of the frost over the backdrop contours. Wide enough that the lines read as soft relief, never as text-like strokes behind the header and footer."
|
|
365
|
+
"$description": "Blur radius of the frost over the backdrop contours. Wide enough that the lines read as soft relief, never as text-like strokes behind the header and footer.",
|
|
366
|
+
"$deprecated": "Unused since the backdrop's contours became sharp hairlines in 1.17.0; removed in 2.0.0."
|
|
366
367
|
},
|
|
367
368
|
"fade": {
|
|
368
369
|
"$value": "{primitive.size.effect.2}",
|
|
369
|
-
"$description": "Length of the fade at the top and bottom of a backdrop page, over which the page surface gives way to the frost. The header and the
|
|
370
|
+
"$description": "Length of the fade at the top and bottom of a backdrop page, over which the page surface gives way to the frost, and the height of each backdrop layer. The header and the home page's statement sit inside the top fade, the footer inside the bottom one; reading text between them is on the plain surface."
|
|
370
371
|
},
|
|
371
372
|
"height": {
|
|
372
373
|
"$type": "number",
|
|
373
374
|
"$value": "{primitive.size.viewport.1}",
|
|
374
|
-
"$description": "Height of the backdrop layer before its blur overhang: the large viewport, so the contours keep their size and position as a phone's address bar slides away. Never a dynamic or small viewport unit, which resize the layer as you scroll and make the contours jump."
|
|
375
|
+
"$description": "Height of the backdrop layer before its blur overhang: the large viewport, so the contours keep their size and position as a phone's address bar slides away. Never a dynamic or small viewport unit, which resize the layer as you scroll and make the contours jump.",
|
|
376
|
+
"$deprecated": "Unused since the backdrop layers scroll with the page at size.backdrop.fade tall in 1.17.0; removed in 2.0.0."
|
|
375
377
|
}
|
|
376
378
|
}
|
|
377
379
|
}
|