Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.01 KB

type.md

File metadata and controls

33 lines (22 loc) · 1.01 KB

Type

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.

Migrating

Usage

Classes

1.x 2.x
N/A @import '@carbon/type/scss/classes';
@include carbon--type-classes;

Reset

1.x 2.x
N/A @import '@carbon/type/scss/reset';
@include carbon--type-reset;

Feature flags

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,
);