import 'package:flutter/material.dart';

const colorPrimary = Color(0xFF677169);
const colorSecondary = Color(0xffF0EAE2);
const colorBackground = Color(0xFFFFFFFF);
const colorPrimaryText = Color(0xFF000000);
const colorSecondaryText = Color(0xFF000000);
const colorOnPrimaryTextColor = Color(0xFFFFFFFF);
const colorPrimarySystem = Color(0xFF000000);
const colorSecondarySystem = Color.fromARGB(237, 227, 216, 1);
const colorTertiary = Color(0xFF000000);
const colorTertiaryText = Color(0xFF000000);
const colorTertiarySystem = Color(0xFF000000);
const colorShadow = Color(0xFF000000);
const colorDivider = Color(0xFFE0E0E0);
const disabledButtonColor = Color(0xFFF0F0F0);
const colorError = Color(0xFFEB0026);

const colorBlack = MaterialColor(0xFF000000, {
  75: Color(0xB3000000),
  65: Color(0xA6000000),
});

const int _earthColor = 0xFF677169;
const earthColor = MaterialColor(_earthColor, <int, Color>{
  100: Color(_earthColor),
  80: Color.fromRGBO(128, 139, 130, 1.0),
  60: Color.fromRGBO(160, 171, 163, 1.0),
  40: Color.fromRGBO(192, 200, 194, 1.0),
  20: Color.fromRGBO(227, 230, 227, 1.0),
  10: Color.fromRGBO(238, 239, 238, 1.0),
});

const int _sandColor = 0xFFAA8D65;
const sandColor = MaterialColor(_sandColor, <int, Color>{
  100: Color(_sandColor),
  80: Color.fromRGBO(190, 161, 121, 1.0),
  60: Color.fromRGBO(215, 201, 185, 1.0),
  40: Color.fromRGBO(237, 227, 216, 1.0),
  20: Color.fromRGBO(240, 234, 226, 1.0),
  10: Color.fromRGBO(249, 246, 242, 1.0),
});

extension CustomColors on ColorScheme {
  Color get secondaryText => const Color(0xFF888888); // medium gray
  Color get disabledText => const Color(0xFFCCCCCC); // light gray
}