Support border coloring for macros