[Feature Request] Ability to export all colors at once in at least one format
rlabrecque opened this issue · 4 comments
I enjoyed creating my color scheme with root loops; but after doing so I realized that I have to do the work to manually recreate these in my various tools by copying one color at a time which left me with some dread. What I'd love is to be able to export to a couple different common formats for things like VSCode, or Windows Terminal.
Thanks, @rlabrecque!
An export function is indeed the thing that's top of mind for me. I'm planning to add an export button that generates the right configuration for your terminal emulator of choice.
Adding export functionality for syntax highlighting, code editors, and IDEs will be a little more tricky, since syntax highlighting schemes often don't follow the simple ANSI standard used for terminal emulators, but instead often use TextMate's theme language. Not impossible to solve, but it'll take a little more time.
I expect to add different export formats over time, starting with the most popular terminal emulators. I'll keep you posted!
I would be happy with a simple JSON list to clipboard button so I don't have to click each individual color. I'm probably never going to copy and paste just one.
I like @cdhunt's idea of having a generic JSON export. I think that can be a solid starting point while I'm working on better support for common terminals -- and syntax highlighters after that.
I just published a first version of a simple JSON export. Maybe that makes things a little easier for now. I'll continue working on this, but wanted to give everyone a heads up that this little button here is now a thing.
I've iterated on this some more and added an export section to the bottom of the page. I'm looking to grow the exportable formats over time. As of today we've got:
- JSON
- Windows Terminal
- Alacritty
- XResources (for xterm and others)
I'm going to close this issue as resolved. I know there's more work to do. Let's track that work separately, if you miss support for your favorite terminal/editor/CLI tool, don't hesitate to open a new issue and let me know that there's demand :)