View Single Post
11-24-10, 08:32 AM   #2
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
The code you pasted is used to modify colors in our layout, without forcing those changes onto other layouts. It's basically just a "Play nice with other layouts"-proxy.

oUF also does support !ClassColors, so changing the color there will make oUF pick it up and update, as long as they aren't using the proxy method (above).

You won't get any taint modifying the colors directly. I cache them all at init, to prevent people from causing taint that way.

The way overriding color works is pretty much:
oUF layout .colors -> (!ClassColors -> oUF internal colors)
__________________
「貴方は1人じゃないよ」
  Reply With Quote