Remove color

This commit is contained in:
Nicola Benaglia 2025-04-12 17:43:24 +02:00
parent d7356be443
commit 28ab30dcdf
2 changed files with 9 additions and 68 deletions

View File

@ -1654,7 +1654,6 @@ function App() {
cursor: 'pointer', cursor: 'pointer',
width: '20px', width: '20px',
height: 'auto', height: 'auto',
color: 'rgba(255, 255, 255, 0.5)',
}} }}
onClick={() => { onClick={() => {
logoutFunc(); logoutFunc();
@ -1700,14 +1699,7 @@ function App() {
}, },
}} }}
> >
<SettingsIcon <SettingsIcon />
sx={{
color:
theme.palette.mode === 'dark'
? 'rgba(255, 255, 255, 0.5)'
: 'rgba(0, 0, 0, 0.3)',
}}
/>
</Tooltip> </Tooltip>
</ButtonBase> </ButtonBase>
<Spacer height="20px" /> <Spacer height="20px" />
@ -1745,14 +1737,7 @@ function App() {
}, },
}} }}
> >
<PersonSearchIcon <PersonSearchIcon />
sx={{
color:
theme.palette.mode === 'dark'
? 'rgba(255, 255, 255, 0.5)'
: 'rgba(0, 0, 0, 0.3)',
}}
/>
</Tooltip> </Tooltip>
</ButtonBase> </ButtonBase>
<Spacer height="20px" /> <Spacer height="20px" />
@ -1790,14 +1775,7 @@ function App() {
}, },
}} }}
> >
<AccountBalanceWalletIcon <AccountBalanceWalletIcon />
sx={{
color:
theme.palette.mode === 'dark'
? 'rgba(255, 255, 255, 0.5)'
: 'rgba(0, 0, 0, 0.3)',
}}
/>
</Tooltip> </Tooltip>
</ButtonBase> </ButtonBase>
@ -1942,7 +1920,7 @@ function App() {
}, },
}} }}
> >
<EngineeringIcon sx={{ color: 'var(--unread)' }} /> <EngineeringIcon />
</Tooltip> </Tooltip>
</ButtonBase> </ButtonBase>
@ -1986,7 +1964,7 @@ function App() {
}, },
}} }}
> >
<HelpIcon sx={{ color: 'var(--unread)' }} /> <HelpIcon />
</Tooltip> </Tooltip>
</ButtonBase> </ButtonBase>
)} )}
@ -2022,7 +2000,6 @@ function App() {
cursor: 'pointer', cursor: 'pointer',
width: '20px', width: '20px',
height: 'auto', height: 'auto',
color: 'rgba(255, 255, 255, 0.5)',
}} }}
onClick={() => { onClick={() => {
setExtstate('download-wallet'); setExtstate('download-wallet');
@ -2157,10 +2134,6 @@ function App() {
style={{ style={{
cursor: 'pointer', cursor: 'pointer',
height: '24px', height: '24px',
color:
theme.palette.mode === 'dark'
? 'rgba(255, 255, 255, 0.5)'
: 'rgba(0, 0, 0, 0.3)',
}} }}
onClick={returnToMain} onClick={returnToMain}
/> />
@ -2668,10 +2641,6 @@ function App() {
style={{ style={{
cursor: 'pointer', cursor: 'pointer',
height: '24px', height: '24px',
color:
theme.palette.mode === 'dark'
? 'rgba(255, 255, 255, 0.5)'
: 'rgba(0, 0, 0, 0.3)',
}} }}
onClick={() => { onClick={() => {
setRawWallet(null); setRawWallet(null);
@ -2704,10 +2673,6 @@ function App() {
style={{ style={{
cursor: 'pointer', cursor: 'pointer',
height: '24px', height: '24px',
color:
theme.palette.mode === 'dark'
? 'rgba(255, 255, 255, 0.5)'
: 'rgba(0, 0, 0, 0.3)',
}} }}
onClick={() => { onClick={() => {
setRawWallet(null); setRawWallet(null);
@ -2812,17 +2777,12 @@ function App() {
maxWidth: '700px', maxWidth: '700px',
}} }}
> >
<img <Return
style={{ style={{
cursor: 'pointer', cursor: 'pointer',
height: '24px', height: '24px',
color:
theme.palette.mode === 'dark'
? 'rgba(255, 255, 255, 0.5)'
: 'rgba(0, 0, 0, 0.3)',
}} }}
onClick={returnToMain} onClick={returnToMain}
src={Return}
/> />
</Box> </Box>
<Spacer height="10px" /> <Spacer height="10px" />
@ -2907,14 +2867,10 @@ function App() {
maxWidth: '700px', maxWidth: '700px',
}} }}
> >
<img <Return
style={{ style={{
cursor: 'pointer', cursor: 'pointer',
height: '24px', height: '24px',
color:
theme.palette.mode === 'dark'
? 'rgba(255, 255, 255, 0.5)'
: 'rgba(0, 0, 0, 0.3)',
}} }}
onClick={() => { onClick={() => {
if (creationStep === 2) { if (creationStep === 2) {
@ -2927,7 +2883,6 @@ function App() {
setWalletToBeDownloadedPasswordConfirm(''); setWalletToBeDownloadedPasswordConfirm('');
setWalletToBeDownloadedPassword(''); setWalletToBeDownloadedPassword('');
}} }}
src={Return}
/> />
</Box> </Box>

View File

@ -71,28 +71,14 @@ export const PasswordField = forwardRef<HTMLInputElement, TextFieldProps>(
data-testid="plain-text-indicator" data-testid="plain-text-indicator"
sx={{ minWidth: 0, p: 0 }} sx={{ minWidth: 0, p: 0 }}
> >
<VisibilityOffIcon <VisibilityOffIcon />
sx={{
color:
theme.palette.mode === 'dark'
? 'rgba(255, 255, 255, 0.5)'
: 'rgba(0, 0, 0, 0.3)',
}}
/>
</ButtonBase> </ButtonBase>
) : ( ) : (
<ButtonBase <ButtonBase
data-testid="password-text-indicator" data-testid="password-text-indicator"
sx={{ minWidth: 0, p: 0 }} sx={{ minWidth: 0, p: 0 }}
> >
<VisibilityIcon <VisibilityIcon />
sx={{
color:
theme.palette.mode === 'dark'
? 'rgba(255, 255, 255, 0.5)'
: 'rgba(0, 0, 0, 0.3)',
}}
/>
</ButtonBase> </ButtonBase>
)} )}
</InputAdornment> </InputAdornment>