diff options
author | silverwind <me@silverwind.io> | 2022-02-10 03:12:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 10:12:03 +0800 |
commit | 649abeda40cf1fc7cb55437d288d8e8adcae5019 (patch) | |
tree | 3f9b2a98beac3c529584efd7f7904d257c4cbad5 /web_src | |
parent | 4cfd62cddf509c184012a13f84986e3e15082717 (diff) | |
download | gitea-649abeda40cf1fc7cb55437d288d8e8adcae5019.tar.gz gitea-649abeda40cf1fc7cb55437d288d8e8adcae5019.zip |
C preprocessor colors improvement (#18671) (#18696)
* C preprocessor colors improvement
Fixes #18670
* Update web_src/less/chroma/light.less
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
* typo
missing semi
* add color for #include filenames
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Bruno Raoult <braoult@users.noreply.github.com>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/less/chroma/dark.less | 2 | ||||
-rw-r--r-- | web_src/less/chroma/light.less | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web_src/less/chroma/dark.less b/web_src/less/chroma/dark.less index 24a3b6568d..536d21963d 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 */ diff --git a/web_src/less/chroma/light.less b/web_src/less/chroma/light.less index 9e8cb59052..9728800765 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 */ |