Skip to content

Commit

Permalink
design: dark mode 관련 색상 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
uiop5809 committed Sep 4, 2024
1 parent e397035 commit cc55c24
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
6 changes: 4 additions & 2 deletions src/app/discussion/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ const DiscussionDetail = () => {

<div className="flex flex-col gap-4">
<div className="flex flex-col gap-1">
<p className="text-title3 font-bold">{discussion.title}</p>
<p className="text-title3 font-bold text-maindark">
{discussion.title}
</p>
{discussion.content && (
<p className="text-body text-mainblack">
<p className="text-body text-maindark">
{discussion.content}
</p>
)}
Expand Down
8 changes: 4 additions & 4 deletions src/app/discussion/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const DiscussionCreatePagePage = () => {
type="text"
value={title}
onChange={handleTitleChange}
className="w-full h-10 border border-gray4 rounded-md p-2 mb-5 focus:outline-none"
className="w-full h-10 border text-maindark border-gray4 rounded-md p-2 mb-5 focus:outline-none"
/>

<div className="text-headline font-normal text-gray2 mb-2">
Expand Down Expand Up @@ -219,15 +219,15 @@ const DiscussionCreatePagePage = () => {
type="file"
accept="image/*"
onChange={(e) => handleImageChange(index, e)}
className="hidden"
className="hidden text-maindark"
/>
</label>

<input
type="text"
value={option.content}
onChange={(e) => handleOptionTextChange(index, e)}
className="w-full h-10 border border-gray-300 rounded-md p-2 mt-2 focus:outline-none"
className="w-full h-10 border text-maindark border-gray-300 rounded-md p-2 mt-2 focus:outline-none"
/>
</div>
</div>
Expand All @@ -254,7 +254,7 @@ const DiscussionCreatePagePage = () => {
<textarea
value={content}
onChange={handleContentChange}
className="w-full h-20 border border-gray4 rounded-md p-2 mb-4 focus:outline-none"
className="w-full h-20 border text-maindark border-gray4 rounded-md p-2 mb-4 focus:outline-none"
/>

<div className="flex justify-end mt-4 gap-2">
Expand Down
2 changes: 1 addition & 1 deletion src/components/auth/ActivityCount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const ActivityCount = ({ title, items }: ActivityCountProps) => {
</div>
<ul>
{items.map((item, index) => (
<li key={index} className="flex justify-between my-1">
<li key={index} className="flex justify-between my-1 text-maindark">
<span>{item.label}</span>
<span>{item.count}</span>
</li>
Expand Down
4 changes: 2 additions & 2 deletions src/components/user/UserProfileUpdate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const UserProfileUpdate = ({ onUpdate }: UserProfileUpdateProps) => {
<input
value={nickName || ''}
onChange={(e) => setNickName(e.target.value)}
className="w-full border border-gray4 bg-white p-2.5 rounded-1.25 focus:outline-none"
className="w-full border text-maindark border-gray4 bg-white p-2.5 rounded-1.25 focus:outline-none"
/>
</div>

Expand Down Expand Up @@ -216,7 +216,7 @@ const UserProfileUpdate = ({ onUpdate }: UserProfileUpdateProps) => {
<input
value={introduction || ''}
onChange={(e) => setIntroduction(e.target.value)}
className="w-full border border-gray4 bg-white p-2.5 rounded-1.25 focus:outline-none"
className="w-full border text-maindark border-gray4 bg-white p-2.5 rounded-1.25 focus:outline-none"
/>
</div>
</>
Expand Down

0 comments on commit cc55c24

Please sign in to comment.