color update with small UI changes

This commit is contained in:
2025-04-09 15:37:26 +02:00
parent b3efbb3331
commit f73932cc98
6 changed files with 83 additions and 48 deletions
+8 -1
View File
@@ -78,16 +78,23 @@ class _TargetViewScreenState extends State<TargetViewScreen> {
return Colors.lime;
case 'mint':
return Colors.greenAccent;
case 'sky':
case 'orange':
return Colors.orange;
case 'violet':
return Colors.deepPurpleAccent;
case 'amber':
return Colors.amber;
case 'brown':
return Colors.brown;
case 'grey':
return Colors.grey;
default:
return Colors.blue; // fallback
}
}
Future<void> _loadJsonAndImage() async {
try {
final byteData = await rootBundle.load(targetAssetPath);