-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong CSS for C code highlighting (light theme) #18670
Comments
Messed up repos... Re-opening for new PR. |
zeripath
pushed a commit
that referenced
this issue
Feb 9, 2022
* 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>
silverwind
pushed a commit
to silverwind/gitea
that referenced
this issue
Feb 9, 2022
* C preprocessor colors improvement Fixes go-gitea#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>
lunny
added a commit
that referenced
this issue
Feb 10, 2022
* 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>
Chianina
pushed a commit
to Chianina/gitea
that referenced
this issue
Mar 28, 2022
* C preprocessor colors improvement Fixes go-gitea#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>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Gitea Version
1.16.1
Operating System
N/A
Browser Version
N/A
Can you reproduce the bug on the Gitea demo site?
Yes
Description
The light theme does not make a difference between preprocessor directives (
.cp
) and comment lines (.cm
):This makes the code difficult to read :
.cp
(and possibly.cpf
) should be different than comments.For example (I am not an artist, so the values below are not a suggestion :-) :
Allow to have a more readable code :
The text was updated successfully, but these errors were encountered: