0.29.0
EthIdenticon (https://github.com/aragon/aragon-ui/pull/282)
- Follows and abstract the exact settings that Etherscan and Mist are using: number of pixels, color settings.
- Use a simplified
scale
prop to change its size, rather than ascale
+size
combination. The reason why the size is not expressed in pixels is because the canvas algorithm doesn’t render well in intermediate sizes. It is therefore recommended to use integers (.5
increments are working well too). - Adapts to the screen resolution.
Usage examples
Default (24x24px):
<EthIdenticon address="0x09ABDb7947D780FBa0807e401da812fcE3F165a7" />
With a size doubled (2 = 48 x 48px) and a radius in px:
<EthIdenticon
scale={2}
radius={5}
address="0x09ABDb7947D780FBa0807e401da812fcE3F165a7"
/>
Other changes
- SidePanel: the panel is now responsive (https://github.com/aragon/aragon-ui/pull/280) by @AquiGorka
- Partitionbar: the
color
is now passed to thecaption
callback as expected (https://github.com/aragon/aragon-ui/pull/278)