import { useActualTheme } from '../../../context/Theme'; // Dify and Moonshot variants read the existing app theme without a second provider. export function useThemeMode() { return { isDarkMode: useActualTheme() === 'dark' }; }