The color of the border is determined by the theme. The colors of the primary, secondary, error, warning etc. are defined in the theme file and will be rendered based on the theme profile.
We have used 56x56 just for the purpose of demonstration and make it uniform. Any sizes can be used.
If we add different sections for each element that will be unnecessary. So, for simplicity we are keeping it in the same container.