Update default text styles (#8291)

This commit is contained in:
Miguel Solorio
2025-09-11 14:22:16 -07:00
committed by GitHub
parent aba2a9932c
commit 67f7dae4e3
7 changed files with 21 additions and 10 deletions

View File

@@ -154,7 +154,9 @@ export function EditorSettingsDialog({
</Box>
<Box flexDirection="column" width="55%" paddingLeft={2}>
<Text bold>Editor Preference</Text>
<Text bold color={theme.text.primary}>
Editor Preference
</Text>
<Box flexDirection="column" gap={1} marginTop={1}>
<Text color={theme.text.secondary}>
These editors are currently supported. Please note that some editors

View File

@@ -187,7 +187,9 @@ export const StatsDisplay: React.FC<StatsDisplayProps> = ({
if (title) {
return theme.ui.gradient && theme.ui.gradient.length > 0 ? (
<Gradient colors={theme.ui.gradient}>
<Text bold>{title}</Text>
<Text bold color={theme.text.primary}>
{title}
</Text>
</Gradient>
) : (
<Text bold color={theme.text.accent}>

View File

@@ -215,7 +215,9 @@ export function ThemeDialog({
{/* Right Column: Preview */}
<Box flexDirection="column" width="55%" paddingLeft={2}>
<Text bold>Preview</Text>
<Text bold color={theme.text.primary}>
Preview
</Text>
{/* Get the Theme object for the highlighted theme, fall back to default if not found */}
{(() => {
const previewTheme =

View File

@@ -112,7 +112,9 @@ export const ToolMessage: React.FC<ToolMessageProps> = ({
) : typeof resultDisplay === 'string' && !renderOutputAsMarkdown ? (
<MaxSizedBox maxHeight={availableHeight} maxWidth={childWidth}>
<Box>
<Text wrap="wrap">{resultDisplay}</Text>
<Text wrap="wrap" color={theme.text.primary}>
{resultDisplay}
</Text>
</Box>
</MaxSizedBox>
) : typeof resultDisplay === 'object' &&