import 'package:flutter/material.dart';

/// App color constants for TaniSMART
class AppColors {
  // Primary green colors
  static const Color primary = Color(
    0xFF056839,
  ); // Dark Green (primary brand color)
  static const Color secondary = Color(0xFFF9B300); // Medium Green
  static const Color tertiary = Color(0xFF78B057); // Dark Teal Green

  // UI element colors
  static const Color appBarBackground = primary;
  static const Color appBarForeground = Colors.white;
  static const Color scaffoldBackground = Color(
    0xFFF5F5F5,
  ); // Light mint background
  static const Color cardBackground = Colors.white;
  static const Color background = Color(
    0xFFF5F9F6,
  ); // Same as scaffoldBackground

  // Accent colors
  static const Color accent = Color(0xFF046419); // Slightly darker green
  static const Color lightGreen = Color(
    0xFFE8F5E9,
  ); // Very light green for backgrounds
  static const Color darkGreen = Color(
    0xFF033E1C,
  ); // Very dark green for emphasis

  // Functional colors
  static const Color error = Color(0xFFD83A3A);
  static const Color warning = Color(0xFFFF9800);
  static const Color success = Color(0xFF4CAF50);

  // Text colors
  static const Color textPrimary = Color(0xFF000000); // Black text
  static const Color textSecondary = Color(0xFF333333); // Dark gray text
  static const Color textDisabled = Color(
    0xFF666666,
  ); // Medium gray for disabled

  // Dividers and borders
  static const Color divider = Color(0xFF000000); // Black dividers

  // Gradient colors
  static const List<Color> primaryGradient = [
    Color(0xFF056839), // Dark Green
    Color(0xFF0A8754), // Medium Green
  ];

  // Gradient for cards or containers
  static const List<Color> backgroundGradient = [
    Color(0xFFF0F5EA), // Light green-white at top
    Color(0xFFE8F0DE), // Light green in middle
    Color(0xFFE5EDD9), // Slightly deeper green at bottom
  ];
}
