import { parseThemeColor } from "../parse-theme-color/parse-theme-color.mjs";
function getThemeColor(color, theme) {
  const parsed = parseThemeColor({ color: color || theme.primaryColor, theme });
  return parsed.variable ? `var(${parsed.variable})` : color;
}
export {
  getThemeColor
};
