Skip to content

Is there any difference between carbon--type-style and type-style? #8524

Answered by joshblack
Yohanna asked this question in Help
Discussion options

You must be logged in to vote

Hi there @Yohanna! 👋

Great question, if you're using carbon-components directly then we ship a mixin called type-style as an alias for carbon--type-style. They should be completely interchangeable.

As we move towards Sass Modules in future versions of Carbon, you can expect all namespaced mixins to drop the carbon-- and become just the mixin name itself, as well.

Hope this helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joshblack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants