Skip to content

Commit

Permalink
Merge pull request #50 from Dakta/iTerm-OSX-compatible
Browse files Browse the repository at this point in the history
Support more color code formats
  • Loading branch information
jfcherng authored Jun 5, 2018
2 parents 6baa818 + 5163f47 commit 629d9a5
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions ansi.sublime-settings
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"ANSI_FG": [
{"scope": "black", "code": "\\x1b\\[(0;)?30m", "color": "#000000"},
{"scope": "black", "code": "\\x1b\\[(0{,2};)?30m", "color": "#000000"},
{"scope": "black_light", "code": "\\x1b\\[1;30m", "color": "#686868"},
{"scope": "red", "code": "\\x1b\\[(0;)?31m", "color": "#c71e12"},
{"scope": "red", "code": "\\x1b\\[(0{,2};)?31m", "color": "#c71e12"},
{"scope": "red_light", "code": "\\x1b\\[1;31m", "color": "#ff6f6b"},
{"scope": "green", "code": "\\x1b\\[(0;)?32m", "color": "#00c120"},
{"scope": "green", "code": "\\x1b\\[(0{,2};)?32m", "color": "#00c120"},
{"scope": "green_light", "code": "\\x1b\\[1;32m", "color": "#67f86f"},
{"scope": "yellow", "code": "\\x1b\\[(0;)?33m", "color": "#c7c327"},
{"scope": "yellow", "code": "\\x1b\\[(0{,2};)?33m", "color": "#c7c327"},
{"scope": "yellow_light", "code": "\\x1b\\[1;33m", "color": "#fffa72"},
{"scope": "blue", "code": "\\x1b\\[(0;)?34m", "color": "#0a2fc4"},
{"scope": "blue", "code": "\\x1b\\[(0{,2};)?34m", "color": "#0a2fc4"},
{"scope": "blue_light", "code": "\\x1b\\[1;34m", "color": "#6a76fc"},
{"scope": "magenta", "code": "\\x1b\\[(0;)?35m", "color": "#c839c5"},
{"scope": "magenta", "code": "\\x1b\\[(0{,2};)?35m", "color": "#c839c5"},
{"scope": "magenta_light", "code": "\\x1b\\[1;35m", "color": "#ff7cfd"},
{"scope": "cyan", "code": "\\x1b\\[(0;)?36m", "color": "#01c5c6"},
{"scope": "cyan", "code": "\\x1b\\[(0{,2};)?36m", "color": "#01c5c6"},
{"scope": "cyan_light", "code": "\\x1b\\[1;36m", "color": "#68fdfe"},
{"scope": "white", "code": "\\x1b\\[(0;)?(37)?m", "color": "#c7c7c7"},
{"scope": "white", "code": "\\x1b\\[(0{,2};)?(37)?m", "color": "#c7c7c7"},
{"scope": "white_light", "code": "\\x1b\\[1;37m", "color": "#ffffff"},
{"scope": "_bold", "code": "\\x1b\\[(0;)?1m", "color": "#ffffff", "font_style": "bold"}
{"scope": "_bold", "code": "\\x1b\\[(0{,2};)?1m", "color": "#ffffff", "font_style": "bold"}
],
"ANSI_BG": [
{"scope": "", "code": "(?<!\\x1b\\[0;4[01234567]m)(?<!\\x1b\\[4[01234567]m)", "color": "#010000"},
{"scope": "_bg_black", "code": "\\x1b\\[(0;)?40m", "color": "#222222"},
{"scope": "_bg_red", "code": "\\x1b\\[(0;)?41m", "color": "#c71e12"},
{"scope": "_bg_green", "code": "\\x1b\\[(0;)?42m", "color": "#00c120"},
{"scope": "_bg_yellow", "code": "\\x1b\\[(0;)?43m", "color": "#c7c327"},
{"scope": "_bg_blue", "code": "\\x1b\\[(0;)?44m", "color": "#0a2fc4"},
{"scope": "_bg_magenta", "code": "\\x1b\\[(0;)?45m", "color": "#c839c5"},
{"scope": "_bg_cyan", "code": "\\x1b\\[(0;)?46m", "color": "#01c5c6"},
{"scope": "_bg_white", "code": "\\x1b\\[(0;)?47m", "color": "#c7c7c7"},
{"scope": "_bold", "code": "\\x1b\\[(0;)?1m", "color": "#010000", "font_style": "bold"}
{"scope": "_bg_black", "code": "\\x1b\\[(0{,2};)?40m", "color": "#222222"},
{"scope": "_bg_red", "code": "\\x1b\\[(0{,2};)?41m", "color": "#c71e12"},
{"scope": "_bg_green", "code": "\\x1b\\[(0{,2};)?42m", "color": "#00c120"},
{"scope": "_bg_yellow", "code": "\\x1b\\[(0{,2};)?43m", "color": "#c7c327"},
{"scope": "_bg_blue", "code": "\\x1b\\[(0{,2};)?44m", "color": "#0a2fc4"},
{"scope": "_bg_magenta", "code": "\\x1b\\[(0{,2};)?45m", "color": "#c839c5"},
{"scope": "_bg_cyan", "code": "\\x1b\\[(0{,2};)?46m", "color": "#01c5c6"},
{"scope": "_bg_white", "code": "\\x1b\\[(0{,2};)?47m", "color": "#c7c7c7"},
{"scope": "_bold", "code": "\\x1b\\[(0{,2};)?1m", "color": "#010000", "font_style": "bold"}
],
"GENERAL": {
"background": "#000000",
Expand Down

0 comments on commit 629d9a5

Please sign in to comment.