Visitar URL original
Remove 'antialiased' CSS class from root template by rhcarvalho · Pull Request #5827 · phoenixframework/phoenix · GitHub
Skip to content

Remove 'antialiased' CSS class from root template - #5827

Merged
SteffenDE merged 1 commit into
phoenixframework:mainfrom
rhcarvalho:rm-antialised
Jun 8, 2024
Merged

SteffenDE merged 1 commit into
phoenixframework:mainfrom
rhcarvalho:rm-antialised

Conversation

@rhcarvalho

Copy link
Copy Markdown
Collaborator

One day, perhaps over a decade ago, it used to bring visual improvement and consistency to font rendering across browsers and operating systems.

But, over the years, the default subpixel-antialising in browsers/OSes produces better results than 'antialiased'.

There are many discussions about this on the web, I mention a few:

One day, perhaps over a decade ago, it used to bring visual improvement
and consistency to font rendering across browsers and operating systems.

But, over the years, the default subpixel-antialising in browsers/OSes
produces better results than 'antialiased'.

There are many discussions about this on the web, I mention a few:
- google/fonts#1170
- https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth
- https://web.dev/articles/antialiasing-101
- https://en.wikipedia.org/wiki/Subpixel_rendering
@rhcarvalho

Copy link
Copy Markdown
Collaborator Author

(rebased on top of latest main)

@SteffenDE
SteffenDE merged commit 2e06455 into phoenixframework:main Jun 8, 2024
@SteffenDE

Copy link
Copy Markdown
Member

Thank you! 🙌

@rhcarvalho
rhcarvalho deleted the rm-antialised branch June 8, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants