Skip to content

Commit

Permalink
feat(styles): add default-type export to _type.scss entrypoint (#9891)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack authored Oct 19, 2021
1 parent 4165cc4 commit b5487bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/styles/scss/__tests__/type-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ describe('@carbon/styles/scss/type', () => {
mixins: (
reset: meta.mixin-exists('reset', 'type'),
type-style: meta.mixin-exists('type-style', 'type'),
font-family: meta.mixin-exists('font-family', 'type'),
default-type: meta.mixin-exists('default-type', 'type'),
),
));
`);
Expand All @@ -33,6 +35,8 @@ describe('@carbon/styles/scss/type', () => {
expect(api.mixins).toEqual({
reset: true,
'type-style': true,
'font-family': true,
'default-type': true,
});
expect(api.variables).toMatchInlineSnapshot(`
Array [
Expand Down
1 change: 1 addition & 0 deletions packages/styles/scss/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
reset,
type-style,
font-family,
default-type,

// Variables
$caption-01,
Expand Down

0 comments on commit b5487bc

Please sign in to comment.