Implemented default terminal colors in CSS
This commit is contained in:
+1027
File diff suppressed because it is too large
Load Diff
@@ -305,27 +305,6 @@ Terminal.tangoColors = [
|
|||||||
'#eeeeec'
|
'#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
|
// Colors 0-15 + 16-255
|
||||||
// Much thanks to TooTallNate for writing this.
|
// Much thanks to TooTallNate for writing this.
|
||||||
Terminal.colors = (function() {
|
Terminal.colors = (function() {
|
||||||
@@ -358,10 +337,6 @@ Terminal.colors = (function() {
|
|||||||
return colors;
|
return colors;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
// Default BG/FG
|
|
||||||
Terminal.colors[256] = '#000000';
|
|
||||||
Terminal.colors[257] = '#f0f0f0';
|
|
||||||
|
|
||||||
Terminal._colors = Terminal.colors.slice();
|
Terminal._colors = Terminal.colors.slice();
|
||||||
|
|
||||||
Terminal.vcolors = (function() {
|
Terminal.vcolors = (function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user