mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-11 02:36:59 +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 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
|
||||||
|
@ -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
|
||||||
|
@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user