-
Just wanted to confirm if there is any difference between @include carbon--type-style('productive-heading-03');
// vs.
@include type-style('body-long-01'); Also, is the Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi there @Yohanna! 👋 Great question, if you're using As we move towards Sass Modules in future versions of Carbon, you can expect all namespaced mixins to drop the Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi there @Yohanna! 👋
Great question, if you're using
carbon-components
directly then we ship a mixin calledtype-style
as an alias forcarbon--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!