Update the default outline color for OutlinedButton (#138768)
Fix b/311343182 This is to update the default outline for `OutlinedButton`. When the button is focused, the outline color should be primary color.
This commit is contained in:
@@ -136,6 +136,9 @@ ${tokenAvailable("$tokenGroup.outline.color") ? '''
|
||||
if (states.contains(MaterialState.disabled)) {
|
||||
return ${border("$tokenGroup.disabled.outline")};
|
||||
}
|
||||
if (states.contains(MaterialState.focused)) {
|
||||
return ${border('$tokenGroup.focus.outline')};
|
||||
}
|
||||
return ${border("$tokenGroup.outline")};
|
||||
});''' : '''
|
||||
// No default side'''}
|
||||
|
||||
Reference in New Issue
Block a user