Skip to content

Commit

Permalink
im blue dabadee dabadai
Browse files Browse the repository at this point in the history
  • Loading branch information
McPizza0 committed Sep 2, 2024
1 parent abe875b commit 6565c37
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function WelcomeMessage({ message }: { message: Message }) {
</div>
</div>
<div className="bg-base-3 flex w-fit max-w-full flex-row overflow-hidden rounded-2xl rounded-tl-sm px-3 py-2">
<div className="prose dark:prose-invert prose-a:decoration-blue-9 text-base-12 w-fit min-w-min overflow-ellipsis text-pretty [overflow-wrap:anywhere]">
<div className="prose-invert prose-a:decoration-blue-9 text-base-12 w-fit min-w-min overflow-ellipsis text-pretty [overflow-wrap:anywhere]">
{message.content}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ const MessageItem = memo(
{
type: 'message',
author: true,
class: 'bg-accent-3 rounded-tr-sm'
class: 'bg-accent-9 text-accent-1 dark:text-white rounded-tr-sm'
},
{
type: 'message',
Expand All @@ -267,7 +267,8 @@ const MessageItem = memo(
{
type: 'comment',
author: true,
class: 'bg-amber-3 border-amber-5 border-r-2 rounded-l-md'
class:
'bg-amber-9 text-amber-1 border-amber-5 border-r-2 rounded-l-md'
},
{
type: 'comment',
Expand Down Expand Up @@ -451,7 +452,7 @@ const HTMLMessage = memo(
<div
data-html-email-message
dangerouslySetInnerHTML={{ __html }}
className="prose dark:prose-invert prose-a:decoration-blue-9 text-base-12 w-fit min-w-min overflow-ellipsis text-pretty [overflow-wrap:anywhere]"
className="prose-invert prose-a:decoration-blue-9 w-fit min-w-min overflow-ellipsis text-pretty [overflow-wrap:anywhere]"
/>
);
},
Expand Down
5 changes: 4 additions & 1 deletion apps/web/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,14 @@ const config = {
css: {
'blockquote p:first-of-type::before': false,
'blockquote p:first-of-type::after': false
},
prose: {
color: 'inherit'
}
}
},
colors: {
accent: colors.alias('cyan'),
accent: colors.alias('blue'),
base: colors.alias('slate'),
border: 'var(--slate6)',
input: 'hsl(var(--input))',
Expand Down

0 comments on commit 6565c37

Please sign in to comment.