Class Colors lets you change class colors without breaking parts of the Blizzard UI. Class Colors erlaubt das Ändern der Klassenfarben ohne Interferenzen mit dem Blizzard UI. Cambiar los colores de clase sin romper la interfaz de usario de Blizzard. Mudar as cores de classes sem quebrar a interface do usuário da Blizzard. Изменение цветов класса не вмешиваясь в Blizzard UI.
It is supported by many popular addons, and also applies your custom colors to all parts of the Blizzard UI that are normally class-colored. If you want to colorize more parts of the Blizzard UI, check out yClassColors by yleaf.
Type “/classcolors” for options, or open the Class Colors panel in the Interface Options window.
Works in all languages. The options panel is completely translated into English, Deutsch, Español, Português, and Русский; and partially translated into Français, Italiano, 한국어, 简体中文, and 繁體中文. You can add or update translations for any language on the CurseForge project page.
Reporting a bug? Please make sure you have the latest version of the addon from this page, and then include detailed instructions I can follow to reproduce the bug myself, whether the bug still happens when all other addons are disabled, and the exact text of the accompanying error message, if any.
How to make your addon support Class Colors
Basically, any time your addon would read a value from the RAID_CLASS_COLORS table, just look for a CUSTOM_CLASS_COLORS table and read from it instead.
If your addon uses a local upvalue for RAID_CLASS_COLORS, or builds a local cache table of class colors, you should update your upvalue or cache in response to the PLAYER_LOGIN event, and register for a callback to be notified when the user changes a class color.
Please do not check for the !ClassColors addon by name — eg. with GetAddOnInfo or IsAddOnLoaded — or set !ClassColors as a dependency for your addon. Use the methods described above.