Update JSConsole colors

This commit is contained in:
Ryan Huffman 2014-05-27 14:09:53 -07:00
parent 4a0a9f8a36
commit 44c5e56a4b
2 changed files with 9 additions and 9 deletions

View file

@ -4,17 +4,17 @@
} }
#promptTextEdit { #promptTextEdit {
color: rgb(117, 133, 140); color: #425d72;
} }
#promptTextEdit:!enabled { #promptTextEdit:!enabled {
color: rgba(0, 0, 0, 0.5); color: #7f7f7f;
} }
#promptGutterLabel { #promptGutterLabel {
color: rgba(117, 133, 140); color: #a9bbc3;
} }
#promptGutterLabel:!enabled { #promptGutterLabel:!enabled {
color: rgba(0, 0, 0, 0.5); color: #7f7f7f;
} }

View file

@ -21,13 +21,13 @@
const int NO_CURRENT_HISTORY_COMMAND = -1; const int NO_CURRENT_HISTORY_COMMAND = -1;
const int MAX_HISTORY_SIZE = 64; const int MAX_HISTORY_SIZE = 64;
const QString COMMAND_STYLE = "color: rgb(38, 106, 155);"; const QString COMMAND_STYLE = "color: #266a9b;";
const QString RESULT_SUCCESS_STYLE = "color: rgb(103, 115, 115);"; const QString RESULT_SUCCESS_STYLE = "color: #677373;";
const QString RESULT_ERROR_STYLE = "color: rgb(209, 59, 34);"; const QString RESULT_ERROR_STYLE = "color: #d13b22;";
const QString GUTTER_PREVIOUS_COMMAND = "<span style=\"color: rgb(87, 184, 187);\">&lt;</span>"; const QString GUTTER_PREVIOUS_COMMAND = "<span style=\"color: #57b8bb;\">&lt;</span>";
const QString GUTTER_ERROR = "<span style=\"color: rgb(209, 59, 34);\">X</span>"; const QString GUTTER_ERROR = "<span style=\"color: #d13b22;\">X</span>";
JSConsole::JSConsole(QWidget* parent, ScriptEngine* scriptEngine) : JSConsole::JSConsole(QWidget* parent, ScriptEngine* scriptEngine) :
QWidget(parent), QWidget(parent),