3 Changing the Primary Color & Theme#
Update the primary brand color across all buttons, active tab indicators, price highlights, and header gradients.
Open lib
Expand the Flutter project’s lib folder.

Open the app folder
Expand lib/app.

Open theme
Expand lib/app/theme.

Open app_colors.dart
Open lib/app/theme/app_colors.dart.

Update the color palette
Edit the relevant constants in ColorPalette. Use Flutter’s Color(0xFFRRGGBB) format, save, and reload the app. Check button and text contrast after changing your brand colors.

Configuration details
-
Open
Source_Code/Foodfeast_user_app/lib/app/theme/app_colors.dartin your code editor. -
Locate the
ColorPaletteclass at the top of the file:class ColorPalette { // Change your primary brand hex code here: static Color primary = HexColor("#FF8C21"); // ← Change to your hex code static Color primaryLight = HexColor("#FFA043"); // ← Slightly lighter tint static Color primary1 = HexColor("#FF9900"); // ← Gradient accent ... } -
Replace
#FF8C21with your brand's primary HEX color code (e.g.,#10B981for emerald green, or#2563EBfor royal blue). - Save the file.
r in terminal) or re-launch the app. All primary action buttons (“Add to Cart”, “Proceed to Checkout”, active navigation bar icons) will reflect your new theme color instantly.
























