@@ -9,21 +9,39 @@ import { s } from "@hashbrownai/core";
99
1010export default function CopilotKitPage ( ) {
1111 const chatKit = useChatKit ( ) ;
12- const [ themeColor ] = useState ( "#6366f1 " ) ;
12+ const [ themeColor ] = useState ( "#60a5fa " ) ;
1313 useCopilotReadable ( {
1414 description : "output_schema" ,
1515 value : s . toJsonSchema ( chatKit . schema ) ,
1616 } ) ;
1717
1818 return (
1919 < main
20+ className = "relative min-h-screen w-screen bg-slate-950 text-slate-100"
2021 style = {
21- { "--copilot-kit-primary-color" : themeColor } as CopilotKitCSSProperties
22+ {
23+ "--copilot-kit-primary-color" : themeColor ,
24+ "--copilot-kit-contrast-color" : "#0b1120" ,
25+ "--copilot-kit-background-color" : "#0b1120" ,
26+ "--copilot-kit-input-background-color" : "#111827" ,
27+ "--copilot-kit-secondary-color" : "#1f2937" ,
28+ "--copilot-kit-secondary-contrast-color" : "#e2e8f0" ,
29+ "--copilot-kit-separator-color" : "#1f2937" ,
30+ "--copilot-kit-muted-color" : "#94a3b8" ,
31+ "--copilot-kit-shadow-md" : "0 12px 24px -12px rgba(0,0,0,0.6)" ,
32+ } as CopilotKitCSSProperties
2233 }
2334 >
35+ < a
36+ href = "/parser"
37+ className = "absolute right-6 top-6 z-10 rounded-full border border-slate-800 bg-slate-900/70 px-3 py-1 text-[10px] font-semibold uppercase tracking-[0.2em] text-slate-200 transition hover:border-slate-600 hover:text-white"
38+ >
39+ Parser Demo
40+ </ a >
2441 < CopilotChat
2542 disableSystemMessage = { true }
2643 RenderMessage = { CustomMessageRenderer }
44+ className = "h-screen w-screen"
2745 labels = { {
2846 title : "Popup Assistant" ,
2947 } }
0 commit comments