local addonName, addon = ...

local LibStub = _G.LibStub
local HLY = LibStub("AceAddon-3.0"):NewAddon(addonName, "AceConsole-3.0", "AceEvent-3.0", "AceHook-3.0")

addon.HLY = HLY
addon.addonName = addonName
addon.version = "2.0.0"
addon.uiAccent = { 0.16, 0.90, 0.30 }  -- brand color; drives the LibHLYUI theme

-- Stable identifier prefix (NEVER recolor): used as LibSharedMedia sound names,
-- which are stored in SavedVariables and matched against Defaults.lua literals.
addon.brand = "|cff00ff00HLY|r|cffffffffqol|r"

-- Visible addon name; "HLY" follows the accent color, "qol" stays white.
do
    local a = addon.uiAccent
    local hex = string.format("%02x%02x%02x", (a[1] or 1) * 255, (a[2] or 1) * 255, (a[3] or 1) * 255)
    addon.displayName = "|cff" .. hex .. "HLY|r|cffffffffqol|r"
end

addon.LSM = LibStub("LibSharedMedia-3.0", true)
addon.media = {
    normTex = "Interface\\Buttons\\WHITE8x8",
}
addon.iconPath = "Interface\\AddOns\\HLYqol\\hlysht.tga"
addon.fontOutlineValues = {
    NONE = "None",
    OUTLINE = "Outline",
    THICKOUTLINE = "Thick Outline",
    MONOCHROME = "Monochrome",
    MONOCHROMEOUTLINE = "Monochrome Outline",
    SHADOWOUTLINE = "Shadowed Outline",
}
