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

Remove hard coded icon sizes and check the size value against icon_sizes config

- [ ] rebase
- [ ] resubmit to 1.9 branch