Skip to content

Commit

Permalink
feat(font size utilities): add import file with utilities ready to ex…
Browse files Browse the repository at this point in the history
…pose
  • Loading branch information
larrybotha committed May 4, 2020
1 parent ceaf75b commit 9409d73
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scss/core/tools/mixins/utilities/_font-sizes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
@mixin u-fs--h5 { font-size: px-to-rem($fs-h5);}
@mixin u-fs--h6 { font-size: px-to-rem($fs-h6);}

@mixin u-fs--base { font-size: px-to-rem($fs-base);}

/**
* A series of classes for setting tiny type; for use in smallprint etc.
*/
Expand All @@ -42,6 +44,8 @@
.u-fs--h5 { @include u-fs--h5;}
.u-fs--h6 { @include u-fs--h6;}

.u-fs--base { @include u-fs--base;}

.u-fs--milli { @include u-fs--milli;}
.u-fs--micro { @include u-fs--micro;}
.u-fs--nano { @include u-fs--nano;}
Expand Down
15 changes: 15 additions & 0 deletions scss/custom/app/utilities/typography/_font-size.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*------------------------------------*\
FONT SIZE UTILITIES
\*------------------------------------*/
//.u-fs--h1 { @include u-fs--h1;}
//.u-fs--h2 { @include u-fs--h2;}
//.u-fs--h3 { @include u-fs--h3;}
//.u-fs--h4 { @include u-fs--h4;}
//.u-fs--h5 { @include u-fs--h5;}
//.u-fs--h6 { @include u-fs--h6;}

//.u-fs--base { @include u-fs--base;}

//.u-fs--milli { @include u-fs--milli;}
//.u-fs--micro { @include u-fs--micro;}
//.u-fs--nano { @include u-fs--nano;}
1 change: 1 addition & 0 deletions scss/custom/app/utilities/typography/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
@import 'alignment';
@import 'colors';
@import 'font-family';
@import 'font-size';

0 comments on commit 9409d73

Please sign in to comment.