You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
chroma Fix broken Chroma CSS styles (#23174) 2 years ago
code Fix and restyle menu on code line (#15913) 4 years ago
codemirror Support Issue forms and PR forms (#20987) 2 years ago
console Add support for rendering terminal output with colors (#19497) 3 years ago
features Fix various ImageDiff/SVG bugs (#23312) 2 years ago
markup Change style to improve whitespaces trimming inside inline markdown code (#23093) 2 years ago
modules Upgrade to stylelint 15 (#22944) 2 years ago
shared Timeline and color tweaks (#21799) 2 years ago
standalone Update JS dependencies, fix lint (#18389) 3 years ago
themes Fix broken Chroma CSS styles (#23174) 2 years ago
_admin.less Webhook list enhancements (#21893) 2 years ago
_base.less Fix code wrap for unbroken lines (#23268) 2 years ago
_dashboard.less Fix margin and alignment in dashboard repolist (#22120) 2 years ago
_editor.less Improve PR Review Box UI (#22986) 2 years ago
_explore.less Fix avatar misalignment (#22955) 2 years ago
_font_i18n.less Upgrade to stylelint 15 (#22944) 2 years ago
_form.less Add new captcha: cloudflare turnstile (#22369) 2 years ago
_home.less fix media query edge case (#13546) 4 years ago
_install.less Move all remaining colors into CSS variables (#21903) 2 years ago
_organization.less Remove dashes between organization member avatars on hover (#23034) 2 years ago
_package.less Fix empty container layer history and UI (#21251) 2 years ago
_repository.less Fix and move "Use this template" button (#23398) 2 years ago
_review.less Upgrade to stylelint 15 (#22944) 2 years ago
_runner.less Move helpers to be prefixed with `gt-` (#22879) 2 years ago
_svg.less Update JS dependencies, fix lint (#18389) 3 years ago
_tribute.less CSS color enhancements (#21534) 2 years ago
_user.less Add badge capabilities to users (#20607) 3 years ago
animations.less Improvements for Content Copy (#21842) 2 years ago
helpers.less Fix and move "Use this template" button (#23398) 2 years ago
index.less Remove _actions.less (#22885) 2 years ago
variables.less fix media query edge case (#13546) 4 years ago