diff --git a/lib/pages/spaces_management/space_model/widgets/subspace_name_label_widget.dart b/lib/pages/spaces_management/space_model/widgets/subspace_name_label_widget.dart index fd3c90b6..a2920b89 100644 --- a/lib/pages/spaces_management/space_model/widgets/subspace_name_label_widget.dart +++ b/lib/pages/spaces_management/space_model/widgets/subspace_name_label_widget.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:syncrow_web/utils/color_manager.dart'; class SubspaceNameDisplayWidget extends StatelessWidget { final String text; @@ -12,8 +13,8 @@ class SubspaceNameDisplayWidget extends StatelessWidget { Key? key, required this.text, this.textStyle, - this.backgroundColor = Colors.white, - this.borderColor = Colors.transparent, + this.backgroundColor = ColorsManager.whiteColors, + this.borderColor = ColorsManager.transparentColor, this.padding = const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0), this.borderRadius = const BorderRadius.all(Radius.circular(10)), }) : super(key: key); @@ -33,7 +34,7 @@ class SubspaceNameDisplayWidget extends StatelessWidget { Theme.of(context) .textTheme .bodySmall - ?.copyWith(color: Colors.black), + ?.copyWith(color: ColorsManager.spaceColor), ), ); }