Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 27 additions & 27 deletions docs/migration/v11.md
Original file line number Diff line number Diff line change
Expand Up @@ -1992,33 +1992,33 @@ were importing `@carbon/type/scss/styles` in v10 you would now only import

**Sass API**

| Filename | v10 | v11 |
| ------------------------------------- | ------------------------------------ | --------------------------------------- |
| `scss/index.scss` | | Removed, use `@carbon/type` directly |
| `scss/type.scss` | | Removed, use `@carbon/type` directly |
| `scss/_classes.scss` | `@mixin carbon--type-classes` | Renamed to `@mixin type-classes` |
| `scss/font-face/_mono.scss` | `@mixin carbon--font-face-mono` | Removed, use `@carbon/styles/scss/font` |
| `scss/font-face/_sans-condensed.scss` | `@mixin carbon--font-face-condensed` | Removed, use `@carbon/styles/scss/font` |
| `scss/font-face/_sans.scss` | `@mixin carbon--font-face-sans` | Removed, use `@carbon/styles/scss/font` |
| `scss/font-face/_serif.scss` | `@mixin carbon--font-face-serif` | Removed, use `@carbon/styles/scss/font` |
| `scss/font-face/_settings.scss` | `$carbon--font-display` | Removed |
| `scss/_font-family.scss` | `$carbon--font-families` | Renamed to `$font-families` |
| | `@function carbon--font-family` | Renamed to `@function font-family` |
| | `@mixin carbon--font-family` | Renamed to `@mixin font-family` |
| | `$carbon--font-weights` | Renamed to `$font-weights` |
| | `@function carbon--font-weight` | Renamed to `@function font-weight` |
| | `@mixin carbon--font-weight` | Renamed to `@mixin font-weight` |
| `scss/_prefix.scss` | | No Changes |
| `scss/_reset.scss` | `@mixin carbon--default-type` | Renamed to `@mixin default-type` |
| | `@mixin carbon--type-reset` | Renamed to `@mixin type-reset` |
| `scss/_scale.scss` | `@function carbon--get-type-size` | Removed, use `type-scale` instead |
| | `$carbon--type-scale` | Renamed to `$type-scale` |
| | `@function carbon--type-scale` | Renamed to `@function type-scale` |
| | `@mixin carbon--type-scale` | Renamed to `@mixin type-scale` |
| | `@mixin carbon--font-size` | Renamed to `@mixin font-size` |
| `scss/_styles.scss` | `@mixin carbon--type-style` | Renamed to `@mixin type-style` |
| | `$caption-01` | Removed |
| | `$caption-02` | Removed |
| Filename | v10 | v11 |
| ------------------------------------- | ------------------------------------ | ---------------------------------------- |
| `scss/index.scss` | | Removed, use `@carbon/type` directly |
| `scss/type.scss` | | Removed, use `@carbon/type` directly |
| `scss/_classes.scss` | `@mixin carbon--type-classes` | Renamed to `@mixin type-classes` |
| `scss/font-face/_mono.scss` | `@mixin carbon--font-face-mono` | Removed, use `@carbon/styles/scss/fonts` |
| `scss/font-face/_sans-condensed.scss` | `@mixin carbon--font-face-condensed` | Removed, use `@carbon/styles/scss/fonts` |
| `scss/font-face/_sans.scss` | `@mixin carbon--font-face-sans` | Removed, use `@carbon/styles/scss/fonts` |
| `scss/font-face/_serif.scss` | `@mixin carbon--font-face-serif` | Removed, use `@carbon/styles/scss/fonts` |
| `scss/font-face/_settings.scss` | `$carbon--font-display` | Removed |
| `scss/_font-family.scss` | `$carbon--font-families` | Renamed to `$font-families` |
| | `@function carbon--font-family` | Renamed to `@function font-family` |
| | `@mixin carbon--font-family` | Renamed to `@mixin font-family` |
| | `$carbon--font-weights` | Renamed to `$font-weights` |
| | `@function carbon--font-weight` | Renamed to `@function font-weight` |
| | `@mixin carbon--font-weight` | Renamed to `@mixin font-weight` |
| `scss/_prefix.scss` | | No Changes |
| `scss/_reset.scss` | `@mixin carbon--default-type` | Renamed to `@mixin default-type` |
| | `@mixin carbon--type-reset` | Renamed to `@mixin type-reset` |
| `scss/_scale.scss` | `@function carbon--get-type-size` | Removed, use `type-scale` instead |
| | `$carbon--type-scale` | Renamed to `$type-scale` |
| | `@function carbon--type-scale` | Renamed to `@function type-scale` |
| | `@mixin carbon--type-scale` | Renamed to `@mixin type-scale` |
| | `@mixin carbon--font-size` | Renamed to `@mixin font-size` |
| `scss/_styles.scss` | `@mixin carbon--type-style` | Renamed to `@mixin type-style` |
| | `$caption-01` | Removed |
| | `$caption-02` | Removed |

## Type tokens

Expand Down
Loading