Set opacity

This commit is contained in:
Nicola Benaglia 2025-04-12 17:43:30 +02:00
parent 28ab30dcdf
commit a099788fe7
3 changed files with 4 additions and 2 deletions

View File

@ -9,7 +9,7 @@ export const Download: React.FC<SVGProps> = ({
const theme = useTheme(); const theme = useTheme();
const setColor = color ? color : theme.palette.text.primary; const setColor = color ? color : theme.palette.text.primary;
const setOpacity = opacity ? opacity : 0.5; const setOpacity = opacity ? opacity : 1;
return ( return (
<svg <svg

View File

@ -5,7 +5,7 @@ export const Logout: React.FC<SVGProps> = ({ color, opacity, ...children }) => {
const theme = useTheme(); const theme = useTheme();
const setColor = color ? color : theme.palette.text.primary; const setColor = color ? color : theme.palette.text.primary;
const setOpacity = opacity ? opacity : 0.3; const setOpacity = opacity ? opacity : 1;
return ( return (
<svg <svg

View File

@ -122,6 +122,7 @@ const lightTheme = createTheme({
defaultProps: { defaultProps: {
style: { style: {
color: '#000000', color: '#000000',
opacity: 0.5,
}, },
}, },
}, },
@ -169,6 +170,7 @@ const darkTheme = createTheme({
defaultProps: { defaultProps: {
style: { style: {
color: '#ffffff', color: '#ffffff',
opacity: 0.5,
}, },
}, },
}, },