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

Improve arc-green code colors #12111

Merged
merged 2 commits into from
Jul 1, 2020
Merged

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Jul 1, 2020

This should fix all previous colors that had too few contrast on the background. I took solarized-dark as a baseline and did various changes, adding some more color in general. I removed bold/italic flags because I don't think they fit and generally other tools also don't use those font flags.

before

image

image

after

image

image

image

This should fix all previous colors that had too few contrast on the
background. I took solarized-dark as a baseline and did various
improvments. I removed bold/italic flags because I don't think they
fit and generally other tools also don't use those font flags.
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jul 1, 2020
@zeripath zeripath added the topic/ui Change the appearance of the Gitea UI label Jul 1, 2020
@zeripath zeripath added this to the 1.13.0 milestone Jul 1, 2020
@zeripath
Copy link
Contributor

zeripath commented Jul 1, 2020

Can we use less variables for these colors?

@silverwind
Copy link
Member Author

silverwind commented Jul 1, 2020

I wouldn't in this case, there's almost nothing shared between code colors and the rest of the theme and adding indirection using variables there makes it actually harder to modify.

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jul 1, 2020
@lafriks lafriks merged commit eea25f8 into go-gitea:master Jul 1, 2020
@lafriks lafriks added skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. and removed skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Jul 1, 2020
@silverwind silverwind deleted the syntaxdark branch July 1, 2020 18:20
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 2020
* Improve arc-green code colors

This should fix all previous colors that had too few contrast on the
background. I took solarized-dark as a baseline and did various
improvments. I removed bold/italic flags because I don't think they
fit and generally other tools also don't use those font flags.

* diff tweak
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants