Skip to content

Commit 9686567

Browse files
committed
fix: merge conflict 해결
2 parents 7eede6a + 67c0c13 commit 9686567

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

src/pages/playground.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,19 @@ export default function Playground() {
137137
onPromptClick={(prompt) => console.log('prompt click:', prompt)}
138138
/>
139139
</section>
140+
{/* Chat Bubble */}
141+
<section className="flex flex-col gap-4">
142+
<h2 className="typo-body-1">ChatBubble</h2>
143+
<div className="flex flex-col gap-6">
144+
<ChatBubble variant="receiver" message="대답" meta="오전 00:00" />
145+
<ChatBubble variant="sender" message="직접질문" meta="오후 00:00" />
146+
<ChatBubble
147+
variant="sender"
148+
message="메시지가 길어질 경우에는 이렇게 줄바꿈이 됩니다아아아아아아아아아아 얼마나 늘려야 줄바꿈이 될까요"
149+
meta="오후 00:00"
150+
/>
151+
</div>
152+
</section>
140153
{/* Chat Input */}
141154
<section className="flex flex-col gap-4">
142155
<h2 className="typo-body-1">ChatInput</h2>

src/shared/ui/ChatBubble/ChatBubble.variants.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,21 @@ export const chatBubbleVariants = tv({
2121
variant: {
2222
receiver: {
2323
root: ['justify-start'],
24+
<<<<<<< HEAD
2425
bubble: ['bg-[var(--color-gray-100)]'],
26+
=======
27+
bubble: ['!bg-[var(--color-gray-100)]'],
28+
>>>>>>> 67c0c13991f2933a74320aa0a1b83d97e6760eab
2529
text: ['text-[var(--color-gray-900)]'],
2630
meta: ['order-last'],
2731
},
2832
sender: {
2933
root: ['justify-end', 'flex-row-reverse'],
34+
<<<<<<< HEAD
3035
bubble: ['bg-[var(--color-brand-primary)]'],
36+
=======
37+
bubble: ['bg-[var(--color-brand-primary,var(--color-green-300))]'],
38+
>>>>>>> 67c0c13991f2933a74320aa0a1b83d97e6760eab
3139
text: ['text-[var(--color-gray-900)]'],
3240
meta: ['order-last'],
3341
},

0 commit comments

Comments
 (0)