if AddOnSkins.Classic then return end
local AS = unpack(AddOnSkins)

function AS:Blizzard_AbilityButton()
	ZoneAbilityFrame.SpellButton:SetNormalTexture('')
	AS:SetTemplate(ZoneAbilityFrame.SpellButton)
	AS:StyleButton(ZoneAbilityFrame.SpellButton)
	AS:SkinTexture(ZoneAbilityFrame.SpellButton.Icon)
	AS:SetInside(ZoneAbilityFrame.SpellButton.Icon)
	AS:SetInside(ZoneAbilityFrame.SpellButton.Cooldown)
	ZoneAbilityFrame.SpellButton.Cooldown:SetSwipeColor(0, 0, 0, 1)
	ZoneAbilityFrame.SpellButton.Cooldown:SetDrawBling(false)
	hooksecurefunc("ZoneAbilityFrame_Update", function(self) self.SpellButton.Style:SetTexture() end)
end

function AS:Blizzard_ExtraActionButton()
	ExtraActionButton1:SetNormalTexture('')
	AS:SetTemplate(ExtraActionButton1)
	AS:StyleButton(ExtraActionButton1)
	AS:SkinTexture(ExtraActionButton1.icon)
	AS:SetInside(ExtraActionButton1.icon)
	hooksecurefunc("ExtraActionBar_Update", function() ExtraActionBarFrame.button.style:SetTexture() end)
end

AS:RegisterSkin('Blizzard_AbilityButton', AS.Blizzard_AbilityButton)
AS:RegisterSkin('Blizzard_ExtraActionButton', AS.Blizzard_ExtraActionButton)
