Skip to content

Commit

Permalink
Fix design token heading levels
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow committed Oct 24, 2024
1 parent b67cfd3 commit bb48584
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions technical-reports/format/design-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Furthermore, due to the syntax used for [token aliases](#aliases-references) the

While `$value` is the only required property for a token, a number of additional properties MAY be added:

## Description
### Description

A plain text description explaining the token's purpose can be provided via the optional `$description` property. Tools MAY use the description in various ways.

Expand All @@ -111,7 +111,7 @@ The value of the `$description` property MUST be a plain JSON string, for exampl

</aside>

## Type
### Type

Design tokens always have an unambiguous type, so that tools can reliably interpret their value.

Expand Down Expand Up @@ -145,7 +145,7 @@ For example:

</aside>

## Extensions
### Extensions

The optional **`$extensions`** property is an object where tools MAY add proprietary, user-, team- or vendor-specific data to a design token. When doing so, each tool MUST use a vendor-specific key whose value MAY be any valid JSON data.

Expand Down Expand Up @@ -178,5 +178,3 @@ Tool vendors are encouraged to publicly share specifications of their extension
<p class="ednote" title="Extensions section">
The extensions section is not limited to vendors. All token users can add additional data in this section for their own purposes.
</p>

## More token properties TBC

0 comments on commit bb48584

Please sign in to comment.