local addonName, TC = ...
TC.Theme = {
    Colors = {
        Gold = "|cFFFFD100",
        Void = "|cFF8A2BE2",
        Green = "|cFF1EFF00",
        Blue = "|cFF00CCFF",
        White = "|cFFFFFFFF",
    }
}

function TC.Theme:ApplyStyle(frame)
    if not frame.NineSlice then return end
    
    frame.NineSlice:SetCenterColor(0, 0, 0, 0.8)
    
    local color = self.Colors.Gold
    if TC.db and TC.db.profile and TC.db.profile.activeTheme == "Voidcorrupted" then
        color = self.Colors.Void
    end
    
    if frame.SetTitle then
        -- Updated to "Control Center"
        frame:SetTitle(color .. "TownCrier: Control Center|r")
    end
end