Web:Components:Avatar: update dark theme

This commit is contained in:
Timofey Boyko 2021-12-22 20:18:24 +08:00
parent a3e2f13e36
commit bda5f4638b
4 changed files with 8 additions and 3 deletions

View File

@ -49,6 +49,9 @@ const AvatarWrapper = styled.div`
height: ${(props) => height: ${(props) =>
props.theme.avatar.imageContainer.svg.height} !important; props.theme.avatar.imageContainer.svg.height} !important;
margin: ${(props) => props.theme.avatar.imageContainer.svg.margin}; margin: ${(props) => props.theme.avatar.imageContainer.svg.margin};
path {
fill: ${(props) => props.theme.avatar.imageContainer.svg.fill};
}
} }
`; `;
AvatarWrapper.defaultProps = { theme: Base }; AvatarWrapper.defaultProps = { theme: Base };

View File

@ -951,6 +951,7 @@ const Base = {
width: "50%", width: "50%",
height: "100%", height: "100%",
margin: "auto", margin: "auto",
fill: white,
}, },
}, },

View File

@ -936,8 +936,8 @@ const Dark = {
}, },
imageContainer: { imageContainer: {
backgroundImage: blueMain, backgroundImage: "#606060",
background: grayMid, background: "#606060",
borderRadius: "50%", borderRadius: "50%",
height: "100%", height: "100%",
@ -946,6 +946,7 @@ const Dark = {
width: "50%", width: "50%",
height: "100%", height: "100%",
margin: "auto", margin: "auto",
fill: "#858585",
}, },
}, },

@ -1 +1 @@
Subproject commit 8177bad15d567d997a79478a65d32662a6f773b1 Subproject commit b9a3b81a255ccaa6f174e7ad2dd3bf4d4911aa8f