From 3c0af3654ac5491e79c6f9b55de5debf0e1e13c1 Mon Sep 17 00:00:00 2001 From: Miguel Solorio Date: Fri, 15 Aug 2025 15:39:54 -0700 Subject: Update semantic color tokens (#6253) Co-authored-by: jacob314 --- packages/cli/src/ui/components/SettingsDialog.tsx | 36 ++++++++++++++--------- 1 file changed, 22 insertions(+), 14 deletions(-) (limited to 'packages/cli/src/ui/components/SettingsDialog.tsx') diff --git a/packages/cli/src/ui/components/SettingsDialog.tsx b/packages/cli/src/ui/components/SettingsDialog.tsx index a09cd76a..ce50e28f 100644 --- a/packages/cli/src/ui/components/SettingsDialog.tsx +++ b/packages/cli/src/ui/components/SettingsDialog.tsx @@ -6,7 +6,7 @@ import React, { useState, useEffect } from 'react'; import { Box, Text } from 'ink'; -import { Colors } from '../colors.js'; +import { theme } from '../semantic-colors.js'; import { LoadedSettings, SettingScope, @@ -366,18 +366,18 @@ export function SettingsDialog({ return ( - + Settings - {showScrollUp && } + {showScrollUp && } {visibleItems.map((item, idx) => { const isActive = focusSection === 'settings' && @@ -405,17 +405,21 @@ export function SettingsDialog({ - + {isActive ? '●' : ''} {item.label} {scopeMessage && ( - {scopeMessage} + {scopeMessage} )} @@ -423,10 +427,10 @@ export function SettingsDialog({ {displayValue} @@ -436,12 +440,16 @@ export function SettingsDialog({ ); })} - {showScrollDown && } + {showScrollDown && } - + {focusSection === 'scope' ? '> ' : ' '}Apply To - + (Use Enter to select, Tab to change focus) {showRestartPrompt && ( - + To see changes, Gemini CLI must be restarted. Press r to exit and apply changes now. -- cgit v1.2.3