mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-29 21:02:09 +02:00
style(library): use theme colors for Material collections
This commit is contained in:
@@ -453,12 +453,16 @@ extension _QueueTabCollectionItemWidgets on _QueueTabState {
|
||||
width: 56,
|
||||
height: 56,
|
||||
decoration: BoxDecoration(
|
||||
color: iconBgColor ?? colorScheme.surfaceContainerHighest,
|
||||
color: context.isMornye
|
||||
? iconBgColor ?? colorScheme.surfaceContainerHighest
|
||||
: colorScheme.secondaryContainer,
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
),
|
||||
child: Icon(
|
||||
icon ?? Icons.folder,
|
||||
color: iconColor ?? Colors.white,
|
||||
color: context.isMornye
|
||||
? iconColor ?? Colors.white
|
||||
: colorScheme.onSecondaryContainer,
|
||||
size: 28,
|
||||
),
|
||||
);
|
||||
@@ -527,12 +531,16 @@ extension _QueueTabCollectionItemWidgets on _QueueTabState {
|
||||
coverWidget ??
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
color: iconBgColor ?? colorScheme.surfaceContainerHighest,
|
||||
color: context.isMornye
|
||||
? iconBgColor ?? colorScheme.surfaceContainerHighest
|
||||
: colorScheme.secondaryContainer,
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
),
|
||||
child: Icon(
|
||||
icon ?? Icons.folder,
|
||||
color: iconColor ?? Colors.white,
|
||||
color: context.isMornye
|
||||
? iconColor ?? Colors.white
|
||||
: colorScheme.onSecondaryContainer,
|
||||
size: 40,
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user