Skip to content

Commit

Permalink
colors
Browse files Browse the repository at this point in the history
  • Loading branch information
shamith09 committed Nov 5, 2024
1 parent 2c7daec commit 18e4640
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 13 deletions.
25 changes: 14 additions & 11 deletions src/app/components/ReimbursementForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -514,25 +514,15 @@ export function ReimbursementForm(props: Props) {

<StyledStack direction="row" justifyContent="space-between">
<Stack spacing={1} direction="row">
{/* Submit Button */}
<Button
variant="outlined"
variant="contained"
onClick={() => {
handleReset();
props.onClose();
}}
>
Cancel
</Button>
<Button
variant="contained"
onClick={onSubmit}
type="submit"
disabled={!props.canEdit}
>
{isLoading ? <StyledCircularProgress size={20} /> : 'Submit'}
</Button>

{/* Reset Button */}
<Button
variant="contained"
Expand All @@ -542,6 +532,19 @@ export function ReimbursementForm(props: Props) {
Reset
</Button>
</Stack>
{/* Submit Button */}
<Button
variant="contained"
style={{
backgroundColor: 'rgb(255, 138, 0)',
color: 'white',
}}
onClick={onSubmit}
type="submit"
disabled={!props.canEdit}
>
{isLoading ? <StyledCircularProgress size={20} /> : 'Submit'}
</Button>
</StyledStack>
</Stack>
</form>
Expand Down
12 changes: 10 additions & 2 deletions src/app/pages/LoginPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,18 @@ export function LoginPage(props: Props) {
/>
</StyledStack>
<Stack direction="row" spacing={3}>
<Button variant="contained" onClick={onSubmit} type="submit">
<Button
variant="contained"
onClick={onSubmit}
type="submit"
style={{
backgroundColor: 'rgb(255, 138, 0)',
color: 'white',
}}
>
{loading ? <StyledCircularProgress size={20} /> : 'Log In'}
</Button>
<Button variant="text" onClick={onForgotPassword}>
<Button variant="contained" onClick={onForgotPassword}>
Forgot Password?
</Button>
</Stack>
Expand Down

0 comments on commit 18e4640

Please sign in to comment.