Skip to content

Commit

Permalink
perf(link): remove bloated foundation/typography import in chevron link
Browse files Browse the repository at this point in the history
included the scss placeholder in chevron link css module file temporarily until we get to the text
components
  • Loading branch information
lzcabrera committed Aug 21, 2017
1 parent 9fc3e90 commit 49a5e30
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/Link/ChevronLink/ChevronLink.modules.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
$tds-style-typography-html-tags: false;

@import '../../../scss/settings/colours';
@import '../../../scss/utility/responsive';
@import '../../../scss/settings/responsive-grid';
@import '../../../scss/settings/typography';
@import '../../../scss/foundation/typography';
@import '../../../scss/settings/variables';

%text--medium {
font-size: rem($body-medium-text-size);
line-height: $body-medium-line-height;
letter-spacing: -.8px;
}

.link {
@extend %text--medium;
Expand Down

0 comments on commit 49a5e30

Please sign in to comment.