Skip to content

Commit

Permalink
feat(styling): give composer bg color (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Oct 4, 2024
1 parent 82cccf9 commit eb9bfed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/styles/tailwindcss/thread.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
/* thread composer */

.aui-composer-root {
@apply focus-within:border-aui-ring/20 flex w-full flex-wrap items-end rounded-lg border px-2.5 shadow-sm transition-colors ease-in;
@apply focus-within:border-aui-ring/20 flex w-full flex-wrap items-end rounded-lg border bg-inherit px-2.5 shadow-sm transition-colors ease-in;
}

.aui-composer-input {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const MyThreadWelcome: FC = () => {

const MyComposer: FC = () => {
return (
<ComposerPrimitive.Root className="focus-within:border-aui-ring/20 flex w-full flex-wrap items-end rounded-lg border px-2.5 shadow-sm transition-colors ease-in">
<ComposerPrimitive.Root className="focus-within:border-aui-ring/20 flex w-full flex-wrap items-end rounded-lg border bg-inherit px-2.5 shadow-sm transition-colors ease-in">
<ComposerPrimitive.Input
autoFocus
placeholder="Write a message..."
Expand Down
2 changes: 1 addition & 1 deletion packages/shadcn-registry/registry/assistant-ui/thread.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const MyThreadWelcome: FC = () => {

const MyComposer: FC = () => {
return (
<ComposerPrimitive.Root className="focus-within:border-aui-ring/20 flex w-full flex-wrap items-end rounded-lg border px-2.5 shadow-sm transition-colors ease-in">
<ComposerPrimitive.Root className="focus-within:border-aui-ring/20 flex w-full flex-wrap items-end rounded-lg border bg-inherit px-2.5 shadow-sm transition-colors ease-in">
<ComposerPrimitive.Input
autoFocus
placeholder="Write a message..."
Expand Down

0 comments on commit eb9bfed

Please sign in to comment.