package model;

import openfl.system.Capabilities;

class Constants {

    // 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 = 0x5E2075;
    public static final ALERT:Int = 0xE65555;
    public static final WARNING:Int = 0xE3DF62;
    public static final INFO:Int = 0x6BE692;

    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_1:Int = Std.int(Capabilities.screenDPI * .15);
    public static final FONT_SIZE_2:Int = Std.int(Capabilities.screenDPI * .2);
    public static final FONT_SIZE_3:Int = Std.int(Capabilities.screenDPI * .25);
    public static final FONT_SIZE_4:Int = Std.int(Capabilities.screenDPI * .3);
    public static final FONT_SIZE_5:Int = Std.int(Capabilities.screenDPI * .5);
    
    // 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;

    // Strings
    public static final MENU_ITEM_0_STRING:String = "Cavalier·e·s";
    public static final MENU_ITEM_1_STRING:String = "Licences FFE";
    public static final RIDERS_LIST_CREDIT_TEXT:String = "Crédit: ";

    // UI
    // number of rows in RidersList
    public static final RIDERS_LIST_ROWS_COUNT:Int = 8;

}