Skip to content

Commit 42f02b4

Browse files
committed
Match workbox and console highlight colors
Also, make keyword color different than stdout color
1 parent 3ca43e2 commit 42f02b4

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

preditor/resource/stylesheet/Bright.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ DocumentEditor {
2121
qproperty-braceBadBackground: rgb(250, 100, 100);
2222

2323
qproperty-colorDefault: "black";
24-
qproperty-colorComment: rgb(0, 127, 0);
24+
qproperty-colorComment: rgb(0, 206, 52);
2525
qproperty-colorNumber: rgb(0, 127, 127);
26-
qproperty-colorString: rgb(127, 0, 127);
27-
qproperty-colorKeyword: rgb(0, 0, 127);
28-
qproperty-colorTripleQuotedString: rgb(127, 0, 0);
26+
qproperty-colorString: rgb(255, 128, 0);
27+
qproperty-colorKeyword: rgb(250, 24, 110);
28+
qproperty-colorTripleQuotedString: rgb(255, 128, 0);
2929
qproperty-colorMethod: rgb(0, 0, 255);
3030
qproperty-colorFunction: rgb(0, 127, 127);
3131
qproperty-colorOperator: "black";
@@ -58,8 +58,9 @@ ConsolePrEdit {
5858
color: rgb(0,0,0);
5959
background-color: rgb(255,255,255);
6060
qproperty-commentColor: rgb(0, 206, 52);
61-
qproperty-keywordColor: rgb(17, 154, 255);
61+
qproperty-keywordColor: rgb(250, 24, 110);
6262
qproperty-resultColor: rgb(128, 128, 128);
6363
qproperty-stdoutColor: rgb(17, 154, 255);
6464
qproperty-stringColor: rgb(255, 128, 0);
6565
}
66+
}

preditor/resource/stylesheet/Dark.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -153,16 +153,16 @@ DocumentEditor {
153153
qproperty-braceBadForeground: rgb(255, 255, 255);
154154
qproperty-braceBadBackground: rgb(100, 60, 60);
155155

156-
qproperty-colorDefault: rgb(102, 153, 204);
157-
qproperty-colorComment: rgb(153, 153, 153);
158-
qproperty-colorNumber: rgb(249, 145, 87);
159-
qproperty-colorString: rgb(153, 204, 153);
160-
qproperty-colorKeyword: rgb(204, 153, 204);
161-
qproperty-colorTripleQuotedString: rgb(220, 204, 153);
156+
qproperty-colorDefault: rgb(22, 160, 250);
157+
qproperty-colorComment: rgb(0, 220, 0);
158+
qproperty-colorNumber: rgb(0, 200, 200);
159+
qproperty-colorString: rgb(240, 135, 0);
160+
qproperty-colorKeyword: rgb(250, 24, 110);
161+
qproperty-colorTripleQuotedString: rgb(240, 135, 0);
162162
qproperty-colorMethod: rgb(255, 204, 102);
163-
qproperty-colorFunction: rgb(132, 203, 255);
163+
qproperty-colorFunction: rgb(22, 160, 250);
164164
qproperty-colorOperator: rgb(204, 204, 204);
165-
qproperty-colorIdentifier: rgb(102, 153, 204);
165+
qproperty-colorIdentifier: rgb(22, 160, 250);
166166
qproperty-colorCommentBlock: rgb(117, 113, 94);
167167
qproperty-colorUnclosedString: rgb(255, 255, 255);
168168
qproperty-colorSmartHighlight: rgb(255, 255, 255);
@@ -191,9 +191,9 @@ ConsolePrEdit, ErrorDialog {
191191
ConsolePrEdit {
192192
color: rgb(255, 255, 255);
193193
background-color: rgb(70, 70, 73);
194-
qproperty-commentColor: rgb(0, 206, 52);
195-
qproperty-keywordColor: rgb(17, 154, 255);
194+
qproperty-commentColor: rgb(0, 160, 0);
195+
qproperty-keywordColor: rgb(250, 24, 110);
196196
qproperty-resultColor: rgb(128, 128, 128);
197-
qproperty-stdoutColor: rgb(17, 154, 255);
198-
qproperty-stringColor: rgb(255, 128, 0);
197+
qproperty-stdoutColor: rgb(22, 160, 250);
198+
qproperty-stringColor: rgb(240, 135, 0);
199199
}

0 commit comments

Comments
 (0)