Theming
Selecting a Theme
Set the theme in your config.toml:
[theme]
name = "my-theme" The change takes effect immediately via hot-reload.
Light / Dark Auto-Switch
Configure separate themes for light and dark system appearances:
[theme]
light = "my-light-theme"
dark = "my-dark-theme" ori-term follows your system appearance setting and switches instantly. When you toggle light/dark mode on your OS, ori-term matches automatically.
Custom Themes
Create a TOML file in your config directory:
# ~/.config/ori-term/themes/my-theme.toml
[colors]
foreground = "#d4d4d4"
background = "#0a0a0a"
cursor = "#00ff41"
selection_bg = "#264f78"
selection_fg = "#ffffff"
[colors.normal]
black = "#0a0a0a"
red = "#f44747"
green = "#00ff41"
yellow = "#e5e510"
blue = "#2472c8"
magenta = "#bc3fbc"
cyan = "#11a8cd"
white = "#e5e5e5"
[colors.bright]
black = "#666666"
red = "#f14c4c"
green = "#23d18b"
yellow = "#f5f543"
blue = "#3b8eea"
magenta = "#d670d6"
cyan = "#29b8db"
white = "#f5f5f5" Then reference it in your config:
[theme]
name = "my-theme" Color Slots
Every theme defines these color slots:
- foreground — Default text color
- background — Terminal background
- cursor — Cursor color
- selection_bg / selection_fg — Selected text colors
- normal — 8 standard ANSI colors (0-7)
- bright — 8 bright ANSI colors (8-15)
Importing Themes
ori-term can import themes from other terminal emulators:
- iTerm2 — .itermcolors XML files
- Ghostty — Ghostty theme format
- base16 — base16 YAML/JSON schemes
Bring your existing theme collection with you when you switch to ori-term.