From 63bc1dd8599dbb87e55ad12d4585c52c0302fbdd Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Tue, 8 Feb 2022 12:06:36 +0100 Subject: [PATCH 1/4] C preprocessor colors improvement Fixes #18670 --- web_src/less/chroma/light.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/less/chroma/light.less b/web_src/less/chroma/light.less index 9e8cb590522e7..8ef5a7544f43e 100644 --- a/web_src/less/chroma/light.less +++ b/web_src/less/chroma/light.less @@ -53,8 +53,8 @@ .chroma .cm { color: #999988; } /* CommentMultiline */ .chroma .c1 { color: #6a737d; } /* CommentSingle */ .chroma .cs { color: #999999; } /* CommentSpecial */ -.chroma .cp { color: #999999; } /* CommentPreproc */ -.chroma .cpf { color: #999999; } /* CommentPreprocFile */ +.chroma .cp { color: #109295 } /* CommentPreproc */ +.chroma .cpf { color: #4C4DBC; } /* CommentPreprocFile */ .chroma .gd { color: #000000; background-color: #ffdddd; } /* GenericDeleted */ .chroma .ge { color: #000000; } /* GenericEmph */ .chroma .gr { color: #aa0000; } /* GenericError */ From b011f11536d406eb6f54e35e4387758dfbb0d294 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Tue, 8 Feb 2022 20:37:01 +0900 Subject: [PATCH 2/4] Update web_src/less/chroma/light.less Co-authored-by: KN4CK3R --- web_src/less/chroma/light.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/less/chroma/light.less b/web_src/less/chroma/light.less index 8ef5a7544f43e..3e520fcc4a43b 100644 --- a/web_src/less/chroma/light.less +++ b/web_src/less/chroma/light.less @@ -54,7 +54,7 @@ .chroma .c1 { color: #6a737d; } /* CommentSingle */ .chroma .cs { color: #999999; } /* CommentSpecial */ .chroma .cp { color: #109295 } /* CommentPreproc */ -.chroma .cpf { color: #4C4DBC; } /* CommentPreprocFile */ +.chroma .cpf { color: #4c4dbc; } /* CommentPreprocFile */ .chroma .gd { color: #000000; background-color: #ffdddd; } /* GenericDeleted */ .chroma .ge { color: #000000; } /* GenericEmph */ .chroma .gr { color: #aa0000; } /* GenericError */ From 0648667b7cae381d069fd55e0d385902715f5295 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Tue, 8 Feb 2022 13:00:31 +0100 Subject: [PATCH 3/4] typo missing semi --- web_src/less/chroma/light.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/less/chroma/light.less b/web_src/less/chroma/light.less index 3e520fcc4a43b..9728800765b43 100644 --- a/web_src/less/chroma/light.less +++ b/web_src/less/chroma/light.less @@ -53,7 +53,7 @@ .chroma .cm { color: #999988; } /* CommentMultiline */ .chroma .c1 { color: #6a737d; } /* CommentSingle */ .chroma .cs { color: #999999; } /* CommentSpecial */ -.chroma .cp { color: #109295 } /* CommentPreproc */ +.chroma .cp { color: #109295; } /* CommentPreproc */ .chroma .cpf { color: #4c4dbc; } /* CommentPreprocFile */ .chroma .gd { color: #000000; background-color: #ffdddd; } /* GenericDeleted */ .chroma .ge { color: #000000; } /* GenericEmph */ From 3bee9a9246293f605f38a06efde0ccad0fb8fe90 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Tue, 8 Feb 2022 18:05:05 +0100 Subject: [PATCH 4/4] add color for #include filenames --- web_src/less/chroma/dark.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/less/chroma/dark.less b/web_src/less/chroma/dark.less index 24a3b6568d181..536d21963d253 100644 --- a/web_src/less/chroma/dark.less +++ b/web_src/less/chroma/dark.less @@ -54,7 +54,7 @@ .chroma .c1 { color: #6a737d; } /* CommentSingle */ .chroma .cs { color: #637d; } /* CommentSpecial */ .chroma .cp { color: #fc6; } /* CommentPreproc */ -.chroma .cpf { color: #fc6; } /* CommentPreprocFile */ +.chroma .cpf { color: #03dfff; } /* CommentPreprocFile */ .chroma .gd { color: #fff; background-color: #5f3737; } /* GenericDeleted */ .chroma .ge { color: #ef5; } /* GenericEmph */ .chroma .gr { color: #f33; } /* GenericError */