Skip to content

Commit

Permalink
Style: 마이페이지, 내 체험 목록 페이지 다크 모드 시 버튼 색상 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
eunji-0623 committed Jul 19, 2024
1 parent 181b252 commit 52e694d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion components/MyPageInput/MyPageInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ export default function MyPageInput() {
<div className="flex items-center m:hidden">
<PrimaryButton
style={
isAllFieldsValid ? (isDarkMode ? 'bright' : 'dark') : 'disabled'
isAllFieldsValid
? isDarkMode
? 'darkGray'
: 'dark'
: 'disabled'
}
size="small"
onClick={handleSubmit(onSubmit)}
Expand Down
2 changes: 1 addition & 1 deletion pages/myactivity/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function MyActivity() {
</div>
<PrimaryButton
size="small"
style={isDarkMode ? 'bright' : 'dark'}
style={isDarkMode ? 'darkGray' : 'dark'}
onClick={handleClickAdd}
>
체험 등록하기
Expand Down

0 comments on commit 52e694d

Please sign in to comment.