Web:Components:SocialButton: add support dark-theme

This commit is contained in:
Timofey Boyko 2021-12-14 18:22:46 +08:00
parent 5559783ee9
commit 5d4f706f77
3 changed files with 9 additions and 10 deletions

View File

@ -33,7 +33,7 @@ const StyledSocialButton = styled(ButtonWrapper).attrs((props) => ({
width: ${(props) => props.theme.socialButton.width};
height: ${(props) => props.theme.socialButton.height};
text-align: ${(props) => props.theme.socialButton.textAlign};
border: ${(props) => props.theme.socialButton.border};
touch-callout: none;
-o-touch-callout: none;
-moz-touch-callout: none;

View File

@ -248,7 +248,7 @@ const Base = {
color: "rgba(0, 0, 0, 0.54)",
disableColor: "rgba(0, 0, 0, 0.4)",
border: "none",
text: {
width: "100%",
height: "16px",

View File

@ -236,19 +236,18 @@ const Dark = {
outline: "none",
width: "100%",
background: white,
background: "#333333",
disableBackgroundColor: "rgba(0, 0, 0, 0.08)",
hoverBackground: white,
activeBackground: grayMaxLight,
hoverBackground: "#292929",
activeBackground: "#292929",
boxShadow:
"0px 1px 1px rgba(0, 0, 0, 0.24),0px 0px 1px rgba(0, 0, 0, 0.12)",
hoverBoxShadow:
"0px 2px 2px rgba(0, 0, 0, 0.24),0px 0px 2px rgba(0, 0, 0, 0.12)",
boxShadow: "none",
hoverBoxShadow: "none",
color: "rgba(0, 0, 0, 0.54)",
disableColor: "rgba(0, 0, 0, 0.4)",
border: "1px solid #474747",
text: {
width: "100%",
height: "16px",
@ -260,7 +259,7 @@ const Dark = {
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
color: "#757575",
color: "#eeeeee",
},
svg: {