View Single Post
12-07-19, 07:31 AM   #5
cokedrivers
A Rage Talon Dragon Guard
 
cokedrivers's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 325
Originally Posted by myrroddin View Post
At the top of the addon file, I'd give users the options of custom or default colour schemes.
Lua Code:
  1. local CUSTOM_FACTION_BAR_COLORS = CUSTOM_FACTION_BAR_COLORS or FACTION_BAR_COLORS
  2. local CUSTOM_CLASS_COLORS = CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS

Class Colors, Curseforge: https://www.curseforge.com/wow/addons/classcolors
Class Colors, Wowinterface: https://www.wowinterface.com/downloa...assColors.html

Documentation: https://github.com/phanx-wow/ClassColors/wiki

Obviously CUSTOM_FACTION_BAR_COLORS is unique to your addon but you could still provide some options.
Thanks, I have not published a addon sence the launch of BFA its mostly all for my use but thank you for the option.

Coke
  Reply With Quote