import { DEFAULT_DARK_THEME as t, DEFAULT_LIGHT_THEME as h } from "./constants.js";
const T = (e) => typeof e == "object" && "theme" in e && typeof e.theme == "object" ? {
  themes: e.theme
} : typeof e == "object" && "theme" in e && typeof e.theme == "string" ? {
  themes: {
    light: e.theme,
    dark: e.theme
  }
} : e === "dark" ? {
  themes: {
    light: t,
    dark: t
  }
} : {
  themes: {
    light: h,
    dark: t
  }
};
export {
  T as codeStylingToThemeOrThemes
};
