1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/web_src/less
wxiaoguang 0141d1667d
Fix broken Chroma CSS styles (#23174)
The CSS styles in Gitea themes are out-of-sync of Chroma's styles.

This PR introduces a `chroma-style-diff.go` tool to compare the diff.
The missing CSS styles have been added manually. They are left as empty
to reduce arguments because there was no color for them before.

And this PR fixes #22348, with just 2 lines changed: `.chroma .kt & .n`,
these colors are taken from GitHub.

It's good enough for #22348


![image](https://user-images.githubusercontent.com/2114189/221551941-0d27d11d-e71e-498f-8e88-92b558fe4a18.png)

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-03-09 22:16:16 -05:00
..
chroma Fix broken Chroma CSS styles (#23174) 2023-03-09 22:16:16 -05:00
code
codemirror
console
features
markup
modules
shared
standalone
themes Fix broken Chroma CSS styles (#23174) 2023-03-09 22:16:16 -05:00
_admin.less
_base.less
_dashboard.less
_editor.less
_explore.less
_font_i18n.less
_form.less
_home.less
_install.less
_organization.less
_package.less
_repository.less
_review.less
_runner.less
_svg.less
_tribute.less
_user.less
animations.less
helpers.less
index.less
variables.less