File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { ArrowDown2 } from 'iconsax-react';
6
6
import React , { useCallback , useContext } from 'react' ;
7
7
import { useLocation , useNavigate } from 'react-router-dom' ;
8
8
9
- import { useSelectedAccount } from '@polkadot/extension-polkagate/src/hooks/index' ;
9
+ import { useIsBlueish , useSelectedAccount } from '@polkadot/extension-polkagate/src/hooks/index' ;
10
10
11
11
import { AccountContext , ScrollingTextBox } from '../../../components' ;
12
12
import useIsDark from '../../../hooks/useIsDark' ;
@@ -66,6 +66,7 @@ interface Props {
66
66
function AccountSelection ( { noSelection = false } : Props ) : React . ReactElement {
67
67
const theme = useTheme ( ) ;
68
68
const isDark = useIsDark ( ) ;
69
+ const isBlueish = useIsBlueish ( ) ;
69
70
const { accounts } = useContext ( AccountContext ) ;
70
71
const location = useLocation ( ) ;
71
72
const navigate = useNavigate ( ) ;
@@ -127,7 +128,12 @@ function AccountSelection ({ noSelection = false }: Props): React.ReactElement {
127
128
/>
128
129
{ ! noSelection &&
129
130
< ArrowDown2
130
- color = { isDark ? isInAccountLists ? '#05091C' : '#AA83DC' : '#8F97B8' }
131
+ color = { isDark
132
+ ? isInAccountLists
133
+ ? '#05091C'
134
+ : isBlueish ? '#596AFF' : '#AA83DC'
135
+ : '#8F97B8'
136
+ }
131
137
size = '18'
132
138
style = { { transform : isInAccountLists ? 'rotate(180deg)' : undefined , transition : 'all 250ms ease-out ' } }
133
139
variant = 'Bold'
You can’t perform that action at this time.
0 commit comments