package dev.ui;

public class ConsoleStyle
{
    public static final String RESET = "\u001B[0m";
    public static final String BOLD = "\u001B[1m";
    public static final String RED = "\u001B[31m";
    public static final String GREEN = "\u001B[32m";
    public static final String YELLOW = "\u001B[33m";
    public static final String BLUE = "\u001B[34m";
    public static final String CYAN = "\u001B[36m";

    public static void printHeader(String title) {
        System.out.println(CYAN + "===============================================" + RESET);
        System.out.println(CYAN + BOLD + "  " + title + RESET);
        System.out.println(CYAN + "===============================================" + RESET);
    }


    public static void printSuccess(String message)
    {
        System.out.println(GREEN + "✔ " + message + RESET);
    }

    public static void printError(String message)
    {
        System.out.println(RED + "✘ " + message + RESET);
    }

    public static void printInfo(String message) {
        System.out.println(YELLOW + "ℹ " + message + RESET);
    }

    public static void printLine()
    {
        System.out.println(CYAN + "-----------------------------------------------" + RESET);
    }
}