on master help sign in
Fix Passport sigil colors for latest sigils-js
e1a6594Fang
src/components/Passport.js+2−2
@@ -30,7 +30,7 @@ const VISIBLE_ADDRESS_CHAR_COUNT = 20;
30const EMPTY_ADDRESS = times(VISIBLE_ADDRESS_CHAR_COUNT, () => '<').join('');
30const EMPTY_ADDRESS = times(VISIBLE_ADDRESS_CHAR_COUNT, () => '<').join('');
31const ADDRESS_BUFFER_CHARS = times(40, () => '<').join('');
31const ADDRESS_BUFFER_CHARS = times(40, () => '<').join('');
32
32
33−const INVERTED_COLORWAY = ['#000', '#fff', '#000'];
33+const INVERTED_COLORWAY = ['#fff', '#000'];
34
34
35const buildKeyType = permissions => {
35const buildKeyType = permissions => {
36 if (permissions.isOwner) {
36 if (permissions.isOwner) {
@@ -142,7 +142,7 @@ Passport.Mini = function MiniPassport({ point, className, inverted, ...rest }) {
142 patp={name}
142 patp={name}
143 size={64}
143 size={64}
144 margin={0}
144 margin={0}
145− colorway={inverted ? INVERTED_COLORWAY : undefined}
145+ colors={inverted ? INVERTED_COLORWAY : undefined}
146 />
146 />
147 </Grid.Item>
147 </Grid.Item>
148 <Grid.Item as={Flex} cols={[4, 13]} col justify="between">
148 <Grid.Item as={Flex} cols={[4, 13]} col justify="between">