Fluid scaling to 1920px and height-aware variables; speed and responsive guidelines
- fluid-wide.css: the fluid.css variables stretched over 360→1920px (export @intecion/ipal-kit/fluid-wide.css); fluid.css values unchanged. - New variables in both (unused until a project opts in): --ipal-measure, --ipal-container(-wide), --ipal-hero-min-h (svh), --ipal-fs-display-fit, --ipal-fs-h1-fit, --ipal-space-section-fit — keep the hero CTA above the fold on 1366×768. Verified in Chromium at 360…1920 widths. - AGENT.md §6.11a (scaling, viewport test list incl. 13–15" laptops and 125/150 % zoom) and §6.11b (Core Web Vitals table: LCP image, sizes, placeholders, video modes, YouTube facade, images preset, fonts). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -177,7 +177,10 @@ export default { plugins: { '@tailwindcss/postcss': {} } }
|
||||
}
|
||||
```
|
||||
`fluid.css` to same zmienne `clamp()` (360 → 1280 px, w `rem`) — klasy `text-h1`,
|
||||
`py-section`, `px-gutter`. Liczby z `DESIGN.md` nadpisujesz w `:root` projektu
|
||||
`py-section`, `px-gutter`. `fluid-wide.css` — te same zmienne, skala do 1920 px (13″ ≠ 27″);
|
||||
importujesz jeden z dwóch. Oba mają też zmienne wysokości i szerokości: `--ipal-hero-min-h`,
|
||||
`--ipal-fs-display-fit`, `--ipal-space-section-fit`, `--ipal-measure`, `--ipal-container`
|
||||
(AGENT.md §6.11a). Liczby z `DESIGN.md` nadpisujesz w `:root` projektu
|
||||
(`--ipal-fs-h1: clamp(…)`); formuł nie piszesz od zera.
|
||||
Bez `@source` komponenty pluginu (baner cookies, Turnstile) są bez stylów.
|
||||
Kolory komponentów pluginu: `--ipal-primary`, `--ipal-radius` (consent.md).
|
||||
|
||||
Reference in New Issue
Block a user