styled-components/polished
A lightweight toolset for writing styles in JavaScript ✨ observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 74
- Release rhythm 8
- Longevity 100
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: 3590
- days_rel: n/a
- days_push: 160
- n_releases_24m: 0
Adoption not part of the score
7663 stars · 216 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
polished is a lightweight JavaScript library of Sass-style helper functions, mixins, and color utilities for writing styles in JavaScript. It works with any CSS-in-JS framework (styled-components, emotion, JSS, Aphrodite) or plain inline styles.
Use cases
- lighten or darken colors programmatically in JavaScript styles
- use Sass-style helper functions and mixins in CSS-in-JS
- maintain a consistent color palette across an app
- generate fluid responsive values between breakpoints
- create CSS triangles, gradients, and hiDPI media queries in JS
- migrate from a CSS preprocessor to styles in JavaScript
When to choose
- you write styles in JavaScript and want preprocessor-style helpers
- you need color manipulation functions like lighten, darken, mix, or contrast checks
- you want a framework-agnostic styling utility library with tree-shaking support
When to avoid
- you write plain CSS or use a preprocessor like Sass or Less directly
- you need a full CSS-in-JS solution rather than helper functions
- you need to support legacy browsers older than IE11
Facets
library · maturity stable
css-framework ui-components developer-tools web-development frontend web-design browser cross-platform css-in-js styled-components sass-helpers color-functions styling-utilities javascript nodejs
3 sources
- readme: https://github.com/styled-components/polished · fetched 2026-08-28 · 5019a94340cd
- homepage: https://polished.js.org/ · fetched 2026-08-29 · 202a6410419e
- site_page: https://polished.js.org/docs · fetched 2026-08-29 · d0eefc14e093
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| styled-components/polished | main | 56 |
For agents
markdown · JSON · MCP: product_card(name="styled-components/polished")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem