Skip to content

Commit a26dda3

Browse files
committed
Add light/dark mode support
Signed-off-by: raj-subhankar <subhankar.rj@gmail.com>
1 parent 6fd91e3 commit a26dda3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/desktop/src/components/context_management/CreditsExhaustedNotification.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export const CreditsExhaustedNotification: React.FC<CreditsExhaustedNotification
2222
};
2323

2424
return (
25-
<div className="rounded-lg border border-yellow-500/30 bg-yellow-500/10 p-4 my-2">
25+
<div className="rounded-lg border border-yellow-600/30 dark:border-yellow-500/30 bg-yellow-500/10 dark:bg-yellow-500/10 p-4 my-2">
2626
<div className="flex items-start gap-3">
2727
<div className="text-yellow-500 text-lg mt-0.5">⚠️</div>
2828
<div className="flex-1">
29-
<div className="text-sm text-yellow-200 whitespace-pre-line">{notification.msg}</div>
29+
<div className="text-sm text-yellow-800 dark:text-yellow-200 whitespace-pre-line">{notification.msg}</div>
3030
{topUpUrl && (
3131
<button
3232
onClick={handleTopUp}

0 commit comments

Comments
 (0)