jhildenbiddle/css-vars-ponyfill
Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3208
- days_rel: n/a
- days_push: 911
- n_releases_24m: 0
Adoption not part of the score
1460 stars · 63 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A lightweight, dependency-free JavaScript ponyfill that provides client-side support for CSS custom properties (CSS variables) in legacy and modern browsers. It transforms CSS custom properties into static values at runtime, supporting link/style/import stylesheets, chained and nested var() functions, fallback values, and web components with shadow DOM.
Use cases
- support CSS variables in Internet Explorer 9-11
- make CSS custom properties work in legacy browsers
- runtime theming with CSS variables across old and new browsers
- use CSS variables inside web components and shadow DOM
- live-update CSS variable values without page reload
- transform stylesheets to static values client-side
When to choose
- you must support legacy browsers like IE9-IE11 that lack CSS custom property support
- you need runtime/live updates of CSS variable values in older browsers
- your project uses web components or shadow DOM with CSS variables
- you want a small, dependency-free client-side solution
When to avoid
- your target browsers natively support CSS custom properties
- you modify styles via CSSOM APIs, which this library does not support
- you need custom property declarations outside :root and :host rulesets
- you need a true polyfill that patches the CSSOM rather than transforming stylesheets
Facets
library · maturity maintenance
ui-components developer-tools web-development frontend cross-platform browser css-variables ponyfill polyfill legacy-browser-support internet-explorer shadow-dom web-components client-side web-server
3 sources
- readme: https://github.com/jhildenbiddle/css-vars-ponyfill · fetched 2026-08-28 · f1baff1effad
- homepage: https://jhildenbiddle.github.io/css-vars-ponyfill · fetched 2026-08-29 · 2b5000526110
- registry_npm: https://registry.npmjs.org/css-vars-ponyfill · fetched 2026-08-29 · cc6546cec7f0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jhildenbiddle/css-vars-ponyfill | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="jhildenbiddle/css-vars-ponyfill")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem