From 6954bb979afcba928fcab2ff5780d930b90fac25 Mon Sep 17 00:00:00 2001 From: Kathleen McMahon Date: Fri, 8 Nov 2024 16:59:27 -0500 Subject: [PATCH] chore: linting --- technical-reports/color/token-naming.md | 2 +- technical-reports/format/groups.md | 6 +++--- technical-reports/format/types.md | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/technical-reports/color/token-naming.md b/technical-reports/color/token-naming.md index ce797e3..e902a16 100644 --- a/technical-reports/color/token-naming.md +++ b/technical-reports/color/token-naming.md @@ -299,7 +299,7 @@ export const SubbrandContext = React.createContext(); const Theme = React.forwardRef(function Theme( { theme = 'light', subbrand, children }, - forwardedRef + forwardedRef, ) { return ( diff --git a/technical-reports/format/groups.md b/technical-reports/format/groups.md index 08ca2b4..2ef4738 100644 --- a/technical-reports/format/groups.md +++ b/technical-reports/format/groups.md @@ -80,7 +80,7 @@ Group keys without a dollar sign (`$`) prefix denote: "$description": "This is an example of a group containing a single token", "Token name": { "$value": "#000000", - "$type": "color", + "$type": "color" } } } @@ -95,11 +95,11 @@ Group keys without a dollar sign (`$`) prefix denote: "Subgroup of tokens": { "Token 1 name": { "$value": "#aabbcc", - "$type": "color", + "$type": "color" }, "Token 2 name": { "$value": "#ddeeff", - "$type": "color", + "$type": "color" } } } diff --git a/technical-reports/format/types.md b/technical-reports/format/types.md index 7bfde7b..ecb295f 100644 --- a/technical-reports/format/types.md +++ b/technical-reports/format/types.md @@ -14,13 +14,13 @@ If an explicit type is set, but the value does not match the expected syntax the Represents a color in the UI. The `$type` property MUST be set to the string `color`. The `$value` property MUST be an object string containing a string `colorSpace`, a numeric `coordinates` array, optional numeric `alpha`, string `colorProfile`, and string `fallback` to support legacy color spaces as needed. -| Key | Type | Required | Description | -| :------ | :------: | :------: | :----------------------------------------------------------------- | -| `colorSpace` | `string` | Y | An string representing the color space. | -| `colorProfile` | `string` | | String representing url of color profile. | -| `coordinates` | `number array` | Y | An array of numeric values representing individual color coordinates. | -| `alpha` | `number` | | An integer or floating-point value representing the numeric value. | -| `fallback` | `string` | | Unit of distance. Supported values: [HEX 6](https://www.w3.org/TR/css-color-4/#typedef-hex-color) including the preceding `#` character. | +| Key | Type | Required | Description | +| :------------- | :------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------- | +| `colorSpace` | `string` | Y | An string representing the color space. | +| `colorProfile` | `string` | | String representing url of color profile. | +| `coordinates` | `number array` | Y | An array of numeric values representing individual color coordinates. | +| `alpha` | `number` | | An integer or floating-point value representing the numeric value. | +| `fallback` | `string` | | Unit of distance. Supported values: [HEX 6](https://www.w3.org/TR/css-color-4/#typedef-hex-color) including the preceding `#` character. | For example, initially the color tokens MAY be defined as such: @@ -35,7 +35,7 @@ For example, initially the color tokens MAY be defined as such: "colorProfile": "http://example.org/display-p3.icc", "coordinates": [0.92, 0.2, 0.97], "alpha": 1, - "fallback": "#ff00ff", // HEX 6 supported only + "fallback": "#ff00ff" // HEX 6 supported only } }, "Translucent shadow": { @@ -46,7 +46,7 @@ For example, initially the color tokens MAY be defined as such: "colorProfile": "http://example.org/display-p3.icc", "coordinates": [0, 0, 0], "alpha": 0.5, - "fallback": "#000000", // HEX 6 supported only + "fallback": "#000000" // HEX 6 supported only } } }