@fluid-theme/core 2.2.10 → 2.2.12
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 +14 -0
- package/CLAUDE.md +13 -0
- package/dist/fluid-1x.min.css +2 -2
- package/dist/fluid-fonts-archivo.min.css +1 -1
- package/dist/fluid-fonts-bodoni.min.css +1 -1
- package/dist/fluid-fonts.min.css +1 -1
- package/dist/fluid-legacy-1x.css +1 -1
- package/dist/fluid-nav.min.css +1 -1
- package/dist/fluid-people.min.css +1 -1
- package/dist/fluid-places.min.css +1 -1
- package/dist/fluid-toc.min.css +1 -1
- package/dist/fluid-zero.min.css +1 -1
- package/dist/fluid.min.css +2 -2
- package/package.json +2 -1
- package/src/components/hero.css +6 -0
- package/src/fluid.css +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-theme/core",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.12",
|
|
4
4
|
"description": "A modern, semantic CSS design system built on physics principles — not utility classes",
|
|
5
5
|
"main": "dist/fluid.min.css",
|
|
6
6
|
"style": "dist/fluid.min.css",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"test:toc": "node scripts/toc-check.mjs",
|
|
49
49
|
"test:places": "node scripts/places-check.mjs",
|
|
50
50
|
"test:nav": "node scripts/nav-check.mjs",
|
|
51
|
+
"test:hero-fill": "node scripts/hero-fill-check.mjs",
|
|
51
52
|
"test": "echo \"Visual testing only - open examples/foundation.html in browser\"",
|
|
52
53
|
"test:zero": "node scripts/visual-scan.mjs scripts/fixtures/zero.html && node scripts/axe-check.mjs --pages scripts/fixtures/zero.html && node scripts/focus-check.mjs --page scripts/fixtures/zero.html"
|
|
53
54
|
},
|
package/src/components/hero.css
CHANGED
|
@@ -183,6 +183,12 @@
|
|
|
183
183
|
object-fit: cover;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
+
/* A <picture> wrapper (art direction, avif/webp sources) is a block at
|
|
187
|
+
the photo's own ratio, so the img's 100% followed it and a tall hero
|
|
188
|
+
showed the bare band under the photo (#137). Its box steps aside: the
|
|
189
|
+
img fills .hero__background as a bare one does. */
|
|
190
|
+
.hero__background picture { display: contents; }
|
|
191
|
+
|
|
186
192
|
/* data-focus on the wrapper sets --focus (base.css), which the img reads. */
|
|
187
193
|
/* Custom focal point via CSS custom properties */
|
|
188
194
|
.hero__background[style*="--focus"] img {
|