View Single Post
09-11-16, 12:53 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
https://www.townlong-yak.com/framexm...enuBar.xml#469

It does not appear to be class-colored. This should work:

Lua Code:
  1. local r = 0.9 -- red value in the range 0-1 (inclusive)
  2. local g = 0.8 -- green value
  3. local b = 0.6 -- blue value
  4.  
  5. ArtifactWatchBar.StatusBar:SetStatusBarColor(r, g, b)
  6. ArtifactWatchBar.StatusBar:SetAnimatedTextureColors(r, g, b)

Those are the default color values, so if you just wanted the same color but half as bright, change the color values to something like 0.45, 0.4, 0.3. You can use any color picker tool to play around with colors and find something you like.

You can use Vlad's addon creator tool to turn the code into an addon.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote