Skip to content

Deprecation warning when passing a list fonts to mat-typography-config #6668

@josh18

Description

@josh18

Bug, feature request, or proposal:

Bug

What is the expected behavior?

mat-typography-config accepts a list of fonts.

What is the current behavior?

mat-typography-config throws a deprecation error:

DEPRECATION WARNING: Passing "Open Sans", sans-serif, a non-string value, to unquote() will be an error in future versions of Sass.

What are the steps to reproduce?

$custom-typography: mat-typography-config(
    $font-family: 'Open Sans', sans-serif;
);

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