Parse and normalize common terminal emulator color schemes
term-schemes
- Supports 10 formats
- Normalizes to common structure
- Works well with svg-term
- TypeScript support
Example
const termSchemes = ;const fs = ;const util = ;const readFile = util; { const raw = Stringawait ; const scheme = termSchemes; // => {0: [50, 50, 50], .., background: [17, 18, 19]}}
API
// Available methods;;;;;;;;;; ; /** RGB Color: [R, G, B], each item number between 0 and 255 */;
Supported formats
- Hyper
.js
- iTerm2
.itermcolors
- Konsole
.colorscheme
- Remmina
.colors
- Terminal
.terminal
- Terminator
.config
- Termite
- Tilda
.config_0
- Xfce
.theme
- XTerm
.xrdb
,Xresources
License
Copyright Mario Nebl. term-schemes is released under the MIT license.
Related
- Test fixtures sourced from mbadolato/iTerm2-Color-Schemes
Development
npx yarn install
npx yarn start