Files
scriptc/docs/src/lib/shiki-theme.ts
T
Chris Tate 5aa450c6b2 docs: migrate to Geistdocs (#611)
* docs: migrate to Geistdocs

* Restore compiler files to main
2026-10-02 00:58:25 -05:00

16 lines
551 B
TypeScript

import { geistShikiTheme } from "@vercel/geistdocs/shiki-theme";
/** Shell sessions should not inherit the generic text scope's parameter color. */
export const docsShikiTheme = {
...geistShikiTheme,
name: "geist-shell",
tokenColors: [
...geistShikiTheme.tokenColors,
{ scope: "text.shell-session", settings: { foreground: "var(--shiki-color-text, inherit)" } },
{
scope: ["punctuation.separator.prompt.shell-session", "meta.output.shell-session"],
settings: { foreground: "var(--shiki-token-comment)" },
},
],
};