@@ -76,7 +76,7 @@ const StatusIcon = ({ state, className, ...otherProps }: StatusIconProps) => {
76
76
const isFailed = state === MESSAGE_STATES . FAILED ;
77
77
const iconClass = cn (
78
78
className ,
79
- "text-gray -500 dark:text-gray -400 w-4 h-4 shrink-0" ,
79
+ "text-slate -500 dark:text-slate -400 w-4 h-4 shrink-0" ,
80
80
) ;
81
81
82
82
const Icon = STATUS_ICON_MAP [ state ] ;
@@ -100,7 +100,7 @@ const getMessageTextStyles = (state: MessageState) => {
100
100
"break-words overflow-hidden" ,
101
101
isAcknowledged
102
102
? "text-slate-900 dark:text-white"
103
- : "text-slate-900 dark:text-gray -400" ,
103
+ : "text-slate-900 dark:text-slate -400" ,
104
104
isFailed && "text-red-500 dark:text-red-500" ,
105
105
) ;
106
106
} ;
@@ -110,10 +110,10 @@ const TimeDisplay = ({
110
110
className,
111
111
} : { date : Date ; className ?: string } ) => (
112
112
< div className = { cn ( "flex items-center gap-2 shrink-0" , className ) } >
113
- < span className = "text-xs text-gray -500 dark:text-gray -400 font-mono" >
113
+ < span className = "text-xs text-slate -500 dark:text-slate -400 font-mono" >
114
114
{ date . toLocaleDateString ( ) }
115
115
</ span >
116
- < span className = "text-xs text-gray -500 dark:text-gray -400 font-mono" >
116
+ < span className = "text-xs text-slate -500 dark:text-slate -400 font-mono" >
117
117
{ date . toLocaleTimeString ( undefined , {
118
118
hour : "2-digit" ,
119
119
minute : "2-digit" ,
@@ -149,7 +149,7 @@ export const Message = ({ lastMsgSameUser, message, sender }: MessageProps) => {
149
149
< div className = "flex place-items-center gap-2 mb-1" >
150
150
< Avatar text = { messageUser ?. shortName } />
151
151
< div className = "flex flex-col" >
152
- < span className = "font-medium text-gray -900 dark:text-white truncate" >
152
+ < span className = "font-medium text-slate -900 dark:text-white truncate" >
153
153
{ messageUser ?. longName }
154
154
</ span >
155
155
</ div >
0 commit comments