styled-components/polished

A lightweight toolset for writing styles in JavaScript ✨

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 39 minutes ago
Added to GitGenius on September 8th, 2026
Created on November 3rd, 2016
Open Issues & Pull Requests: 34 (+0)
GitHub issues: Enabled
Number of forks: 216
Total Stargazers: 7,662 (+0)
Total Subscribers: 39 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Polished is a lightweight toolset for writing styles in JavaScript that provides Sass-style helper functions and mixins for CSS-in-JS workflows.

The tool solves the problem of missing utility functions when migrating from preprocessors like Sass to JavaScript-based styling. It offers a collection of standalone modules—such as color manipulation, animations, and layout helpers—that work across any CSS-in-JS framework. Rather than being tied to a specific styling library, polished functions can be imported individually and composed into styled-components, emotion, jss, aphrodite, radium, or plain inline styles. The modular design enables tree shaking to keep bundle size minimal.

Developers switching from Sass to JavaScript styling should choose polished to avoid rewriting common utility logic. It suits projects using any CSS-in-JS approach where you want a consistent color palette, animation helpers, or cross-browser compatibility utilities without building them from scratch. The tool supports evergreen browsers and IE11. It includes first-class Flow type definitions and TypeScript support, so it integrates cleanly into typed codebases. An optional Babel plugin can compile static function calls at build time, eliminating any runtime overhead.

The project maintains active continuous integration testing and code coverage tracking. Development follows a pattern of regular maintenance with attention to browser compatibility standards and type system support across both Flow and TypeScript ecosystems.