Skip to content

Commit

Permalink
Add. color palette refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
jee-eun-k committed Jan 10, 2024
1 parent 24b4e73 commit 25014c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/pages/auth/signup/CheckTermsAndConditions.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { stepButtonProps, stepInstruction } from '@/store/common';
import { theme } from '@/styles';
import {
Box,
Checkbox,
Expand Down Expand Up @@ -126,7 +127,7 @@ const CheckTermsAndConditions = (props: any) => {
<Divider
variant="middle"
sx={{
backgroundColor: 'primary.dark',
backgroundColor: theme.palette.grey![300],
height: '3px',
border: 'none',
margin: '10px 0 10px 5px',
Expand Down
4 changes: 3 additions & 1 deletion src/pages/auth/signup/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import CheckTermsAndConditions from './CheckTermsAndConditions';
import SetEmail from './SetEmail';
import SetNickname from './SetNickname';
import CommonHeader from '@/components/layout/CommonHeader';
import { theme } from '@/styles';

const SignUp = () => {
const currentStepIndex = useRecoilValue(stepIndex);
Expand All @@ -36,6 +37,7 @@ const SignUp = () => {
const LinearProgressWithLabel = (
props: LinearProgressProps & { value: number },
) => {
console.log(theme.palette)
return (
<Box sx={{ display: 'flex', flexDirection: 'column' }}>
<Box sx={{ minWidth: 35, mb: '5px', mr: 1 }}>
Expand All @@ -55,7 +57,7 @@ const SignUp = () => {
<Box sx={{ m: 0.5 }}>
<LinearProgress
variant="determinate"
sx={{ width: '100%', backgroundColor: 'primary.dark' }}
sx={{ width: '100%', backgroundColor: theme.palette.grey![300] }}
{...props}
/>
</Box>
Expand Down

0 comments on commit 25014c3

Please sign in to comment.