import { E as s, s as b, H as u, t as o } from "./index-BekwHUra.js";
const f = "#ffa360", d = "#f35d69", p = "#56b6c2", k = "#ffffff", h = "#7d8799", C = "#55b4d4", B = "#80ca4b", m = "#d19a66", y = "#d562f7", e = "#21252b", t = "#8a91991a", i = "#ffffff", r = "#353a42", g = "#60a5fa66", a = "#528bff", c = "#334155", n = "#419aff", l = "#e2e8f0", x = s.theme(
  {
    "&": {
      color: c,
      backgroundColor: i
    },
    ".cm-content": {
      caretColor: a
    },
    "&.cm-focused": {
      outline: "none"
    },
    ".cm-cursor, .cm-dropCursor": { borderLeftColor: a },
    "&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection": { backgroundColor: g },
    ".cm-panels": { backgroundColor: e, color: c },
    ".cm-panels.cm-panels-top": { borderBottom: "2px solid black" },
    ".cm-panels.cm-panels-bottom": { borderTop: "2px solid black" },
    ".cm-searchMatch": {
      backgroundColor: "#72a1ff59",
      outline: "1px solid #457dff"
    },
    ".cm-searchMatch.cm-searchMatch-selected": {
      backgroundColor: "#6199ff2f"
    },
    ".cm-activeLine": { backgroundColor: "#8a91991a" },
    ".cm-selectionMatch": { backgroundColor: "#036dd636" },
    "&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket": {
      backgroundColor: "#036dd647"
    },
    ".cm-gutters": {
      backgroundColor: i,
      color: n,
      border: "none"
    },
    ".cm-activeLineGutter": {
      backgroundColor: t
    },
    ".cm-foldPlaceholder": {
      backgroundColor: "transparent",
      border: "none",
      color: "#ddd"
    },
    ".cm-tooltip": {
      border: "none",
      backgroundColor: r
    },
    ".cm-tooltip .cm-tooltip-arrow:before": {
      borderTopColor: "transparent",
      borderBottomColor: "transparent"
    },
    ".cm-tooltip .cm-tooltip-arrow:after": {
      borderTopColor: r,
      borderBottomColor: r
    },
    ".cm-tooltip-autocomplete": {
      "& > ul > li[aria-selected]": {
        backgroundColor: t,
        color: c
      }
    }
  },
  { dark: !1 }
), v = s.theme(
  {
    "&": {
      color: l,
      backgroundColor: e
    },
    ".cm-content": {
      caretColor: a
    },
    "&.cm-focused": {
      outline: "none"
    },
    ".cm-cursor, .cm-dropCursor": { borderLeftColor: a },
    "&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection": { backgroundColor: g },
    ".cm-panels": { backgroundColor: e, color: l },
    ".cm-panels.cm-panels-top": { borderBottom: "2px solid black" },
    ".cm-panels.cm-panels-bottom": { borderTop: "2px solid black" },
    ".cm-searchMatch": {
      backgroundColor: "#72a1ff59",
      outline: "1px solid #457dff"
    },
    ".cm-searchMatch.cm-searchMatch-selected": {
      backgroundColor: "#6199ff2f"
    },
    ".cm-activeLine": { backgroundColor: "#8a91991a" },
    ".cm-selectionMatch": { backgroundColor: "#036dd636" },
    "&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket": {
      backgroundColor: "#036dd647"
    },
    ".cm-gutters": {
      backgroundColor: e,
      color: n,
      border: "none"
    },
    ".cm-activeLineGutter": {
      backgroundColor: t
    },
    ".cm-foldPlaceholder": {
      backgroundColor: "transparent",
      border: "none",
      color: "#ddd"
    },
    ".cm-tooltip": {
      border: "none",
      backgroundColor: r
    },
    ".cm-tooltip .cm-tooltip-arrow:before": {
      borderTopColor: "transparent",
      borderBottomColor: "transparent"
    },
    ".cm-tooltip .cm-tooltip-arrow:after": {
      borderTopColor: r,
      borderBottomColor: r
    },
    ".cm-tooltip-autocomplete": {
      "& > ul > li[aria-selected]": {
        backgroundColor: t,
        color: l
      }
    }
  },
  { dark: !0 }
), w = u.define([
  { tag: o.keyword, color: y },
  {
    tag: [o.name, o.deleted, o.character, o.propertyName, o.macroName],
    color: d
  },
  { tag: [o.function(o.variableName), o.labelName], color: C },
  { tag: [o.color, o.constant(o.name), o.standard(o.name)], color: m },
  { tag: [o.definition(o.name), o.separator], color: c },
  {
    tag: [
      o.typeName,
      o.className,
      o.number,
      o.changed,
      o.annotation,
      o.modifier,
      o.self,
      o.namespace
    ],
    color: f
  },
  {
    tag: [
      o.operator,
      o.operatorKeyword,
      o.url,
      o.escape,
      o.regexp,
      o.link,
      o.special(o.string)
    ],
    color: p
  },
  { tag: [o.meta, o.comment], color: h },
  { tag: o.strong, fontWeight: "bold" },
  { tag: o.emphasis, fontStyle: "italic" },
  { tag: o.strikethrough, textDecoration: "line-through" },
  { tag: o.link, color: n, textDecoration: "underline" },
  { tag: o.heading, fontWeight: "bold", color: d },
  { tag: [o.atom, o.bool, o.special(o.variableName)], color: m },
  { tag: [o.string, o.inserted], color: B },
  { tag: o.invalid, color: k }
]), M = [
  x,
  v,
  b(w)
];
export {
  v as darkTheme,
  x as lightTheme,
  M as theme,
  w as themeHighlightStyle
};
