Skip to content
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

Fix broken Chroma CSS styles (#23174) #23402

Merged
merged 1 commit into from
Mar 10, 2023

Commits on Mar 10, 2023

  1. Fix broken Chroma CSS styles (go-gitea#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 go-gitea#22348, with just 2 lines changed: `.chroma .kt & .n`,
    these colors are taken from GitHub.
    
    It's good enough for go-gitea#22348
    
    
    ![image](https://user-images.githubusercontent.com/2114189/221551941-0d27d11d-e71e-498f-8e88-92b558fe4a18.png)
    
    ---------
    
    Co-authored-by: silverwind <me@silverwind.io>
    2 people authored and GiteaBot committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    5af339e View commit details
    Browse the repository at this point in the history