Color theme improvements
This commit is contained in:
@@ -161,7 +161,7 @@ class _DashboardGridCardState extends TbContextState<DashboardGridCard, _Dashboa
|
|||||||
} else {
|
} else {
|
||||||
image = SvgPicture.asset(ThingsboardImage.dashboardPlaceholder,
|
image = SvgPicture.asset(ThingsboardImage.dashboardPlaceholder,
|
||||||
color: Theme.of(context).primaryColor,
|
color: Theme.of(context).primaryColor,
|
||||||
colorBlendMode: BlendMode.color,
|
colorBlendMode: BlendMode.overlay,
|
||||||
semanticsLabel: 'Dashboard');
|
semanticsLabel: 'Dashboard');
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -287,7 +287,7 @@ class _DeviceProfileCardState extends TbContextState<DeviceProfileCard, _DeviceP
|
|||||||
} else {
|
} else {
|
||||||
image = SvgPicture.asset(ThingsboardImage.deviceProfilePlaceholder,
|
image = SvgPicture.asset(ThingsboardImage.deviceProfilePlaceholder,
|
||||||
color: Theme.of(context).primaryColor,
|
color: Theme.of(context).primaryColor,
|
||||||
colorBlendMode: BlendMode.color,
|
colorBlendMode: BlendMode.overlay,
|
||||||
semanticsLabel: 'Device profile');
|
semanticsLabel: 'Device profile');
|
||||||
imageFit = BoxFit.cover;
|
imageFit = BoxFit.cover;
|
||||||
padding = 0;
|
padding = 0;
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ class _DeviceCardState extends TbContextState<DeviceCard, _DeviceCardState> {
|
|||||||
} else {
|
} else {
|
||||||
image = SvgPicture.asset(ThingsboardImage.deviceProfilePlaceholder,
|
image = SvgPicture.asset(ThingsboardImage.deviceProfilePlaceholder,
|
||||||
color: Theme.of(context).primaryColor,
|
color: Theme.of(context).primaryColor,
|
||||||
colorBlendMode: BlendMode.color,
|
colorBlendMode: BlendMode.overlay,
|
||||||
semanticsLabel: 'Device');
|
semanticsLabel: 'Device');
|
||||||
imageFit = BoxFit.cover;
|
imageFit = BoxFit.cover;
|
||||||
}
|
}
|
||||||
@@ -304,7 +304,7 @@ class _DeviceCardState extends TbContextState<DeviceCard, _DeviceCardState> {
|
|||||||
} else {
|
} else {
|
||||||
image = SvgPicture.asset(ThingsboardImage.deviceProfilePlaceholder,
|
image = SvgPicture.asset(ThingsboardImage.deviceProfilePlaceholder,
|
||||||
color: Theme.of(context).primaryColor,
|
color: Theme.of(context).primaryColor,
|
||||||
colorBlendMode: BlendMode.color,
|
colorBlendMode: BlendMode.overlay,
|
||||||
semanticsLabel: 'Device');
|
semanticsLabel: 'Device');
|
||||||
imageFit = BoxFit.cover;
|
imageFit = BoxFit.cover;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user