Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 033c8c7

Browse files
committedMay 30, 2025·
fix(material/core): brand family not set for plain value
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.
1 parent 1f8b130 commit 033c8c7

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)
Please sign in to comment.