Library output of type style classes and reset are deprecated and will be removed in an upcoming major release.
Also refer to type classes and reset usage in Carbon.
1.x |
2.x |
---|---|
N/A | @import '@carbon/type/scss/classes'; |
@include carbon--type-classes; |
1.x |
2.x |
---|---|
N/A | @import '@carbon/type/scss/reset'; |
@include carbon--type-reset; |
If using @carbon/type
style classes and reset, you can disable the library output using a feature flag by writing the following Sass code before importing:
$security--feature-flags: (
platform: false,
);