fix(views): respect icon_sizes config values when rendering icons

Remove hard-coded references to available icons sizes and use global icon_sizes config values and keys instead

Replaces #6765