From 2b3cb8fd2aedf0c7c17b2e0c9687c38ed19806c2 Mon Sep 17 00:00:00 2001 From: Jon McClure Date: Sun, 30 Jul 2023 16:12:59 +0100 Subject: [PATCH] token docs --- src/docs/styles/tokens/intro.stories.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/styles/tokens/intro.stories.mdx b/src/docs/styles/tokens/intro.stories.mdx index ae8fdc1f..b04c5514 100644 --- a/src/docs/styles/tokens/intro.stories.mdx +++ b/src/docs/styles/tokens/intro.stories.mdx @@ -71,7 +71,7 @@ Here's our table of text colour tokens, which has a few preset tokens for settin copyable={[true, (t) => `@include ${t};`, false]} /> -This table's tokens can be used through both a class or an SCSS mixin. (The table lets you click to copy for either.) +This table's tokens can be used through either a class or an SCSS mixin. (The table lets you click to copy for either.) To use the token that sets the text colour to our "primary text colour" (i.e., black), you'd use the `Class` token like this: @@ -108,4 +108,4 @@ p { } ``` -It's normal that not every style is accounted for by our tokens, so expect you'll still have to write your own SCSS at times. But using the pre-made tokens will shortcut a lot of time spent tweaking styles to make designs consistent across your page. The styles set by our tokens have been pre-harmonised for you! +It's normal that not every style is accounted for by our tokens, so even if you use them expect you'll still have to write your own SCSS at times. But using the pre-made tokens will shortcut a lot of time spent tweaking styles to make designs consistent across your page. The styles set by our tokens have been pre-harmonised for you!