sailfork / t3code-github / apps/ mobile/ src/ lib/ highlights.generated.ts

// Generated by apps/mobile/scripts/generate-highlights.mts from @pierre/highlights 0.2.0 (highlights.wasm sha256 cf5fc4d83e7c1ddab19d163de096f787f87efe61504909aa469434f61ef51e2e). Do not edit.

export const HIGHLIGHTS_LANGUAGE_IDS: Readonly<Record<string, number>> = {
  plain: 0,
  plaintext: 0,
  text: 0,
  txt: 0,
  "angular-html": 1,
  asm: 2,
  assembly: 2,
  s: 2,
  astro: 3,
  bash: 4,
  sh: 4,
  shell: 4,
  shellscript: 4,
  shellsession: 4,
  zsh: 4,
  bat: 5,
  batch: 5,
  batchfile: 5,
  cmd: 5,
  dos: 5,
  c: 6,
  h: 6,
  c3: 7,
  clj: 8,
  cljc: 8,
  cljs: 8,
  clojure: 8,
  edn: 8,
  cmake: 9,
  "c++": 10,
  cc: 10,
  cpp: 10,
  cxx: 10,
  hh: 10,
  hpp: 10,
  hxx: 10,
  "c#": 11,
  cs: 11,
  csharp: 11,
  css: 12,
  cu: 13,
  cuda: 13,
  cuh: 13,
  dart: 14,
  diff: 15,
  "git-commit": 15,
  "git-rebase": 15,
  patch: 15,
  containerfile: 16,
  docker: 16,
  dockerfile: 16,
  elixir: 17,
  ex: 17,
  exs: 17,
  elm: 18,
  erl: 19,
  erlang: 19,
  hrl: 19,
  f03: 20,
  f08: 20,
  f90: 20,
  f95: 20,
  fortran: 20,
  "fortran-free-form": 20,
  f: 21,
  f77: 21,
  for: 21,
  "fortran-fixed-form": 21,
  "f#": 22,
  fs: 22,
  fsharp: 22,
  fsi: 22,
  fsx: 22,
  gdresource: 23,
  "godot-resource": 23,
  tres: 23,
  tscn: 23,
  gd: 24,
  gdscript: 24,
  gdshader: 25,
  gdshaderinc: 25,
  "godot-shader": 25,
  gleam: 26,
  comp: 27,
  frag: 27,
  geom: 27,
  glsl: 27,
  vert: 27,
  go: 28,
  golang: 28,
  gql: 29,
  graphql: 29,
  gradle: 30,
  groovy: 30,
  gsh: 30,
  gvy: 30,
  gy: 30,
  haskell: 31,
  hs: 31,
  hlsl: 32,
  htm: 33,
  html: 33,
  java: 34,
  cjs: 35,
  javascript: 35,
  js: 35,
  mjs: 35,
  json: 36,
  jsonc: 36,
  json5: 37,
  jsonl: 38,
  jsx: 39,
  jl: 40,
  julia: 40,
  kotlin: 41,
  kt: 41,
  kts: 41,
  latex: 42,
  tex: 42,
  less: 43,
  cl: 44,
  el: 44,
  elisp: 44,
  "emacs-lisp": 44,
  lisp: 44,
  lsp: 44,
  scheme: 44,
  scm: 44,
  lua: 45,
  make: 46,
  makefile: 46,
  mk: 46,
  markdown: 47,
  md: 47,
  matlab: 48,
  octave: 48,
  mdx: 49,
  nim: 50,
  nix: 51,
  m: 52,
  mm: 52,
  objc: 52,
  objcpp: 52,
  "objective-c": 52,
  "objective-cpp": 52,
  objectivec: 52,
  ml: 53,
  mli: 53,
  ocaml: 53,
  delphi: 54,
  dpk: 54,
  dpr: 54,
  lpr: 54,
  "object-pascal": 54,
  objectpascal: 54,
  pas: 54,
  pascal: 54,
  pp: 54,
  perl: 55,
  pl: 55,
  pm: 55,
  php: 56,
  powershell: 57,
  ps: 57,
  ps1: 57,
  psd1: 57,
  psm1: 57,
  pwsh: 57,
  proto: 58,
  protobuf: 58,
  py: 59,
  python: 59,
  r: 60,
  rscript: 60,
  rb: 61,
  ruby: 61,
  rs: 62,
  rust: 62,
  sass: 63,
  sbt: 64,
  sc: 64,
  scala: 64,
  scss: 65,
  sol: 66,
  solidity: 66,
  sql: 67,
  svelte: 68,
  swift: 69,
  hcl: 70,
  terraform: 70,
  tf: 70,
  tfvars: 70,
  toml: 71,
  "angular-ts": 72,
  cts: 72,
  mts: 72,
  ts: 72,
  typescript: 72,
  tsrx: 73,
  tsx: 74,
  vue: 75,
  wasm: 76,
  wat: 76,
  wgsl: 77,
  svg: 78,
  xml: 78,
  xsd: 78,
  yaml: 79,
  yml: 79,
  zig: 80,
  zon: 80,
};

