Skip to content

Commit dead313

Browse files
authored
docs: correct English language in readme (#1199)
1 parent 035dd9c commit dead313

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ To make working with tokens easier, we added some additional functionality on to
6060
We have two main color modes: `light` and `dark`. Additionally we have specific accessibility modes based on those, such as `light high contrast`.
6161

6262
We added a way to create a mode by only including the changes from the main mode. We call this `overrides`.
63-
`Overrides` are cerated in `src/tokens/functional/color/[light|dark]/overrides/` and have to be added to [themes.config.ts](./scripts/themes.config.ts) to work.
63+
`Overrides` are created in `src/tokens/functional/color/[light|dark]/overrides/` and have to be added to [themes.config.ts](./scripts/themes.config.ts) to work.
6464
In the individual files, e.g. `light.high-contrast.json5` you can now add tokens in the same structure as in any main file, e.g. `primitives-light.json5` to replace them.
6565

6666
### Transforming Colors with Alpha and Mix
@@ -88,7 +88,7 @@ For our Figma export we use the following meta data:
8888

8989
- `collection` the collection that the token is added to within Figma
9090
- `mode` the mode that the token is added to within the collection in Figma
91-
- `scopes` the scopes that are assigned to the token in Figma, the actual Figma compatible `scopes` are retreive from an object in the [figmaAttributes transformer](./src/transformers/figmaAttributes.ts)
91+
- `scopes` the scopes that are assigned to the token in Figma, the actual Figma compatible `scopes` are retrieved from an object in the [figmaAttributes transformer](./src/transformers/figmaAttributes.ts)
9292

9393
Code example
9494

@@ -109,8 +109,8 @@ Code example
109109
#### Token names and @-hack
110110

111111
Token names have to be in camelCase or kebab-case and may only include letters, numbers and `-`. This is enforced by the token validation (`npm run lint:tokens`).
112-
The only acception is the `@`-hack. This is used when you want to have a default value and sub-values, e.g. `bgColor.accent` and `bgColor.accent.muted`.
113-
In this case you can create the follwing structure. The `@` will be removed from the name and act as the default value.
112+
The only exception is the `@`-hack. This is used when you want to have a default value and sub-values, e.g. `bgColor.accent` and `bgColor.accent.muted`.
113+
In this case you can create the following structure. The `@` will be removed from the name and act as the default value.
114114

115115
```json5
116116
{

0 commit comments

Comments
 (0)