ColorTool: support parsing foreground and background colors in concfg parser #566

Closed
opened 2026-01-30 21:55:25 +00:00 by claunia · 0 comments
Owner

Originally created by @chawyehsu on GitHub (Feb 15, 2019).

#252 has added support for parsing concfg presets, but it just parsed the 16-colors. There is a field called screen_colors in a concfg preset which defines the foreground and background colors. for example: this one and this one.

I notice that the iTerm parser supports parsing foreground and background colors, I hope the concfg parser can also support it.

Originally created by @chawyehsu on GitHub (Feb 15, 2019). #252 has added support for parsing `concfg` presets, but it just parsed the 16-colors. There is a field called `screen_colors` in a `concfg` preset which defines the foreground and background colors. for example: [this one](https://github.com/lukesampson/concfg/blob/master/presets/solarized-dark.json#L19) and [this one](https://github.com/h404bi/base16-concfg/blob/master/presets/base16-snazzy.json#L18). I notice that the [iTerm parser](https://github.com/Microsoft/console/blob/master/tools/ColorTool/ColorTool/XmlSchemeParser.cs#L138) supports parsing foreground and background colors, I hope the concfg parser can also support it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#566