Skip to content

typography is unable to be configured with mat-core mix-in #5589

Closed
@mattheiler

Description

@mattheiler

Bug, feature request, or proposal:

Proposal.

What is the expected behavior?

Either extract typography from the mix-in, or allow a parameter to be passed in.

What is the current behavior?

Typography is unable to be configured, requiring redundant styling.

What are the steps to reproduce?

@include mat-core();
@include angular-material-typography(mat-typography-config($font-family: 'Arial'));

What is the use-case or motivation for changing an existing behavior?

Prevent redundant overridden style definitions.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Material Beta 8.

Is there anything else we should know?

Nope. Pretty simple.

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions