Web:Components:SocialButton: add support dark-theme
This commit is contained in:
parent
5559783ee9
commit
5d4f706f77
@ -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;
|
||||
|
@ -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",
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user