csstools / postcss-preset-env

Convert modern CSS into something browsers understand
https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env
Creative Commons Zero v1.0 Universal
2.22k stars 90 forks source link

Prefer google font for Source Code Pro to avoid a weird font color issue on Firefox Mac #192

Closed therealpecus closed 2 years ago

therealpecus commented 4 years ago

Hi!

I came across a minor nuisance on MacOs X (verified on 10.15.7 but it's been a while I noticed it) and Firefox (dev ed 82.0b5, and 75). The monospaced install instruction is displayed black over black. This seems to be a font issue. Using the same font from Google Fonts fixes the issue

Current font (Firefox)

Screen Shot 2020-10-05 at 11 06 32

Google Font (Firefox)

@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@600&display=swap');
Screen Shot 2020-10-05 at 11 07 06

I did not provide a PR because I do not know if there are specific reasons to avoid loading a Google Font, but I'm happy to take it.

Thank you for the excellent work on postcss-preset-env. It's an indispensable tool and works like magic. Kudos to Jonathan, Adam and all mantainers and contributors!

Antonio-Laguna commented 2 years ago

This repository is getting archived. If this issue keeps happening please re-open on @csstools/postcss-plugins and we'll do our best to fix it!