Skip to content

Commit

Permalink
fix(docs): update component token docs links (#17087)
Browse files Browse the repository at this point in the history
Co-authored-by: Riddhi Bansal <41935566+riddhybansal@users.noreply.github.com>
  • Loading branch information
tay1orjones and riddhybansal authored Aug 2, 2024
1 parent b48919c commit a6cb80d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/styles/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,11 +408,11 @@ like to see changed.

Component tokens are available for the following components:

| Component | Import | File |
| :----------- | :----------------------------------------------------------- | :------------------------------------------------------------------------------ |
| button | `@use '@carbon/styles/scss/components/button/tokens';` | [`scss/components/button/tokens`](../scss/components/button/tokens) |
| notification | `@use '@carbon/styles/scss/components/notification/tokens';` | [`scss/components/notification/tokens`](../scss/components/notification/tokens) |
| tag | `@use '@carbon/styles/scss/components/tag/tokens';` | [`scss/components/tag/tokens`](../scss/components/tag/tokens) |
| Component | Import | File |
| :----------- | :----------------------------------------------------------- | :------------------------------------------------------------------------------------ |
| button | `@use '@carbon/styles/scss/components/button/tokens';` | [`scss/components/button/tokens`](../scss/components/button/_tokens.scss) |
| notification | `@use '@carbon/styles/scss/components/notification/tokens';` | [`scss/components/notification/tokens`](../scss/components/notification/_tokens.scss) |
| tag | `@use '@carbon/styles/scss/components/tag/tokens';` | [`scss/components/tag/tokens`](../scss/components/tag/_tokens.scss) |

For example, if you wanted to change the component token `button-primary` for
`button` you could do the following:
Expand Down

0 comments on commit a6cb80d

Please sign in to comment.