Hi,
I notice that some oUF authors are using like this:
Code:
local colors = setmetatable({
power = setmetatable({
["MANA"] = {0.36, 0.45, 0.88},
["RAGE"] = {0.8, 0.21, 0.31},
["FUEL"] = {0, 0.55, 0.5},
["FOCUS"] = {0.71, 0.43, 0.27},
["ENERGY"] = {0.85, 0.83, 0.35},
["AMMOSLOT"] = {0.8, 0.6, 0},
["RUNIC_POWER"] = {0, 0.82, 1},
["POWER_TYPE_STEAM"] = {0.55, 0.57, 0.61},
["POWER_TYPE_PYRITE"] = {0.60, 0.09, 0.17},
["HOLY_POWER"] = {0.95, 0.93, 0.15},
["SOUL_SHARDS"] = {0.5, 0.0, 0.56},
}, {__index = oUF.colors.power}),
}, {__index = oUF.colors})
Can I do the same thing with Class Coloring?
I notice that Phanx has written an addon to avoid taint:
http://www.wowinterface.com/download...assColors.html
I'd like to know if it is necessary to use that addon to change the class colors in my oUF, or is it safe to write my own colors inside my oUF layout, as above?
I understand that, if the user has the ClassColors addon installed, it will overwrite my colors... but I just wanted to make the shaman blue darker so it's not the same color as the mana bar. Then it will be ok if user also wants to install the other mod, but if not, then I just wanted to change that one color (I know it sounds obsessive but it's a very special request from my sweetheart).
Thanks!