message is now pretty

This commit is contained in:
Thomas G. Lopes 2025-06-17 23:29:55 +01:00
parent 614410b076
commit e8b5f94456

View file

@ -8,10 +8,10 @@
import { ImageModal } from '$lib/components/ui/image-modal'; import { ImageModal } from '$lib/components/ui/image-modal';
const style = tv({ const style = tv({
base: 'prose rounded-lg p-2', base: 'prose rounded-xl p-2',
variants: { variants: {
role: { role: {
user: 'bg-primary !text-primary-foreground self-end', user: 'bg-secondary/50 border border-secondary/70 px-3 py-2 !text-primary-foreground self-end',
assistant: 'text-foreground', assistant: 'text-foreground',
}, },
}, },