mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-04 23:34:57 -04:00
theming work, revamp contact invitation
This commit is contained in:
parent
3c95c9d1a3
commit
ae841ec42a
26 changed files with 504 additions and 507 deletions
|
@ -84,8 +84,9 @@ class _DrawerMenuState extends State<DrawerMenu> {
|
|||
hoverBorder = border;
|
||||
activeBorder = border;
|
||||
} else {
|
||||
background =
|
||||
selected ? scale.activeElementBackground : scale.elementBackground;
|
||||
background = selected
|
||||
? scale.elementBackground
|
||||
: scale.elementBackground.withAlpha(128);
|
||||
hoverBackground = scale.hoverElementBackground;
|
||||
activeBackground = scale.activeElementBackground;
|
||||
border = loggedIn ? scale.border : scale.subtleBorder;
|
||||
|
@ -132,9 +133,16 @@ class _DrawerMenuState extends State<DrawerMenu> {
|
|||
callback: callback,
|
||||
footerButtonIcon: loggedIn ? Icons.edit_outlined : null,
|
||||
footerCallback: footerCallback,
|
||||
footerButtonIconColor: border,
|
||||
footerButtonIconHoverColor: hoverBackground,
|
||||
footerButtonIconFocusColor: activeBackground,
|
||||
footerButtonIconColor:
|
||||
scaleConfig.preferBorders ? scale.border : scale.borderText,
|
||||
footerButtonIconHoverColor:
|
||||
(scaleConfig.preferBorders || scaleConfig.useVisualIndicators)
|
||||
? null
|
||||
: hoverBorder,
|
||||
footerButtonIconFocusColor:
|
||||
(scaleConfig.preferBorders || scaleConfig.useVisualIndicators)
|
||||
? null
|
||||
: activeBorder,
|
||||
minHeight: 48,
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue