changed subspace label

This commit is contained in:
hannathkadher
2025-01-23 10:18:20 +04:00
parent 65d00c923a
commit 24f7ab6af8

View File

@ -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),
),
);
}