# salesforce-ux/theo

Theo is a an abstraction for transforming and formatting Design Tokens

Repository: https://github.com/salesforce-ux/theo
Canonical: https://ross.abutalabs.com/products/theo
Language: JavaScript
License: BSD-3-Clause
License Family: permissive
Topics: design-systems, design-tokens
Archived: true
Last push: 2025-06-09T11:02:03+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 25, release rhythm 8, longevity 100
- inputs: {"age_days": 4578, "days_push": 450, "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 1989, forks 119 (observed 2026-08-28T04:06:03.021399+00:00)

## What it is
Theo is a JavaScript library and CLI for transforming and formatting design tokens defined in YAML/JSON into platform-specific outputs like SCSS, CSS, iOS, and Android formats. It supports custom transforms and formats for design system workflows.

## Use cases
- convert design tokens to scss variables
- generate platform-specific styles from a single token source
- share color and spacing values across web, ios, and android
- build a design system token pipeline
- transform yaml token files into css custom properties

## When to choose
- you maintain a design system needing multi-platform token output
- you want extensible custom transforms and formats for tokens

## When to avoid
- you need a full design token manager with a GUI
- your project uses newer token pipelines like Style Dictionary

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, templating, developer-tools
- domain: web-development, frontend, web-design, developer-tools
- platform: cross-platform, cli
- tags: design-tokens, design-systems, css, scss, less, stylus, ios, android, code-generation, nodejs

## Member repositories
- salesforce-ux/theo (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:03.021399+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-30T03:02:56.903109+00:00, confidence not recorded.
  - readme: https://github.com/salesforce-ux/theo (fetched 2026-08-28T04:06:03.021399+00:00, sha 860a455e3662)
  - registry_npm: https://registry.npmjs.org/theo (fetched 2026-08-29T10:42:56.705353+00:00, sha 4e9bac8b743a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
