Skip to content

Commit

Permalink
updated percent indicator background color
Browse files Browse the repository at this point in the history
  • Loading branch information
peucastro committed Feb 13, 2025
1 parent 99b9711 commit e69c35d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/uni_ui/lib/cards/library_occupation_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class FloorOccupationWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
padding: const EdgeInsets.symmetric(vertical: 4),
padding: const EdgeInsets.symmetric(vertical: 3),
child: Column(
children: [
Row(
Expand All @@ -39,7 +39,7 @@ class FloorOccupationWidget extends StatelessWidget {
LinearPercentIndicator(
lineHeight: 8.0,
percent: occupation / capacity,
backgroundColor: Theme.of(context).colorScheme.surface,
backgroundColor: const Color.fromRGBO(177, 77, 84, 0.25),
progressColor: Theme.of(context).primaryColor,
barRadius: const Radius.circular(10),
padding: EdgeInsets.zero,
Expand Down Expand Up @@ -79,7 +79,7 @@ class LibraryOccupationCard extends StatelessWidget {
style: Theme.of(context).textTheme.displayMedium,
),
circularStrokeCap: CircularStrokeCap.round,
backgroundColor: Theme.of(context).colorScheme.surface,
backgroundColor: const Color.fromRGBO(177, 77, 84, 0.25),
progressColor: Theme.of(context).primaryColor,
),
const SizedBox(width: 10),
Expand Down

0 comments on commit e69c35d

Please sign in to comment.