Skip to content

Commit 08f5fda

Browse files
committed
fix(material/button-toggle): use smaller border radius (#31084)
Currently the button toggle uses the `corner-full` value for its broder radius which starts too look weird for a vertical group with text inside the toggles. These changes switch to using the `corner-extra-large` value instead. Fixes #31010. (cherry picked from commit 90413f9)
1 parent 0688293 commit 08f5fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/core/tokens/m3/mat/_standard-button-toggle.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $prefix: (mat, standard-button-toggle);
1414
$tokens: sass-utils.merge-all(
1515
token-definition.generate-typography-tokens($systems, label-text, label-large),
1616
(
17-
shape: map.get($systems, md-sys-shape, corner-full),
17+
shape: map.get($systems, md-sys-shape, corner-extra-large),
1818
hover-state-layer-opacity: map.get($systems, md-sys-state, hover-state-layer-opacity),
1919
focus-state-layer-opacity: map.get($systems, md-sys-state, focus-state-layer-opacity),
2020
text-color: map.get($systems, md-sys-color, on-surface),

0 commit comments

Comments
 (0)