mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
chananged Colors to use colorsmanager
This commit is contained in:
@ -36,7 +36,7 @@ class _HoverableButtonState extends State<HoverableButton> {
|
|||||||
child: Container(
|
child: Container(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 13, vertical: 8),
|
padding: const EdgeInsets.symmetric(horizontal: 13, vertical: 8),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: isHovered ? ColorsManager.warningRed : Colors.white,
|
color: isHovered ? ColorsManager.warningRed : ColorsManager.whiteColors,
|
||||||
borderRadius: BorderRadius.circular(16),
|
borderRadius: BorderRadius.circular(16),
|
||||||
boxShadow: [
|
boxShadow: [
|
||||||
if (isHovered)
|
if (isHovered)
|
||||||
@ -65,7 +65,7 @@ class _HoverableButtonState extends State<HoverableButton> {
|
|||||||
return isHovered
|
return isHovered
|
||||||
? const Icon(
|
? const Icon(
|
||||||
Icons.close,
|
Icons.close,
|
||||||
color: Colors.white,
|
color: ColorsManager.whiteColors,
|
||||||
size: 24,
|
size: 24,
|
||||||
)
|
)
|
||||||
: SvgPicture.asset(
|
: SvgPicture.asset(
|
||||||
|
Reference in New Issue
Block a user