From 3bf2a527b9605fcfb0e3fcecbd6547dd4270520f Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 5 Apr 2018 07:03:56 -0700 Subject: [PATCH 1/2] override RAID_CLASS_COLORS to use modern legion values. mostly to fix shamans being pink which feels off in a backported ui. --- ElvUI/Core/core.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ElvUI/Core/core.lua b/ElvUI/Core/core.lua index cd068c3..ce74352 100644 --- a/ElvUI/Core/core.lua +++ b/ElvUI/Core/core.lua @@ -133,6 +133,18 @@ E.DEFAULT_FILTER = { ["RaidDebuffs"] = "Whitelist", } +RAID_CLASS_COLORS = { + ["HUNTER"] = { r = 0.67, g = 0.83, b = 0.45, colorStr = "ffabd473" }, + ["WARLOCK"] = { r = 0.53, g = 0.53, b = 0.93, colorStr = "ff8788ee" }, + ["PRIEST"] = { r = 1.0, g = 1.0, b = 1.0, colorStr = "ffffffff" }, + ["PALADIN"] = { r = 0.96, g = 0.55, b = 0.73, colorStr = "fff58cba" }, + ["MAGE"] = { r = 0.25, g = 0.78, b = 0.92, colorStr = "ff3fc7eb" }, + ["ROGUE"] = { r = 1.0, g = 0.96, b = 0.41, colorStr = "fffff569" }, + ["DRUID"] = { r = 1.0, g = 0.49, b = 0.04, colorStr = "ffff7d0a" }, + ["SHAMAN"] = { r = 0.0, g = 0.44, b = 0.87, colorStr = "ff0070de" }, + ["WARRIOR"] = { r = 0.78, g = 0.61, b = 0.43, colorStr = "ffc79c6e" }, +}; + E.noop = function() end local colorizedName From 7ad315c517a4c74ed1ee822472592a6b95053a30 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 5 Apr 2018 14:46:57 -0700 Subject: [PATCH 2/2] forgot i was only overriding locally oops --- ElvUI/Core/core.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/ElvUI/Core/core.lua b/ElvUI/Core/core.lua index ce74352..ff7bf59 100644 --- a/ElvUI/Core/core.lua +++ b/ElvUI/Core/core.lua @@ -23,7 +23,6 @@ local SendAddonMessage = SendAddonMessage local CUSTOM_CLASS_COLORS = CUSTOM_CLASS_COLORS local ERR_NOT_IN_COMBAT = ERR_NOT_IN_COMBAT local MAX_TALENT_TABS = MAX_TALENT_TABS -local RAID_CLASS_COLORS = RAID_CLASS_COLORS _, E.myclass = UnitClass("player") -- Constants _, E.myrace = UnitRace("player")