-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update tokens for better documentation (#8395)
**Related Issue:** #8315 ## Summary This PR updates tokens to include a "calcite-schema" in each token's attributes. This schema fully defines the token and it's role in the design system. It also changes the Docs output to always stringify the token value and fix the filePath to be relative to the tokens directory.
- Loading branch information
1 parent
766b5a2
commit ff19630
Showing
28 changed files
with
10,806 additions
and
621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"component": { | ||
"button": { | ||
"background": { | ||
"type": "color", | ||
"value": "{semantic.color.background.default}", | ||
"attributes": { | ||
"calcite-schema": { | ||
"system": "calcite", | ||
"tier": "component", | ||
"domain": "", | ||
"component": "button", | ||
"pattern": "", | ||
"element": "", | ||
"category": "color", | ||
"group": "", | ||
"kind": "", | ||
"appearance": "", | ||
"property": "background", | ||
"variant": "", | ||
"state": "", | ||
"scale": "", | ||
"context": "", | ||
"mode": "" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.