Skip to content

Open-source, local-first AI agent for real work.

862 B
Raw Blame
export { detectColorMode, detectTerminalBackground } from "./colors.js";
export type { ThemeBg, ThemeColor, ThemeInfo } from "./contracts.js";
export { getResolvedThemeColors, getThemeExportColors, isLightTheme } from "./html-theme.js";
export {
	configureThemeRuntime,
	type ThemeRuntimeConfiguration,
	type ThemeWatchEvent,
	type ThemeWatchPort,
	type ThemeWatchSubscription,
} from "./runtime-configuration.js";
export { getLanguageFromPath, highlightCode } from "./syntax-highlighting.js";
export { Theme } from "./theme.js";
export {
	getAvailableThemes,
	getAvailableThemesWithPaths,
	getThemeByName,
	installBuiltinThemeDocuments,
	setRegisteredThemes,
} from "./theme-catalog.js";
export { loadThemeFromContent } from "./theme-factory.js";
export { initTheme, onThemeChange, setTheme, setThemeInstance, stopThemeWatcher, theme } from "./theme-state.js";