Repository Public
1'use client';2import { useSettings } from '@/lib/queries';3import { useTheme, type Theme } from '@/stores/theme';45/** Terminal palette: the user's `terminalTheme`, where 'auto' follows the app theme. */6export function useTerminalTheme(): Theme {7 const app = useTheme((s) => s.theme);8 const pref = useSettings().terminalTheme;9 return pref === 'auto' ? app : pref;10}11