File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
components/Onboarding/connectOrCreate Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { useOnboardWithSocial } from "./useOnboardWithSocial";
44import { EmailIcon } from "../../../assets/icons" ;
55import colors from "../../../style/colors" ;
66
7+ // eslint-disable-next-line import/no-unused-modules
78export const OnboardWithEmailButton = ( { onAuth } : { onAuth : ( ) => void } ) => {
89 const { isLoading, onboard } = useOnboardWithSocial ( "email" , onAuth ) ;
910
Original file line number Diff line number Diff line change @@ -2,15 +2,13 @@ import { IconButton } from "@chakra-ui/react";
22
33import { useOnboardWithSocial } from "./useOnboardWithSocial" ;
44import { TwitterIcon } from "../../../assets/icons" ;
5- import colors from "../../../style/colors" ;
65
76export const OnboardWithTwitterButton = ( { onAuth } : { onAuth : ( ) => void } ) => {
87 const { isLoading, onboard } = useOnboardWithSocial ( "twitter" , onAuth ) ;
98
109 return (
1110 < IconButton
1211 color = "black"
13- _hover = { { color : "white" , background : colors . gray [ 600 ] } }
1412 aria-label = "Twitter SSO"
1513 data-testid = "login-button-twitter"
1614 icon = { < TwitterIcon fill = "currentColor" /> }
Original file line number Diff line number Diff line change @@ -142,7 +142,15 @@ export const buttonTheme = defineStyleConfig({
142142 background : "white" ,
143143 borderWidth : "0" ,
144144 borderRadius : "full" ,
145+ _loading : {
146+ color : "white" ,
147+ background : colors . gray [ 600 ] ,
148+ _hover : {
149+ background : colors . gray [ 600 ] ,
150+ } ,
151+ } ,
145152 _hover : {
153+ color : "white" ,
146154 background : colors . gray [ 600 ] ,
147155 } ,
148156 } ,
You can’t perform that action at this time.
0 commit comments