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

Don't use -webkit-font-smoothing #12029

Merged
merged 2 commits into from
Jun 24, 2020

Conversation

mrsdizzie
Copy link
Member

@mrsdizzie mrsdizzie commented Jun 23, 2020

Don't change font smoothing via CSS. Linked issue has more details, but this seems fowned upon in general and a was also removed from standards track (and we don't do it on Firefox already). Hopefully this will be a part of reverting to a native font stack for Gitea.

Fixes #11931

Don't change font smoothing via CSS. Linked issue has more details, but this seems fowned upon in general and a was also removed from standards track. Hopefully this will be a part of reverting to a native font stack for Gitea.

Fixes go-gitea#11931
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jun 23, 2020
@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 Jun 23, 2020
@silverwind
Copy link
Member

silverwind commented Jun 23, 2020

Fomantic sets this on it's icon font, maybe we want to override it to the browser default but I'm not sure of it's impact. Maybe @CirnoT can try if this makes any difference in the icon rendering.

i.icon {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

@CirnoT
Copy link
Contributor

CirnoT commented Jun 23, 2020

The less we touch Fomantic overrides the better imo

@lunny lunny added the topic/ui Change the appearance of the Gitea UI label Jun 24, 2020
@techknowlogick
Copy link
Member

ping LG-TM

@techknowlogick techknowlogick merged commit 8aef7ae into go-gitea:master Jun 24, 2020
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 2020
Don't change font smoothing via CSS. Linked issue has more details, but this seems fowned upon in general and a was also removed from standards track. Hopefully this will be a part of reverting to a native font stack for Gitea.

Fixes go-gitea#11931

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
@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.

Use default value for -webkit-font-smoothing
6 participants