diff --git a/app/globals.css b/app/globals.css index b2bc4f4..9beeb2c 100644 --- a/app/globals.css +++ b/app/globals.css @@ -5,68 +5,66 @@ @layer base { :root { --background: 0 0% 100%; - --foreground: 222.2 47.4% 11.2%; + --foreground: 240 10% 3.9%; - --muted: 210 40% 96.1%; - --muted-foreground: 215.4 16.3% 46.9%; + --muted: 240 4.8% 95.9%; + --muted-foreground: 240 3.8% 46.1%; --popover: 0 0% 100%; - --popover-foreground: 222.2 47.4% 11.2%; + --popover-foreground: 240 10% 3.9%; --card: 0 0% 100%; - --card-foreground: 222.2 47.4% 11.2%; + --card-foreground: 240 10% 3.9%; - --border: 214.3 31.8% 91.4%; - --input: 214.3 31.8% 91.4%; + --border: 240 5.9% 90%; + --input: 240 5.9% 90%; - --primary: 222.2 47.4% 11.2%; - --primary-foreground: 210 40% 98%; + --primary: 240 5.9% 10%; + --primary-foreground: 0 0% 98%; - --secondary: 210 40% 96.1%; - --secondary-foreground: 222.2 47.4% 11.2%; + --secondary: 240 4.8% 95.9%; + --secondary-foreground: 240 5.9% 10%; - --accent: 210 40% 96.1%; - --accent-foreground: 222.2 47.4% 11.2%; + --accent: 240 4.8% 95.9%; + --accent-foreground: ; - --destructive: 0 100% 50%; - --destructive-foreground: 210 40% 98%; + --destructive: 0 84.2% 60.2%; + --destructive-foreground: 0 0% 98%; - --ring: 215 20.2% 65.1%; + --ring: 240 5% 64.9%; --radius: 0.5rem; } .dark { - --background: 224 71% 4%; - --foreground: 213 31% 91%; + --background: 240 10% 3.9%; + --foreground: 0 0% 98%; - --muted: 223 47% 11%; - --muted-foreground: 215.4 16.3% 56.9%; + --muted: 240 3.7% 15.9%; + --muted-foreground: 240 5% 64.9%; - --popover: 224 71% 4%; - --popover-foreground: 215 20.2% 65.1%; + --popover: 240 10% 3.9%; + --popover-foreground: 0 0% 98%; - --card: 224 71% 4%; - --card-foreground: 213 31% 91%; + --card: 240 10% 3.9%; + --card-foreground: 0 0% 98%; - --border: 216 34% 17%; - --input: 216 34% 17%; + --border: 240 3.7% 15.9%; + --input: 240 3.7% 15.9%; - --primary: 210 40% 98%; - --primary-foreground: 222.2 47.4% 1.2%; + --primary: 0 0% 98%; + --primary-foreground: 240 5.9% 10%; - --secondary: 222.2 47.4% 11.2%; - --secondary-foreground: 210 40% 98%; + --secondary: 240 3.7% 15.9%; + --secondary-foreground: 0 0% 98%; - --accent: 216 34% 17%; - --accent-foreground: 210 40% 98%; + --accent: 240 3.7% 15.9%; + --accent-foreground: ; - --destructive: 0 63% 31%; - --destructive-foreground: 210 40% 98%; + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 0 85.7% 97.3%; - --ring: 216 34% 17%; - - --radius: 0.5rem; + --ring: 240 3.7% 15.9%; } } @@ -76,10 +74,5 @@ } body { @apply bg-background text-foreground; - font-feature-settings: 'rlig' 1, 'calt' 1; } } - -pre:has(div.codeblock) { - padding: 0; -} diff --git a/components/chat-list.tsx b/components/chat-list.tsx index 2fae8fa..167506e 100644 --- a/components/chat-list.tsx +++ b/components/chat-list.tsx @@ -4,6 +4,7 @@ import { type Message } from 'ai-connector' import { ChatMessage } from '@/components/chat-message' import { EmptyScreen } from '@/components/empty-screen' +import { Separator } from '@/components/ui/separator' export interface ChatList { messages: Message[] @@ -11,15 +12,16 @@ export interface ChatList { export function ChatList({ messages }: ChatList) { return ( -
- This is an open source AI chatbot app built with{' '} +
+ Open source AI chatbot app built with{' '}
- This is an open source AI chatbot app built with{' '}
-
- You can start a conversation here or try the following examples:
-
+ This is an open source AI chatbot app built with{' '}
+
+ You can start a conversation here or try the following examples:
+ Welcome to Next.js Chatbot!
-
+ Welcome to Next.js Chatbot!
+
+