changed color theme to be black and added the ability to enter the amount in the recipient’s currency

This commit is contained in:
Arseni
2026-03-02 17:41:41 +03:00
parent 17e08ff26f
commit 6bb3ab5063
41 changed files with 618 additions and 239 deletions

View File

@@ -37,8 +37,9 @@ class SideMenuColumn extends StatelessWidget {
padding: const EdgeInsets.symmetric(vertical: 8),
children: items.map((item) {
final isSelected = item == selected;
final selectedBackground = theme.colorScheme.surfaceContainerHighest;
final backgroundColor = isSelected
? theme.colorScheme.primaryContainer
? selectedBackground
: Colors.transparent;
return Padding(
@@ -54,7 +55,7 @@ class SideMenuColumn extends StatelessWidget {
unawaited(PosthogService.pageOpened(item, uiSource: 'sidebar'));
},
borderRadius: BorderRadius.circular(12),
hoverColor: theme.colorScheme.primaryContainer,
hoverColor: selectedBackground,
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 30, vertical: 12),
child: Row(

View File

@@ -41,15 +41,15 @@ class PayoutSidebar extends StatelessWidget {
final menuItems =
items ??
<PayoutDestination>[
PayoutDestination.dashboard,
PayoutDestination.recipients,
PayoutDestination.invitations,
PayoutDestination.reports,
<PayoutDestination>[
PayoutDestination.dashboard,
PayoutDestination.recipients,
PayoutDestination.invitations,
PayoutDestination.reports,
// PayoutDestination.methods,
// PayoutDestination.organizationSettings,
//TODO Add when ready
];
//TODO Add when ready
];
final theme = Theme.of(context);

View File

@@ -25,8 +25,9 @@ class UserProfileCard extends StatelessWidget {
Widget build(BuildContext context) {
final loc = AppLocalizations.of(context)!;
bool isSelected = selected == PayoutDestination.settings;
final selectedBackground = theme.colorScheme.surfaceContainerHighest;
final backgroundColor = isSelected
? theme.colorScheme.primaryContainer
? selectedBackground
: Colors.transparent;
return Material(