import { getTerminalTheme, terminalThemes } from "../../services/theme/themeCatalog.js";
import { toneColor } from "../design/terminalTheme.js";
export { terminalThemes, toneColor };
export function themeColor(tone, themeName) {
    return getTerminalTheme(themeName).colors[tone];
}
export function colorSwatch(themeName) {
    const theme = getTerminalTheme(themeName);
    return Object.keys(theme.colors).map((tone) => ({
        tone,
        color: theme.colors[tone],
    }));
}
