This doesn't really require much explanation. Player-crafted potions have bottles relative to their effects instead of the minor healing potion bottle. All a modder would have to do is make the texture change according to type and make the mesh change according to potency; with the exception of potions that always use the small brownish bottle.