import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from "ink";
import { toneColor } from "../design/terminalTheme.js";
export function ThemedText(props) {
    const { tone, children, color, ...rest } = props;
    return (_jsx(Text, { ...rest, color: color ?? toneColor(tone), children: children }));
}
