-
Notifications
You must be signed in to change notification settings - Fork 185
vertical︎↕︎ is displayed with the emoji font-variant #2146
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
Labels
bug
Something isn’t working
Comments
Fil
added a commit
that referenced
this issue
Aug 23, 2024
Fil
added a commit
that referenced
this issue
Aug 23, 2024
Merged
The reason it only happens in the design-tweaks branch is the difference in the font stack. In design-tweaks it is the VitePress default:
In main it is:
Which expands to:
In other words, the VitePress default will bias towards choosing color emoji variants, whereas our font stack in main does not. I have one idea I want to try. |
Fil
added a commit
that referenced
this issue
Aug 26, 2024
* brand colors * apply font choices to the whole page; remove font-weight note that Inter is the default font in VitePress * additional tweaks to make it match the changes to Framework docs (#2142) * prettier * brand colors * closes #2146 --------- Co-authored-by: CobusT <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In #2141 I see an issue with Inter, the new font, which displays horizontal↔︎ as text and vertical︎↕︎ as emoji. (I don't know why it doesn't happen in main.)
This should be solved in the far future when browsers support font-variant-emoji, but in the meantime we need to fix it somehow. I tried the variation selector
U+FE0E
, but it's filtered out for some reason, whether I write as︎
or︎
. I think I'll just do aspan::after
.The text was updated successfully, but these errors were encountered: