mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-10 10:16:58 +00:00
Set opacity
This commit is contained in:
parent
28ab30dcdf
commit
a099788fe7
@ -9,7 +9,7 @@ export const Download: React.FC<SVGProps> = ({
|
||||
const theme = useTheme();
|
||||
|
||||
const setColor = color ? color : theme.palette.text.primary;
|
||||
const setOpacity = opacity ? opacity : 0.5;
|
||||
const setOpacity = opacity ? opacity : 1;
|
||||
|
||||
return (
|
||||
<svg
|
||||
|
@ -5,7 +5,7 @@ export const Logout: React.FC<SVGProps> = ({ color, opacity, ...children }) => {
|
||||
const theme = useTheme();
|
||||
|
||||
const setColor = color ? color : theme.palette.text.primary;
|
||||
const setOpacity = opacity ? opacity : 0.3;
|
||||
const setOpacity = opacity ? opacity : 1;
|
||||
|
||||
return (
|
||||
<svg
|
||||
|
@ -122,6 +122,7 @@ const lightTheme = createTheme({
|
||||
defaultProps: {
|
||||
style: {
|
||||
color: '#000000',
|
||||
opacity: 0.5,
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -169,6 +170,7 @@ const darkTheme = createTheme({
|
||||
defaultProps: {
|
||||
style: {
|
||||
color: '#ffffff',
|
||||
opacity: 0.5,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user