Environment variables

Variable Used by Default Effect
CDRM_EDITOR cdrm tui hx The editor command in the TUI's left pane. The file path is added after it. See The TUI.
CDRM_MATH_COLOR cdrm print , cdrm tui #e6e6e6 The color math images are drawn in, as six hex digits. See Math images.
CDRM_SERVER_PORT cdrm run-server 3005 The server's port. See The server.
cdrm print and the TUI also read TERM , TERM_PROGRAM , KITTY_WINDOW_ID , KONSOLE_VERSION and TMUX to decide how to show images. Your terminal sets these; you don't need to.

Colors

What How to change it
Math images CDRM_MATH_COLOR .
Headings, admonitions, links, inline code, plots and the rest of the printed text Your terminal's theme: they use its 16 standard colors.
The TUI's bars, finder and key hints Your terminal's theme.
The TUI's editor pane The editor's own theme (your Helix theme, by default).
Code blocks Not yet configurable: they use the Dracula theme.