I2G is a theme conversion framework written in ruby.
It contains 4 main pieces:
I2G::Parser
- read in the source theme file, and provide an interface to get values converted into destination formatI2G::Converter
- provide the actual conversion logicI2G::Generator
- implement the parser to generate a destination theme fileI2G::Installer
- install a generated theme file
I2G comes with Iterm2 (.itermcolors) to gnome-terminal (.dconf) conversion support by default.
Expanding support for different source and destination themes is as easy as adding a new class in the proper namespace to perform the appropriate function.