/** `[color, fontStyle]` by token ID. fontStyle bits: italic 1, bold 2. */
export const HIGHLIGHTS_THEME_STYLES: Readonly<
  Record<"light" | "dark", ReadonlyArray<readonly [string, number]>>
> = {
  light: [
    ["#0a0a0a", 0],
    ["#18a46c", 0],
    ["#18a46c", 0],
    ["#1ca1c7", 0],
    ["#737373", 0],
    ["#737373", 0],
    ["#d5a910", 0],
    ["#d5a910", 0],
    ["#a631be", 0],
    ["#d52c36", 0],
    ["#18a46c", 0],
    ["#0a0a0a", 0],
    ["#0a0a0a", 1],
    ["#0a0a0a", 2],
    ["#693acf", 0],
    ["#693acf", 0],
    ["#693acf", 0],
    ["#d32a61", 0],
    ["#d32a61", 0],
    ["#d32a61", 0],
    ["#d32a61", 0],
    ["#08c0ef", 0],
    ["#d5901c", 0],
    ["#d5901c", 0],
    ["#1ca1c7", 0],
    ["#08c0ef", 0],
    ["#8a8a8a", 1],
    ["#d32a61", 0],
    ["#009fff", 0],
    ["#d47628", 0],
    ["#d47628", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#d32a61", 0],
    ["#d5512f", 0],
    ["#18a46c", 0],
    ["#693acf", 0],
    ["#199f43", 0],
    ["#16a994", 0],
    ["#17a5af", 0],
    ["#16a994", 0],
    ["#d5a910", 0],
    ["#d5512f", 0],
    ["#d5512f", 0],
    ["#d5512f", 0],
    ["#0a0a0a", 0],
    ["#199f43", 0],
    ["#d5512f", 2],
    ["#a631be", 0],
    ["#a631be", 0],
    ["#a631be", 0],
    ["#d47628", 0],
    ["#636363", 0],
    ["#d5901c", 0],
    ["#a631be", 0],
    ["#737373", 0],
    ["#d32a61", 0],
    ["#009fff", 0],
    ["#d32a61", 0],
    ["#08c0ef", 0],
    ["#a631be", 0],
    ["#a631be", 0],
    ["#d47628", 0],
    ["#d5a910", 0],
    ["#0a0a0a", 0],
    ["#0a0a0a", 0],
  ],
  dark: [
    ["#fafafa", 0],
    ["#60d199", 0],
    ["#60d199", 0],
    ["#68cdf2", 0],
    ["#737373", 0],
    ["#737373", 0],
    ["#ffd452", 0],
    ["#ffd452", 0],
    ["#d568ea", 0],
    ["#ff2e3f", 0],
    ["#07c480", 0],
    ["#fafafa", 0],
    ["#fafafa", 1],
    ["#fafafa", 2],
    ["#9d6afb", 0],
    ["#9d6afb", 0],
    ["#9d6afb", 0],
    ["#ff678d", 0],
    ["#ff678d", 0],
    ["#ff678d", 0],
    ["#ff678d", 0],
    ["#08c0ef", 0],
    ["#ffab16", 0],
    ["#ffab16", 0],
    ["#68cdf2", 0],
    ["#08c0ef", 0],
    ["#636363", 1],
    ["#ff678d", 0],
    ["#009fff", 0],
    ["#ffa359", 0],
    ["#ffa359", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#636363", 0],
    ["#ff678d", 0],
    ["#ff855e", 0],
    ["#60d199", 0],
    ["#9d6afb", 0],
    ["#5ecc71", 0],
    ["#61d5c0", 0],
    ["#64d1db", 0],
    ["#61d5c0", 0],
    ["#ffd452", 0],
    ["#ff855e", 0],
    ["#ff855e", 0],
    ["#ff855e", 0],
    ["#fafafa", 0],
    ["#5ecc71", 0],
    ["#ff855e", 2],
    ["#d568ea", 0],
    ["#d568ea", 0],
    ["#d568ea", 0],
    ["#ffa359", 0],
    ["#a3a3a3", 0],
    ["#ffab16", 0],
    ["#d568ea", 0],
    ["#737373", 0],
    ["#ff678d", 0],
    ["#009fff", 0],
    ["#ff678d", 0],
    ["#08c0ef", 0],
    ["#d568ea", 0],
    ["#d568ea", 0],
    ["#ffa359", 0],
    ["#ffd452", 0],
    ["#fafafa", 0],
    ["#fafafa", 0],
  ],
};