fix(contribution): 恢复静态颜色常量避免编译错误

保留原有浅色模式配色(_grayText, _darkText, _bgGray, _lightGray),
页面背景已支持深色模式切换

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-19 19:10:13 -08:00
parent bbe1754309
commit b0d1771b66
1 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,12 @@ class ContributionPage extends ConsumerWidget {
static const Color _orange = AppColors.orange;
static const Color _green = AppColors.primary;
//
static const Color _grayText = Color(0xFF6B7280);
static const Color _darkText = Color(0xFF1F2937);
static const Color _bgGray = Color(0xFFF3F4F6);
static const Color _lightGray = Color(0xFFF9FAFB);
@override
Widget build(BuildContext context, WidgetRef ref) {
final user = ref.watch(userNotifierProvider);