import { jsx as _jsx } from "react/jsx-runtime";
import { createContext, useContext } from "react";
import { getTerminalTheme } from "../../services/theme/themeCatalog.js";
const ThemeContext = createContext(getTerminalTheme(process.env.DEEPSEEKCODE_THEME));
export function ThemeProvider(props) {
    return (_jsx(ThemeContext.Provider, { value: getTerminalTheme(props.themeName ?? process.env.DEEPSEEKCODE_THEME), children: props.children }));
}
export function useDeepSeekTerminalTheme() {
    return useContext(ThemeContext);
}
