import { rgba } from "../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/rgba/rgba.mjs";
const light = (theme) => ({
  plain: {
    color: theme.colors.carbon[9],
    backgroundColor: rgba(theme.colors.carbon[1], 0.65)
  },
  styles: [
    // from sql editor
    {
      types: ["comment", "meta"],
      style: {
        color: theme.colors.green[8]
      }
    },
    {
      types: ["keyword", "strong"],
      style: {
        color: theme.colors.sky[8]
      }
    },
    {
      types: ["number"],
      style: {
        color: theme.colors.rosy[8]
      }
    },
    {
      types: ["string"],
      style: {
        color: theme.colors.purple[8]
      }
    },
    {
      types: ["variable"],
      style: {
        color: theme.colors.airy[9]
      }
    },
    {
      types: ["escape"],
      style: {
        color: theme.colors.ocher[8]
      }
    },
    {
      types: ["tag"],
      style: {
        color: theme.colors.aqua[8]
      }
    },
    {
      types: ["heading"],
      style: {
        color: theme.colors.blue[8]
      }
    },
    {
      types: ["quote"],
      style: {
        color: theme.colors.carbon[8]
      }
    },
    {
      types: ["list"],
      style: {
        color: theme.colors.magenta[8]
      }
    },
    {
      types: ["documentMeta"],
      style: {
        color: theme.colors.gray[8]
      }
    },
    {
      types: ["function"],
      style: {
        color: theme.colors.mauve[8]
      }
    },
    {
      types: ["type", "class-name"],
      style: {
        color: theme.colors.violet[8]
      }
    },
    // other languages
    {
      types: ["builtin", "char", "constant", "selector", "atrule"],
      style: {
        color: theme.colors.thyme[9]
      }
    },
    {
      types: ["punctuation"],
      style: {
        color: theme.colors.carbon[8]
      }
    },
    {
      types: ["attr-name"],
      style: {
        color: theme.colors.green[9]
      }
    },
    {
      types: ["deleted"],
      style: {
        color: theme.colors.violet[9]
      }
    },
    {
      types: ["operator"],
      style: {
        color: theme.colors.red[9]
      }
    },
    {
      types: ["boolean"],
      style: {
        color: theme.colors.red[9]
      }
    },
    {
      types: ["doctype"],
      style: {
        color: theme.colors.carbon[8]
      }
    },
    {
      types: ["url"],
      style: {
        color: theme.colors.carbon[8]
      }
    }
  ]
});
const getPrismTheme = (theme) => light(theme);
export {
  getPrismTheme,
  light
};
