bem/themekit

Impl command or flag for fix invalid tokens

yarastqt opened this issue · 0 comments

Proposal

Implement command or flag for fix invalid tokens, and remove duplicate tokens.

Use case

Broken path

We have override tokens with broken path:

base

color:
  base:
    value: "#fff"

override

color-base:
    value: "#fff"

In result we have warning for different tokens with same result.

Duplicate tokens

base

color:
  base:
    value: "#fff"

override

color:
  base:
    value: "#fff"

Command

themekit build --fix