@@ -173,7 +173,7 @@ function AskAIDialog({ initialQuery, isOpen, onOpenChange, closeAskAI }: AskAIDi
173173 return (
174174 < Dialog open = { isOpen } onOpenChange = { handleOpenChange } >
175175 < DialogContent className = "animated-gradient-glow flex max-h-[90vh] min-h-fit w-full flex-col justify-between gap-0 px-0 pb-0 pt-0 sm:max-w-prose" >
176- < DialogHeader className = "flex h-[2.75rem] items-start justify-center rounded-t-md bg-background-bright pl-3" >
176+ < DialogHeader className = "flex h-11 items-start justify-center rounded-t-md bg-background-bright pl-3" >
177177 < div className = "flex items-center gap-1" >
178178 < AISparkleIcon className = "size-5" />
179179 < DialogTitle className = "text-sm font-medium text-text-bright" > Ask AI</ DialogTitle >
@@ -226,7 +226,7 @@ function ChatMessages({
226226 ] ;
227227
228228 return (
229- < div className = "flex-1 overflow-y-auto p-4 scrollbar-thin scrollbar-track-transparent scrollbar-thumb-charcoal-600 " >
229+ < div className = "flex-1 overflow-y-auto p-4 scrollbar-thin scrollbar-track-transparent scrollbar-thumb-surface-control " >
230230 { conversation . length === 0 ? (
231231 < motion . div
232232 className = "flex flex-col gap-2 pb-2"
@@ -249,7 +249,7 @@ function ChatMessages({
249249 { exampleQuestions . map ( ( question , index ) => (
250250 < motion . button
251251 key = { index }
252- className = "group flex w-fit items-center gap-2 rounded-full border border-dashed border-charcoal-600 px-4 py-2 transition-colors hover:border-solid hover:border-indigo-500"
252+ className = "group flex w-fit items-center gap-2 rounded-full border border-dashed border-border-bright px-4 py-2 transition-colors hover:border-solid hover:border-indigo-500"
253253 onClick = { ( ) => onExampleClick ( question ) }
254254 variants = { {
255255 hidden : {
@@ -468,7 +468,7 @@ function ChatInterface({ initialQuery }: { initialQuery?: string }) {
468468 error = { error }
469469 addFeedback = { addFeedback }
470470 />
471- < form onSubmit = { handleSubmit } className = "flex- shrink-0 border-t border-grid-bright p-4" >
471+ < form onSubmit = { handleSubmit } className = "shrink-0 border-t border-grid-bright p-4" >
472472 < div className = "flex gap-3" >
473473 < input
474474 type = "text"
@@ -511,7 +511,7 @@ function ChatInterface({ initialQuery }: { initialQuery?: string }) {
511511 disabled = { ! message . trim ( ) }
512512 LeadingIcon = { < ArrowUpIcon className = "size-5 text-text-bright" /> }
513513 variant = "primary/large"
514- className = "size-10 min-w-10 rounded-full group-disabled/button:border-charcoal-550 group-disabled/button:bg-charcoal-600 "
514+ className = "size-10 min-w-10 rounded-full group-disabled/button:border-border-brighter group-disabled/button:bg-surface-control "
515515 />
516516 ) }
517517 </ div >
@@ -531,11 +531,11 @@ function GradientSpinnerBackground({
531531} ) {
532532 return (
533533 < div
534- className = { `flex rounded-full bg-gradient -to-br from-indigo-500 via-purple-500 to-fuchsia-500 p-px ${ className } ` }
534+ className = { `flex rounded-full bg-linear -to-br from-indigo-500 via-purple-500 to-fuchsia-500 p-px ${ className } ` }
535535 >
536536 < div
537- className = { `flex h-full w-full items-center justify-center rounded-full bg-charcoal-600 ${
538- hoverEffect ? "transition group-hover:bg-charcoal-550 " : ""
537+ className = { `flex h-full w-full items-center justify-center rounded-full bg-surface-control ${
538+ hoverEffect ? "transition group-hover:bg-surface-control-hover " : ""
539539 } `}
540540 >
541541 { children }
0 commit comments