-- EbonholdHub: modules/ui/SiteIcons.lua
-- Custom UI icon registry (Lucide → TGA). Regenerate: python tools/export_ui_icons.py

EbonholdHub.SiteIcons = EbonholdHub.SiteIcons or {}

local SI = EbonholdHub.SiteIcons

SI.BASE = "Interface\\AddOns\\EbonholdHub\\media\\icons\\"

SI.MAP = {
    download     = "download.tga",
    patchnotes   = "patchnotes.tga",
    catalog      = "catalog.tga",
    report       = "report.tga",
    media        = "media.tga",
    import       = "import.tga",
    copy         = "copy.tga",
    menu         = "menu.tga",
    close        = "close.tga",
    external     = "external.tga",
    ["chevron-down"] = "chevron-down.tga",
    ["sign-out"]     = "sign-out.tga",
    builds       = "builds.tga",
}

function SI.Path(name)
    local file = name and SI.MAP[name]
    if not file then return nil end
    return SI.BASE .. file
end

function SI.Exists(name)
    return name and SI.MAP[name] ~= nil
end
