mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 11:16:36 +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>(
|
backgroundColor: MaterialStateProperty.all<Color>(
|
||||||
buttonBackSecondary,
|
buttonBackSecondary,
|
||||||
),
|
),
|
||||||
|
shape: MaterialStateProperty.all(
|
||||||
|
RoundedRectangleBorder(
|
||||||
|
side: BorderSide(
|
||||||
|
color: buttonBackBorder,
|
||||||
|
width: 1,
|
||||||
|
),
|
||||||
|
borderRadius: BorderRadius.circular(10000),
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
ButtonStyle? getSecondaryDisabledButtonStyle(BuildContext context) =>
|
ButtonStyle? getSecondaryDisabledButtonStyle(BuildContext context) =>
|
||||||
|
@ -1566,6 +1575,15 @@ class StackColors extends ThemeExtension<StackColors> {
|
||||||
backgroundColor: MaterialStateProperty.all<Color>(
|
backgroundColor: MaterialStateProperty.all<Color>(
|
||||||
buttonBackSecondaryDisabled,
|
buttonBackSecondaryDisabled,
|
||||||
),
|
),
|
||||||
|
shape: MaterialStateProperty.all(
|
||||||
|
RoundedRectangleBorder(
|
||||||
|
side: BorderSide(
|
||||||
|
color: buttonBackBorder,
|
||||||
|
width: 1,
|
||||||
|
),
|
||||||
|
borderRadius: BorderRadius.circular(10000),
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
ButtonStyle? getSmallSecondaryEnabledButtonStyle(BuildContext context) =>
|
ButtonStyle? getSmallSecondaryEnabledButtonStyle(BuildContext context) =>
|
||||||
|
@ -1573,6 +1591,15 @@ class StackColors extends ThemeExtension<StackColors> {
|
||||||
backgroundColor: MaterialStateProperty.all<Color>(
|
backgroundColor: MaterialStateProperty.all<Color>(
|
||||||
textFieldDefaultBG,
|
textFieldDefaultBG,
|
||||||
),
|
),
|
||||||
|
shape: MaterialStateProperty.all(
|
||||||
|
RoundedRectangleBorder(
|
||||||
|
side: BorderSide(
|
||||||
|
color: buttonBackBorder,
|
||||||
|
width: 1,
|
||||||
|
),
|
||||||
|
borderRadius: BorderRadius.circular(10000),
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
ButtonStyle? getDesktopMenuButtonStyle(BuildContext context) =>
|
ButtonStyle? getDesktopMenuButtonStyle(BuildContext context) =>
|
||||||
|
|
Loading…
Reference in a new issue