Skip to content

Commit 073731f

Browse files
clockyliamhelmer
authored andcommitted
fix(theme): improve theme color contrast for macOS Terminal.app (google-gemini#21175)
1 parent d4f61cc commit 073731f

File tree

43 files changed

+1629
-1668
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1629
-1668
lines changed

packages/cli/src/ui/components/InputPrompt.test.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2206,7 +2206,8 @@ describe('InputPrompt', () => {
22062206
// Check that all lines, including the empty one, are rendered.
22072207
// This implicitly tests that the Box wrapper provides height for the empty line.
22082208
expect(frame).toContain('hello');
2209-
expect(frame).toContain(`world${chalk.inverse(' ')}`);
2209+
expect(frame).toContain('world');
2210+
expect(frame).toContain(chalk.inverse(' '));
22102211

22112212
const outputLines = frame.trim().split('\n');
22122213
// The number of lines should be 2 for the border plus 3 for the content.

packages/cli/src/ui/components/ThemeDialog.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ describe('Hint Visibility', () => {
211211
<ThemeDialog {...baseProps} settings={settings} />,
212212
{
213213
settings,
214-
uiState: { terminalBackgroundColor: '#1E1E2E' },
214+
uiState: { terminalBackgroundColor: '#000000' },
215215
},
216216
);
217217
await waitUntilReady();

packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Initial-Rendering-should-render-settings-list-with-visual-indicators.snap.svg

Lines changed: 133 additions & 133 deletions
Loading

packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-accessibility-settings-enabled-correctly.snap.svg

Lines changed: 133 additions & 133 deletions
Loading

packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-all-boolean-settings-disabled-correctly.snap.svg

Lines changed: 133 additions & 131 deletions
Loading

packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-default-state-correctly.snap.svg

Lines changed: 133 additions & 133 deletions
Loading

packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-file-filtering-settings-configured-correctly.snap.svg

Lines changed: 133 additions & 133 deletions
Loading

packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-focused-on-scope-selector-correctly.snap.svg

Lines changed: 129 additions & 127 deletions
Loading

packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-mixed-boolean-and-number-settings-correctly.snap.svg

Lines changed: 133 additions & 132 deletions
Loading

packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-tools-and-security-settings-correctly.snap.svg

Lines changed: 133 additions & 133 deletions
Loading

0 commit comments

Comments
 (0)