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(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 13, vertical: 8),
|
||||
decoration: BoxDecoration(
|
||||
color: isHovered ? ColorsManager.warningRed : Colors.white,
|
||||
color: isHovered ? ColorsManager.warningRed : ColorsManager.whiteColors,
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
boxShadow: [
|
||||
if (isHovered)
|
||||
@ -65,7 +65,7 @@ class _HoverableButtonState extends State<HoverableButton> {
|
||||
return isHovered
|
||||
? const Icon(
|
||||
Icons.close,
|
||||
color: Colors.white,
|
||||
color: ColorsManager.whiteColors,
|
||||
size: 24,
|
||||
)
|
||||
: SvgPicture.asset(
|
||||
|
Reference in New Issue
Block a user