temp address tags color fix

This commit is contained in:
julian 2023-03-27 15:34:45 -06:00
parent 88e5e80de7
commit cb73cb6eaf

View file

@ -1,6 +1,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_native_splash/cli_commands.dart'; import 'package:flutter_native_splash/cli_commands.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import 'package:stackwallet/utilities/text_styles.dart';
import 'package:stackwallet/utilities/theme/stack_colors.dart';
import 'package:stackwallet/widgets/rounded_container.dart'; import 'package:stackwallet/widgets/rounded_container.dart';
class AddressTag extends StatelessWidget { class AddressTag extends StatelessWidget {
@ -16,10 +17,12 @@ class AddressTag extends StatelessWidget {
vertical: 5, vertical: 5,
horizontal: 7, horizontal: 7,
), ),
color: Colors.black, color: Theme.of(context).extension<StackColors>()!.buttonBackPrimary,
child: Text( child: Text(
tag.capitalize(), tag.capitalize(),
style: STextStyles.w500_14(context), style: STextStyles.w500_14(context).copyWith(
color: Theme.of(context).extension<StackColors>()!.buttonTextPrimary,
),
), ),
); );
} }