# seek-oss/treat

:candy: Themeable, statically extracted CSS‑in‑JS with near‑zero runtime.

Repository: https://github.com/seek-oss/treat
Canonical: https://ross.abutalabs.com/products/seek-oss-treat
Homepage: https://seek-oss.github.io/treat
Language: TypeScript
License: MIT
License Family: permissive
Topics: css-in-js, css-in-ts, webpack-plugin
Archived: true
Last push: 2024-04-09T01:36:31+00:00

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

## Adoption (not part of the score)
Stars 1141, forks 30 (observed 2026-08-28T04:03:44.500693+00:00)

## What it is
Treat is a themeable, statically extracted CSS-in-JS library that executes style files at build time via a webpack plugin, producing near-zero runtime CSS. It is now deprecated in favor of its successor, Vanilla Extract.

## Use cases
- write type-safe styles in TypeScript with static CSS extraction
- theme a React app with near-zero runtime CSS
- generate static CSS files from JavaScript at build time
- support legacy browsers with class-swapping theming
- keep CSS logic out of the production JavaScript bundle

## When to choose
- maintaining an existing codebase already built on treat
- studying how static CSS extraction works before migrating to Vanilla Extract

## When to avoid
- starting a new project - use Vanilla Extract instead
- projects not using webpack
- teams needing actively maintained tooling or community support

## Facets
- artifact type: library
- maturity: abandoned
- function: css-framework, build-tool, theme
- domain: web-development, frontend, developer-tools
- platform: cross-platform
- tags: css-in-js, static-css-extraction, webpack-plugin, theming, deprecated, typescript, nodejs, web-server

## Member repositories
- seek-oss/treat (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.500693+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:35:25.034504+00:00, confidence not recorded.
  - readme: https://github.com/seek-oss/treat (fetched 2026-08-28T04:03:44.500693+00:00, sha 004c2d998af1)
  - homepage: https://seek-oss.github.io/treat (fetched 2026-08-29T12:40:45.033326+00:00, sha 0b17339bc23a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
