The `color` tokens do not have a `reference` object within it's data
jordanjones243 opened this issue · comments
Jordan Jones commented
Describe the bug
None of the color
tokens have a reference
object within their JSON data, causing an error when trying to build out the list of deprecated tokens.
To Reproduce
Steps to reproduce the behavior:
- Use a local version of the docsite
- Update with this command
npm i @alaskaairux/design-tokens@3.12.1
- Run the server locally
- Go to http://localhost:3000/getting-started/developers/design-tokens/deprecated
- See the error
Expected behavior
The deprecated tokens list should be generated on the docsite.
Screenshot
This is an example of what the deprecated token data should look like (not the reference
and version
data).
Additional context
This bug was discovered through investigative work stemming from this issue:
The color
tokens are also missing a version
object, but the absence of this object does not produce an error.