This whole switch can just be replaced with `@set-inport-style @type`