Skip to content

Themes and Colors

Will Fuqua edited this page Jun 14, 2026 · 1 revision

Themes and Colors

C# REPL highlights syntax using a theme. The default matches Visual Studio dark mode.

Built-in themes

Pass one with --theme:

  • themes/VisualStudio_Dark.json (default)
  • themes/VisualStudio_Light.json
  • themes/VisualStudio_BlueExtraContrast.json
  • themes/dracula.json
csharprepl --theme themes/VisualStudio_Light.json

Terminal palette

To use your terminal's own colors instead of a theme file:

csharprepl --useTerminalPaletteTheme

Custom themes

Create your own theme.json and point --theme at it. The bundled Dracula theme is a good starting template.

Disabling color

C# REPL respects the NO_COLOR standard. Set the NO_COLOR environment variable to turn off colors entirely.

Clone this wiki locally