package model;

import openfl.system.Capabilities;

class Constants {

    // Paths
    public static final PROFIL_PICTURES_PATH_512:String = "https://lepetittrot.com/lptcm/assets/profile-pictures/pp512/";

    // Colors
    public static final HERO_COLOR:Int = 0x050EB7;
    public static final ACCENT_COLOR1:Int = 0xFF9F1C;
    public static final ACCENT_COLOR2:Int = 0xFF5F0F ;
    public static final MAIN_COLOR1:Int = 0x323D42;
    public static final MAIN_COLOR2:Int = 0x69808A;
    public static final MAIN_COLOR3:Int = 0xECEFF0;
    public static final PURE_WHITE:Int = 0xFFFFFF;

    public static final ALARM:Int = 0x7C2F99;
    public static final ALERT:Int = 0xB74B4B;
    public static final WARNING:Int = 0xAFAC5E;
    public static final INFO:Int = 0x6CB583;

    public static final BUTTON_UP_COLOR:Int = 0x050EB7;
    public static final BUTTON_HOVER_COLOR:Int = 0xFF5F0F;
    public static final BUTTON_DOWN_COLOR:Int = 0x69808A;
    public static final BUTTON_INVERTED_UP_COLOR:Int = 0xECEFF0;

    public static final LIST_SEPARATOR_COLOR:Int = 0xE1E3E4;

    // Fonts
    public static final MONTSERRAT_LIGHT_300:String = "MontserratLight300";
    public static final MONTSERRAT_REGULAR_400:String = "MontserratRegular400";
    public static final MONTSERRAT_MEDIUM_500:String = "MontserratMedium500";
    public static final MONTSERRAT_BOLD_700:String = "MontserratBold700";

    // Fonts sizes
    public static final FONT_SIZE_10:Int = 10;
    public static final FONT_SIZE_12:Int = 12;
    public static final FONT_SIZE_14:Int = 14;
    public static final FONT_SIZE_16:Int = 16;
    public static final FONT_SIZE_22:Int = 22;
    public static final FONT_SIZE_26:Int = 26;
    
    // UI Proportions against stage dimmensions
    public static final MAIN_HEADER_WIDTH_RATIO:Float = 1;
    public static final MAIN_HEADER_HEIGHT_RATIO:Float = 0.1;

    // Event strings
    public static final OPEN_DRAWER:String = "openDrawer";
    public static final CLOSE_DRAWER:String = "closeDrawer";
    public static final DRAWER_IS_OPEN:Bool = false;

    // UI
    // number of rows in RidersList
    public static final RIDERS_LIST_ROWS_COUNT:Int = 8;
    public static final BUTTONS_ICON_SIZE:Int = 32;
    public static final GLOBAL_CORNER_RADIUS:Int = 5;
    public static final GLOBAL_BUTTON_ICON_OFFSET:Int = -10;
     public static final GLOBAL_PADDING:Int = 10;

    // Credit limits
    public static final CREDIT_ULTRA_LOW_LIMIT:Int = 1;
    public static final CREDIT_LOW_LIMIT:Int = 2;
    public static final CREDIT_AVERAGE_LIMIT:Int = 6;
    public static final CREDIT_UP_LIMIT:Int = 10;


}