Implemented default terminal colors in CSS

This commit is contained in:
paris
2014-03-24 17:24:12 +00:00
parent 06403fd6c8
commit 7c6d4d4e3c
2 changed files with 1027 additions and 25 deletions
+1027
View File
File diff suppressed because it is too large Load Diff
-25
View File
@@ -305,27 +305,6 @@ Terminal.tangoColors = [
'#eeeeec'
];
Terminal.xtermColors = [
// dark:
'#000000', // black
'#cd0000', // red3
'#00cd00', // green3
'#cdcd00', // yellow3
'#0000ee', // blue2
'#cd00cd', // magenta3
'#00cdcd', // cyan3
'#e5e5e5', // gray90
// bright:
'#7f7f7f', // gray50
'#ff0000', // red
'#00ff00', // green
'#ffff00', // yellow
'#5c5cff', // rgb:5c/5c/ff
'#ff00ff', // magenta
'#00ffff', // cyan
'#ffffff' // white
];
// Colors 0-15 + 16-255
// Much thanks to TooTallNate for writing this.
Terminal.colors = (function() {
@@ -358,10 +337,6 @@ Terminal.colors = (function() {
return colors;
})();
// Default BG/FG
Terminal.colors[256] = '#000000';
Terminal.colors[257] = '#f0f0f0';
Terminal._colors = Terminal.colors.slice();
Terminal.vcolors = (function() {