-- Bearded Arc (Light)
-- Hand-tuned light variant with warm off-white bg and saturated accents

local M = {}

M.palette = {
    base = '#faf4ed',
    overlay = '#f0e8df',
    muted = '#7a8598',
    text = '#2a2a2a',
    red = '#d1344f',
    yellow = '#b8890f',
    orange = '#c45a1c',
    green = '#1e9b52',
    cyan = '#1a7db5',
    purple = '#7b4fc4',
    highlight = '#5a6a7a',
}

local active_tab = {
    bg_color = M.palette.overlay,
    fg_color = M.palette.text,
}

local inactive_tab = {
    bg_color = M.palette.base,
    fg_color = M.palette.muted,
}

function M.colors()
    return {
        foreground = M.palette.text,
        background = M.palette.base,
        cursor_bg = M.palette.yellow,
        cursor_border = M.palette.yellow,
        cursor_fg = M.palette.base,
        selection_bg = '#d8d0c6',
        selection_fg = M.palette.text,

        ansi = {
            M.palette.overlay,
            M.palette.red,
            M.palette.green,
            M.palette.yellow,
            M.palette.cyan,
            M.palette.purple,
            M.palette.orange,
            M.palette.text,
        },

        brights = {
            M.palette.muted,
            M.palette.red,
            M.palette.green,
            M.palette.yellow,
            M.palette.cyan,
            M.palette.purple,
            M.palette.orange,
            M.palette.text,
        },

        tab_bar = {
            background = M.palette.base,
            active_tab = active_tab,
            inactive_tab = inactive_tab,
            inactive_tab_hover = active_tab,
            new_tab = inactive_tab,
            new_tab_hover = active_tab,
            inactive_tab_edge = M.palette.muted,
        },
    }
end

function M.window_frame()
    return {
        active_titlebar_bg = M.palette.base,
        inactive_titlebar_bg = M.palette.base,
    }
end

return M
