Skip to content

Commit

Permalink
JSON syntax highlighting on README (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Jan 6, 2023
1 parent 0c31718 commit e1626a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ A design token is an attribute to describe something visually. It is atomic (it

While not exactly necessary, we feel this classification structure of design tokens makes the most sense semantically. Design tokens can be organized into a hierarchical tree structure with the top level, category, defining the primitive nature of the token. For example, we have the color category and every token underneath is always a color. As you proceed down the tree to type, item, sub-item, and state, you get more specific about what that color is. Is it a background color, a text color, or a border color? What kind of text color is it? You get the point. Now you can structure your token json files like simple objects:

```
```json
{
"size": {
"font": {
Expand All @@ -250,7 +250,7 @@ Also, the CTI structure provides a good mechanism to target transforms for speci

You can also add a _comment_ to a design token:

```
```json
{
"size": {
"font": {
Expand Down

0 comments on commit e1626a7

Please sign in to comment.