The five files
Every file does one part of the page
Core carries the tokens, the reset and the type scale, so it always ships. The other four map to the parts of a page you either have or don't.
01
PolyFishCSS-Core.css
Design tokens, reset, type scale, layout primitives, buttons, pills and focus states. Required — the other files read its custom properties.
- Container, grid, stack, cluster, split
- Four button variants, three sizes
- Light-mode flip with
.pf-invert
02
PolyFishCSS-Headers.css
Everything above the fold: announcement bar, sticky navigation with a working mobile menu, four hero variants, interior page headers, breadcrumbs.
- Mobile menu runs on a checkbox, not a script
- Split, centred, compact and photo heroes
- Backdrop blur with a solid fallback
03
PolyFishCSS-Content.css
The middle of the page. Sections, cards, feature and pricing grids, stats, tables, alerts, forms, accordions, code blocks, galleries, CTA bands.
- Accordion is a native
<details> element
- Form controls styled down to the select arrow
- Tables scroll horizontally instead of squashing
04
PolyFishCSS-Footers.css
Column footer, slim footer, green footer. Brand block, link columns, inline signup, social row, legal bar and a back-to-top link.
- Columns collapse in one step, not four
- Signup form reuses the Content field styles
- Green variant recolours itself in full
05
PolyFishCSS-Utilities.css
Spacing, alignment, colour and visibility helpers, all reading the same tokens. The first file to drop if your project already has its own.
- Margins and gaps on the 4px scale
- Print rules that hide the chrome
- Two responsive visibility classes, not twenty
Prefer one file?
PolyFishCSS.css is all five concatenated in load order. Use it while prototyping, then swap in the two or three you actually referenced.