mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 18:44:31 +00:00
add border to secondary buttons based on theme
This commit is contained in:
parent
028b261dee
commit
aced68aa32
1 changed files with 27 additions and 0 deletions
|
@ -1559,6 +1559,15 @@ class StackColors extends ThemeExtension<StackColors> {
|
|||
backgroundColor: MaterialStateProperty.all<Color>(
|
||||
buttonBackSecondary,
|
||||
),
|
||||
shape: MaterialStateProperty.all(
|
||||
RoundedRectangleBorder(
|
||||
side: BorderSide(
|
||||
color: buttonBackBorder,
|
||||
width: 1,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(10000),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
ButtonStyle? getSecondaryDisabledButtonStyle(BuildContext context) =>
|
||||
|
@ -1566,6 +1575,15 @@ class StackColors extends ThemeExtension<StackColors> {
|
|||
backgroundColor: MaterialStateProperty.all<Color>(
|
||||
buttonBackSecondaryDisabled,
|
||||
),
|
||||
shape: MaterialStateProperty.all(
|
||||
RoundedRectangleBorder(
|
||||
side: BorderSide(
|
||||
color: buttonBackBorder,
|
||||
width: 1,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(10000),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
ButtonStyle? getSmallSecondaryEnabledButtonStyle(BuildContext context) =>
|
||||
|
@ -1573,6 +1591,15 @@ class StackColors extends ThemeExtension<StackColors> {
|
|||
backgroundColor: MaterialStateProperty.all<Color>(
|
||||
textFieldDefaultBG,
|
||||
),
|
||||
shape: MaterialStateProperty.all(
|
||||
RoundedRectangleBorder(
|
||||
side: BorderSide(
|
||||
color: buttonBackBorder,
|
||||
width: 1,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(10000),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
ButtonStyle? getDesktopMenuButtonStyle(BuildContext context) =>
|
||||
|
|
Loading…
Reference in a new issue