fix(views): respect config values and allow custom icon sizes

Remove hard coded icon sizes and check the size value against icon_sizes config