Skip to content

refactor: tokens/presets.ts derives every preset field from builtins.ts #654

Closed

Description

@mvilacad

tokens/presets.ts derives from theme/builtins.ts but still declares the preset id union by hand and shares semantic palettes outside it (TruthAudit). Derive the id type and remaining fields from BUILTIN_PRESETS so adding a preset touches one file.

Activity

  1. added
    area:themetokens, presets, CSS, materials
    in progressSomeone is working on it (see the linked draft PR)
    on Oct 25, 2026
  2. self-assigned this
    on Oct 25, 2026
  3. mvilacad commented on Oct 25, 2026

    @mvilacad
    ContributorAuthor

    Working on this in #661 (draft). Branch fix/654-refactor-tokens-presets-ts-derives-every. Regression test first, then the fix.

  4. removed
    in progressSomeone is working on it (see the linked draft PR)
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:themetokens, presets, CSS, materials

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions