This repository was archived by the owner on May 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +20
-11
lines changed Expand file tree Collapse file tree 3 files changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ const Login: FC = () => {
2626 Welcome to Parseable
2727 </ Text >
2828
29-
30-
3129 { /* <Text mt="xs" className={descriptionStyle}>
3230 Add your credentials to login
3331 </Text> */ }
@@ -59,17 +57,27 @@ const Login: FC = () => {
5957
6058 { /* <ForgotPassword /> */ }
6159
62- < Divider label = " Or " labelPosition = "center" my = "md" sx = { { width :" 100%" } } />
60+ < Divider label = " Or " labelPosition = "center" my = "md" sx = { { width : ' 100%' } } />
6361
6462 < Button
65- mt = { rem ( 10 ) }
63+ mt = { rem ( 10 ) }
6664 component = "a"
6765 href = { `${ baseURL } api/v1/o/login?redirect=${ window . location . origin } ` }
6866 variant = "outline"
69- color = "indigo" >
67+ color = 'brandPrimary.0'
68+
69+ sx = { ( { colors } ) => ( {
70+ color : colors . brandPrimary [ 0 ] ,
71+ borderColor : colors . brandPrimary [ 0 ] ,
72+ '&:hover' : {
73+ borderColor : colors . brandSecondary [ 0 ] ,
74+ color : colors . brandSecondary [ 0 ] ,
75+ background : 'transparent' ,
76+ } ,
77+ } ) }
78+ >
7079 Login with OAuth
7180 </ Button >
72-
7381 </ form >
7482 </ Box >
7583 ) }
Original file line number Diff line number Diff line change 1- import loginBg from '@/assets/images/login-bg.svg' ;
1+ // import loginBg from '@/assets/images/login-bg.svg';
22import { createStyles } from '@mantine/core' ;
33
44export const useLoginStyles = createStyles ( ( theme ) => {
@@ -14,7 +14,7 @@ export const useLoginStyles = createStyles((theme) => {
1414 container : {
1515 position : 'relative' ,
1616 flex : 1 ,
17- backgroundImage : `url(${ loginBg } )` ,
17+ // backgroundImage: `url(${loginBg})`,
1818 backgroundRepeat : 'no-repeat' ,
1919 backgroundPosition : 'top center' ,
2020 display : 'flex' ,
@@ -27,7 +27,8 @@ export const useLoginStyles = createStyles((theme) => {
2727 background : colors . white ,
2828 padding : spacing . xl ,
2929 borderRadius : defaultRadius ,
30- boxShadow : shadows . sm ,
30+ boxShadow : shadows . lg ,
31+ border : `1px solid ${ colors . gray [ 2 ] } ` ,
3132 width : widths [ 96 ] ,
3233 display : 'flex' ,
3334 flexDirection : 'column' ,
@@ -39,7 +40,7 @@ export const useLoginStyles = createStyles((theme) => {
3940 } ,
4041
4142 loginBtnStyle : {
42- background : colors . brandSecondary [ 1 ] ,
43+ background : colors . brandPrimary [ 0 ] ,
4344 width : widths . full ,
4445
4546 '&:hover' : {
You can’t perform that action at this time.
0 commit comments