Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: incorrect type usage example on styles doc page #11335

Closed
2 tasks done
matthewgallo opened this issue May 3, 2022 · 1 comment · Fixed by #11336
Closed
2 tasks done

[Bug]: incorrect type usage example on styles doc page #11335

matthewgallo opened this issue May 3, 2022 · 1 comment · Fixed by #11336

Comments

@matthewgallo
Copy link
Member

Package

@carbon/react

Browser

Chrome

Package version

latest

React version

latest

Description

Hi 👋 , I recently started looking into using carbon v11 and noticed a typo in the usage example for using type tokens here. I am happy to include a PR to update this.

Correct usage:

@include type.type-style('productive-heading-01');

Example that is currently on styles doc page

@include type.style(type.$productive-heading-01);

CodeSandbox example

N/A

Steps to reproduce

  1. Attempt to use the example here to set a type token
  2. Notice the undefined mixin error

Code of Conduct

@matthewgallo
Copy link
Member Author

#11336

@jnm2377 jnm2377 moved this to ✅ Done in Design System May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant