Updated triangle mixin to have configurable sizes.