trufi-association/trotro-app

Changing accentColor in main.dart does not have an effect

amenk opened this issue · 4 comments

amenk commented

Hi changed

  // Run app
  runApp(
    TrufiApp(
      theme: ThemeData(
	primaryColor: const Color(0xff263238),
	accentColor: const Color(0xff27ae60),  // this line
	backgroundColor: Colors.white,
	primaryColorLight: const Color(0xffeceff1),
      ),
      localization: Localization(),
    ),
  );

Ran flutter clean && flutter run but it does not have an effect. Icons and routes are still Magenta.

amenk commented

Changing this would work - I can try to make a PR to core to pull this form the theme.
But can you give me a hint how the icons are made? (mapmarker, and the circle)
Can they be colorized automatically?

amenk commented

Found the markers ... trufi-app/assets/images/from_marker.svg and dep/trufi-app/assets/images/to_marker.svg

Closing as you have kindly fixed this already :)