Content-Length: 262032 | pFad | https://github.com/angular/components/commit/45fcf24b6cb5088e3c6e08c0eff068c7a7a7b548

8E fix(material/core): brand family not set for plain value (#31260) · angular/components@45fcf24 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/angular/components/commit/45fcf24b6cb5088e3c6e08c0eff068c7a7a7b548

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy