From e872b4753dbc350fd1b2eaf98af4539033561e62 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Mon, 3 Oct 2022 20:27:59 +0800 Subject: [PATCH] fix: tag text color --- lib/widgets/hex_color_tag.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/widgets/hex_color_tag.dart b/lib/widgets/hex_color_tag.dart index e9c4493..1ccc0f2 100644 --- a/lib/widgets/hex_color_tag.dart +++ b/lib/widgets/hex_color_tag.dart @@ -23,8 +23,8 @@ class HexColorTag extends StatelessWidget { name, style: TextStyle( color: c.computeLuminance() > 0.5 - ? theme.colorText - : theme.colorBackground, + ? theme.colorBackground + : theme.colorText, ), ), );