This commit is contained in:
2026-07-01 16:20:30 +03:00
parent 64a3f4e34e
commit e3c60c4775
35 changed files with 164 additions and 103 deletions
+4 -4
View File
@@ -456,7 +456,7 @@ class _CategoryItem extends ConsumerWidget {
final isRu = s.locale == AppLocale.ru;
final catalog = ref.watch(categoryCatalogProvider);
final fmt = ref.watch(amountFormatProvider);
final color = catalog.colorFor(category, AppColors.accent);
final color = catalog.colorFor(category, const Color(0xFF7C6DED));
final icon = catalog.iconFor(category);
final pct = total > 0 ? amount / total : 0.0;
@@ -571,7 +571,7 @@ class _SummaryBadgeRow extends ConsumerWidget {
'${(share * 100).toStringAsFixed(1)}%',
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
fontWeight: FontWeight.w700,
color: AppColors.accent,
color: const Color(0xFF7C6DED),
),
),
),
@@ -874,7 +874,7 @@ class _TimePeriodToggle extends ConsumerWidget {
child: _ToggleChip(
label: s.filterMonth,
isSelected: filter == StatsTimeFilter.month,
color: AppColors.accent,
color: const Color(0xFF7C6DED),
onTap: () => onChanged(StatsTimeFilter.month),
),
),
@@ -882,7 +882,7 @@ class _TimePeriodToggle extends ConsumerWidget {
child: _ToggleChip(
label: s.filterAllTime,
isSelected: filter == StatsTimeFilter.allTime,
color: AppColors.accent,
color: const Color(0xFF7C6DED),
onTap: () => onChanged(StatsTimeFilter.allTime),
),
),
@@ -90,11 +90,11 @@ class _ScopeChip extends StatelessWidget {
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 6),
decoration: BoxDecoration(
color: isSelected
? AppColors.accent.withOpacity(0.2)
? const Color(0xFF7C6DED).withOpacity(0.2)
: Theme.of(context).colorScheme.surface,
borderRadius: BorderRadius.circular(20),
border: isSelected
? Border.all(color: AppColors.accent, width: 1.5)
? Border.all(color: const Color(0xFF7C6DED), width: 1.5)
: isDark
? null
: Border.all(color: const Color(0xFFDDDDEE), width: 1),
@@ -105,7 +105,7 @@ class _ScopeChip extends StatelessWidget {
fontSize: 12,
fontWeight: isSelected ? FontWeight.w600 : FontWeight.normal,
color: isSelected
? AppColors.accent
? const Color(0xFF7C6DED)
: Theme.of(context).colorScheme.onSurface.withOpacity(0.6),
),
),