More UI updates

This commit is contained in:
Juan Gilsanz Polo 2022-11-04 17:04:25 +01:00
parent bbf528e369
commit 55010f8896
21 changed files with 581 additions and 560 deletions

View file

@ -69,9 +69,10 @@ class ClientsFab extends StatelessWidget {
return FloatingActionButton(
onPressed: () => openAddClient(),
backgroundColor: Theme.of(context).colorScheme.primaryContainer,
child: Icon(
Icons.add,
color: Theme.of(context).primaryColor.computeLuminance() > 0.5 ? Colors.black : Colors.white,
color: Theme.of(context).colorScheme.onPrimaryContainer,
),
);
}