-
Notifications
You must be signed in to change notification settings - Fork 6.8k
feat(typography): add letter-spacing configuration to typography config #9932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
@return ( | ||
font-size: $font-size, | ||
line-height: $line-height, | ||
font-weight: $font-weight, | ||
font-family: $font-family | ||
font-family: $font-family, | ||
letter-spacing: $letter-spacing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be consumed somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, didn't include that file for some reason.
ffd656b
to
7738f31
Compare
@@ -31,7 +36,8 @@ | |||
|
|||
// Outputs the shorthand `font` CSS property, based on a set of typography values. Falls back to | |||
// the individual properties if a value that isn't allowed in the shorthand is passed in. | |||
@mixin mat-typography-font-shorthand($font-size, $font-weight, $line-height, $font-family) { | |||
@mixin mat-typography-font-shorthand( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The mat-typography-font-shorthand
is only for generating shorthand font
properties. The letter spacing should go in the mat-typography-level-to-styles
mixin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
7738f31
to
5f6ee4d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
5f6ee4d
to
2207ce3
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.