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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix local fonts with colors in name #1077

Merged
merged 2 commits into from Sep 17, 2019

Conversation

Sirius-A
Copy link
Contributor

This MR fixes #1058.

This:

@font-face {
  src: local("Some Sans Black Italic");
}

became@font-face{src:local("Some Sans #000 Italic");}
instead of @font-face{src:local("Some Sans Black Italic");}

Comments / Suggestions welcome 馃槃

@Sirius-A Sirius-A changed the title Fix/local fonts do names WIP: Fix local fonts with colors in name Jun 26, 2019
@Sirius-A Sirius-A changed the title WIP: Fix local fonts with colors in name Fix local fonts with colors in name Jun 26, 2019
@dr-itz
Copy link

dr-itz commented Jun 26, 2019

Looking good! Thanks for the fix

@jakubpawlowicz
Copy link
Collaborator

Makes sense, thanks @Sirius-A !

jakubpawlowicz pushed a commit that referenced this pull request Jan 25, 2020
* fix(optimizer): do not convert colors inside local font names
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.

@font-face src:local(".. Black ..") gets replaced with ".. #000 .."
3 participants