From 9892d87f9bf1a78be8843fae285a3ab3fa1249be Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Thu, 6 Oct 2022 15:08:04 +0800 Subject: [PATCH] Revert "fix: tag text color" This reverts commit e872b4753dbc350fd1b2eaf98af4539033561e62. --- 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 1ccc0f2..e9c4493 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.colorBackground - : theme.colorText, + ? theme.colorText + : theme.colorBackground, ), ), );