local W, F, E, L = unpack((select(2, ...))) ---@type WindTools, Functions, ElvUI, LocaleTable
local S = W.Modules.Skins ---@type Skins

local _G = _G

function S:Blizzard_GuildBankUI()
	if not self:CheckDB("gbank", "guildBank") then
		return
	end

	self:CreateShadow(_G.GuildBankFrame)

	for i = 1, 4 do
		self:ReskinTab(_G["GuildBankFrameTab" .. i])
	end

	for i = 1, 8 do
		local tab = _G["GuildBankTab" .. i]
		if tab then
			self:CreateShadow(tab.Button)
		end
	end
end

S:AddCallbackForAddon("Blizzard_GuildBankUI")
