Skip to content

Commit 45fcf24

Browse files
committed
fix(material/core): brand family not set for plain value (#31260)
If a non-map value is set for the `typography`, we were only setting the plain font family while the brand one was falling back to Roboto. Fixes #31254. (cherry picked from commit 8b821cb)
1 parent e0a85a0 commit 45fcf24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/material/core/tokens/_m3-system.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
$regular: map.get($typography, regular-weight) or $regular;
116116
} @else {
117117
$plain: $typography;
118+
$brand: $typography;
118119
}
119120
$typography-config: (
120121
definition.$internals: (

0 commit comments

Comments
 (0)