Make badge patterns variable a constant