Skip to content

Trim the light-dark rationale in the 2.x eds-tokens README to reference ADR-0013 #5204

Description

@pomfrida

Part of #4740 (documentation cleanup, low priority).

The dark-mode section in packages/eds-tokens/README.md (lines ~43–63) was written by the #4864 bug fix and explains internal implementation details (why the published CSS avoids light-dark()) in consumer-facing docs, making dark mode look like a main theme of the package.

Now that ADR-0013 (#5200) is the canonical record of that decision, shorten the README section to a brief note referencing the ADR, and consider the same for the pitfall section in packages/eds-tokens/CLAUDE.md.

Note: a README change only becomes visible on npm with a new 2.x patch, and the manual stable-patch process during beta mode is involved — ride along the next 2.x patch that ships anyway rather than cutting a release for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions