From 033c8c7abb46e9e01f13e92156786fd03f63e63f Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 30 May 2025 09:39:43 +0200 Subject: [PATCH] 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. --- src/material/core/tokens/_m3-system.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/material/core/tokens/_m3-system.scss b/src/material/core/tokens/_m3-system.scss index 3d2df55df9c2..b1d09c9e4f53 100644 --- a/src/material/core/tokens/_m3-system.scss +++ b/src/material/core/tokens/_m3-system.scss @@ -115,6 +115,7 @@ $regular: map.get($typography, regular-weight) or $regular; } @else { $plain: $typography; + $brand: $typography; } $typography-config: ( definition.$internals: (