Fix: unreadable texts in light mode (#4301)

This commit is contained in:
Valerio Di Maggio
2025-11-13 20:41:56 +01:00
committed by GitHub
parent a673e3650d
commit e225294dd4
2 changed files with 6 additions and 6 deletions

View File

@@ -31,11 +31,11 @@ export function Toast() {
customBorderChars={SplitBorder.customBorderChars}
>
<Show when={current().title}>
<text attributes={TextAttributes.BOLD} marginBottom={1}>
<text attributes={TextAttributes.BOLD} marginBottom={1} fg={theme.text}>
{current().title}
</text>
</Show>
<text>{current().message}</text>
<text fg={theme.text}>{current().message}</text>
</box>
)}
</Show>