# styled-components/styled-theming

Create themes for your app using styled-components

Repository: https://github.com/styled-components/styled-theming
Canonical: https://ross.abutalabs.com/products/styled-theming
Language: JavaScript
License: MIT
License Family: permissive
Topics: react, css-in-js, styled-components, theming
Last push: 2026-06-10T12:19:58+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 86, release rhythm 35, longevity 100
- inputs: {"age_days": 3325, "days_push": 84, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1170, forks 25 (observed 2026-08-28T04:03:51.341396+00:00)

## What it is
A small helper library for styled-components that makes it easy to define multiple themes (e.g. light/dark mode) for React apps. It generates interpolation functions that select CSS values based on theme properties passed through ThemeProvider.

## Use cases
- add light and dark mode to a styled-components app
- switch color schemes via a theme provider in React
- define per-theme CSS values for styled components
- theme fonts and colors across a component library
- build a multi-theme design system with css-in-js

## When to choose
- you already use styled-components and need structured theming
- you want declarative light/dark or size-based theme variants
- you prefer css-in-js over CSS variables for theming

## When to avoid
- you don't use styled-components or React
- you prefer CSS custom properties or Tailwind-based theming
- you need a framework-agnostic theming solution

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, theme, css-framework
- domain: frontend, web-development, web-design
- platform: browser
- tags: react, css-in-js, styled-components, theming, dark-mode, nodejs, web-server

## Member repositories
- styled-components/styled-theming (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:51.341396+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:38.748021+00:00, confidence not recorded.
  - readme: https://github.com/styled-components/styled-theming (fetched 2026-08-28T04:03:51.341396+00:00, sha b56b6e5c46fc)
  - registry_npm: https://registry.npmjs.org/styled-theming (fetched 2026-08-29T12:34:29.549817+00:00, sha 9f567f612cf3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
