Skip to content

Commit

Permalink
Merge pull request #39 from Brightspace/small-text-line-height-override
Browse files Browse the repository at this point in the history
adding override for line-height to small-text mixin
  • Loading branch information
dlockhart committed Jan 12, 2016
2 parents f5dd4ad + 04763da commit 699e3bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vui-typography",
"version": "1.2.1",
"version": "1.2.2",
"description": "Mixins and CSS for applying basic typography styles",
"scripts": {
"clean": "rimraf *.css",
Expand Down
8 changes: 6 additions & 2 deletions typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,17 @@

}

@mixin vui-typography-small-text($fontWeight: 400, $margin: 1rem 0 1rem 0) {
@mixin vui-typography-small-text(
$fontWeight: 400,
$margin: 1rem 0 1rem 0,
$line-height: 1rem
) {

color: $vui-color-ferrite;
font-family: inherit;
font-size: 0.7rem;
font-weight: $fontWeight;
line-height: 1rem;
line-height: $line-height;
letter-spacing: px-to-rem(0.4px, $vui-base-fontSize);
margin: $margin;

Expand Down

0 comments on commit 699e3bf

Please sign in to comment.