Refactor icon to type-icon and made global in css.