import 'dart:ui';

import 'package:flutter/material.dart';

class CustomStyle {
  static double fontSizeHeader = 19;
  static double fontSizeJumbo = 25;
  static double fontSizeTitle = 18;
  static double fontSizeSubTitle = 17;
  static double fontSizeNormal = 15;
  static double fontSizeSmall = 13;
  static double marginPerWidget = 12;
  static double marginInnerWidget = 2;
  static double boxRadius = 18;
  static double cardRadius = 10;
  static double formRadius = 6;
  static double formHeight = 44;
  static double dropdownHeight = 46;
  static int animationDuration = 600;
  /*static var color1 = Color(0xff26C89B);*/
  static var colorLineFormDropdown = Color(0xFFEEEEEE);
  static var colorLineFormTextField = Color(0xFFE0E0E0);
  static var color15 = Color(0xffEEEEEE);
  static var color1 = Color(0xff1A2189);
  static var colorGreySoft = Color(0XffF2F2F7);
  static var colorGreyDop = Color(0Xff8E8E93);
  static var color2 = Color(0xff2494EC);
  static var colorBC = Color(0xff26C89B);
  static var colorRed = Color(0xffCC4343);
  static var colorGreen = Color(0xff23BE5B);
  static var colorOrange = Color(0xffF17F1B);
  static var colorLightOrange = Color(0xffFCB544);
  static var backgroundColor = Color(0xffFFFFFF);
  static var backgroundDashboardColor = Colors.grey[100];
  static var fontColorBlack = Colors.grey[800];
  static var fontColorGrey = Colors.grey[600];
  static var formColor = Colors.grey[600];
  static var fontBold = TextStyle(fontWeight: FontWeight.bold);
  static var boxDecoration = BoxDecoration(
      boxShadow: [
        BoxShadow(
          color: Colors.grey.withOpacity(0.2),
          spreadRadius: 1.6,
          blurRadius: 4,
          offset: Offset(0, 1), // changes position of shadow
        ),
      ],
      color: Colors.white,
      borderRadius: new BorderRadius.all(
        Radius.circular(boxRadius),
      ));

  static var boxDecoration2 = BoxDecoration(
    // border: Border(
    //   left: BorderSide(
    //     color: Colors.green,
    //     width: 8.0, // Lebar garis hijau
    //   ),
    // ),
      boxShadow: [
        BoxShadow(
          color: Colors.grey.withOpacity(0.2),
          spreadRadius: 1.6,
          blurRadius: 4,
          offset: Offset(0, 1), // changes position of shadow
        ),
      ],
      color: Colors.white,
      borderRadius: new BorderRadius.only(
        topLeft: Radius.circular(5),
        bottomLeft: Radius.circular(5),
        bottomRight: Radius.circular(cardRadius),
        topRight: Radius.circular(cardRadius),
      ));
  static var textStyleSmall = TextStyle(fontSize: 12, color: fontColorBlack);
  static var textStyleMedium = TextStyle(fontSize: 13, color: fontColorBlack);
}
