Open zkendall opened 5 years ago
I think it can be done by modifying
color
in https://github.com/aziz/SublimeANSI/blob/645bd39406b9c1be393d750b3911beb6951658fc/ansi.sublime-settings#L30background
and foreground
in https://github.com/aziz/SublimeANSI/blob/645bd39406b9c1be393d750b3911beb6951658fc/ansi.sublime-settings#L49-L58{
"ANSI_BG": [
{"scope": "", "code": "(?<!\\x1b\\[0;4[01234567]m)(?<!\\x1b\\[4[01234567]m)", "color": "#fffffe"},
// followings are just copied from default settings
{"scope": "_bg_black", "code": "\\x1b\\[(0{,2};)?40m", "color": "#222222"},
{"scope": "_bg_black_bright", "code": "\\x1b\\[(0{,2};)?100m", "color": "#686868"},
{"scope": "_bg_red", "code": "\\x1b\\[(0{,2};)?41m", "color": "#c71e12"},
{"scope": "_bg_red_bright", "code": "\\x1b\\[(0{,2};)?101m", "color": "#ff6f6b"},
{"scope": "_bg_green", "code": "\\x1b\\[(0{,2};)?42m", "color": "#00c120"},
{"scope": "_bg_green_bright", "code": "\\x1b\\[(0{,2};)?102m", "color": "#67f86f"},
{"scope": "_bg_yellow", "code": "\\x1b\\[(0{,2};)?43m", "color": "#c7c327"},
{"scope": "_bg_yellow_bright", "code": "\\x1b\\[(0{,2};)?103m", "color": "#fffa72"},
{"scope": "_bg_blue", "code": "\\x1b\\[(0{,2};)?44m", "color": "#0a2fc4"},
{"scope": "_bg_blue_bright", "code": "\\x1b\\[(0{,2};)?104m", "color": "#6a76fc"},
{"scope": "_bg_magenta", "code": "\\x1b\\[(0{,2};)?45m", "color": "#c839c5"},
{"scope": "_bg_magenta_bright", "code": "\\x1b\\[(0{,2};)?105m", "color": "#ff7cfd"},
{"scope": "_bg_cyan", "code": "\\x1b\\[(0{,2};)?46m", "color": "#01c5c6"},
{"scope": "_bg_cyan_bright", "code": "\\x1b\\[(0{,2};)?106m", "color": "#68fdfe"},
{"scope": "_bg_white", "code": "\\x1b\\[(0{,2};)?47m", "color": "#c7c7c7"},
{"scope": "_bg_white_bright", "code": "\\x1b\\[(0{,2};)?107m", "color": "#ffffff"},
{"scope": "_bold", "code": "\\x1b\\[(0{,2};)?1m", "color": "#010000", "font_style": "bold"}
],
"GENERAL": {
"background": "#F2F2F2",
"foreground": "#000000",
},
}
I have not been able to get a light theme to work. The issue is that the dark default foreground color is being ignored.
I have not been able to get a light theme to work. The issue is that the dark default foreground color is being ignored.
I would recommend the Terminius plugin nowadays.
Is there a light theme that would work with this?