Skip to content

Commit

Permalink
feat(components/styles)!: remove @include set-font-face() inside co…
Browse files Browse the repository at this point in the history
…mponents (#1181)

Resolves #1122
  • Loading branch information
tiloyi committed Jun 2, 2023
1 parent 94d8603 commit 5f4d2e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/styles/components/_c.modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
box-sizing: border-box;
}

@include set-font-face();
@include set-dialog-base();

align-items: flex-end;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
@import "tokens";
@import "settings-tools/all-settings";
@include import-font-families();
html {
@include set-font-face();
}
@import "components/c.links";
@import "components/c.breadcrumb";

.example {
@include set-font-face();

background-color: $color-grey-700;
display: block;
padding: $mu150;
Expand Down
3 changes: 3 additions & 0 deletions src/docs/Components/Tabs/previews/tabs-dropdown.preview.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
@import "tokens";
@import "settings-tools/all-settings";
@include import-font-families();
html {
@include set-font-face();
}
@import "components/c.tabs";
@import "components/c.select";

Expand Down

0 comments on commit 5f4d2e1

Please sign in to comment.