Quantcast
local A, L = ...

local thin = L.C.thin
local btnConfig = rLib.CopyTable(L.C.button)

local function SkinDominos()
    if not IsAddOnLoaded("Dominos") then return end
    if not rSkinDB.resets.dominos then return end

    for i = 1, 60 do
        if _G["DominosActionButton"..i] then
            rButtonTemplate:StyleActionButton(_G["DominosActionButton"..i], btnConfig)
        end
    end

    if DominosFramexp then
        L.CreateBackdrop(DominosFramexp, nil, thin)
    end

    rSkinDB.resets.dominos = false
end

rSkin:RegisterSkin("Dominos", SkinDominos)