PolyFishCSS
A general-purpose component kit โ dark surfaces, a teal-mint primary, rounded-to-pill shapes, and four elemental accents. Every example below is live: it's the actual framework rendering, not a screenshot.
Colors
Every color is an HSL triplet custom property, so any consumer can layer opacity with hsl(var(--pf-x) / .4).
Core
Elements
Semantic & economy
Typography
Space Grotesk for headings and UI labels, DM Sans for body copy.
Aa Bb Cc 123
Aa Bb Cc 123
Aa Bb Cc 123
A lead paragraph for section intros.
Body copy in DM Sans โ legible at small sizes for long-form content.
Grid
12-column flexbox grid, Bootstrap-familiar API.
<div class="pf-row pf-gap-3"> <div class="pf-col-12 pf-col-md-4">...</div> </div>
Buttons
Bold uppercase pills. Primary glows on hover; elemental variants carry their own glow color.
<button class="pf-btn pf-btn--primary">Primary</button>
Elemental fills โ for game UI, or any accent color need.
Sizes
Badges & stat pills
Icon + value chips โ the dashboard header pattern (๐ essence, ๐ฅ streak).
<span class="pf-badge pf-badge--essence">๐ 34 essence</span>
Semantic & elemental variants
Tabs
Segmented pill control โ filter rows, category switchers.
<div class="pf-tabs"> <button class="pf-tab is-active">Attack</button> <button class="pf-tab">Defense</button> </div>
Cards
Selectable picker cards โ border + corner tag on the active choice.
โ Classic
Standard run. Climb waves, beat bosses every 10.
๐ Survival
3 lives. Pick a buff & a debuff each death.
<div class="pf-card pf-card--selected"> <div class="pf-card__body"> <span class="pf-card__tag">Selected</span> <h3 class="pf-card__title">Classic</h3> </div> </div>
Alerts
Left-border feedback banners, semantic or elemental.
Progress bars
Health, XP, gold, essence โ each maps to its own token.
Health
XP
Gold
Forms
Inputs, selects, textareas, checks, and radios โ plus the input-group pattern for inline actions.
Toggles
Settings switches โ Screen Shake, Damage Numbers.
Avatars
Circular initials, with an optional role badge โ forum post authors.