-
Notifications
You must be signed in to change notification settings - Fork 536
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
Include CSS Custom Property for mono font family #4028
Conversation
🦋 Changeset detectedLatest commit: f2c6282 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
size-limit report 📦
|
✨✨ The PR has been updated by @joshblack with changes produced using Copilot Workspace using Copilot Workspace v0.6 TopicAdd a changeset with a random name that describes these changes and tag it as a minor release Before
After
|
mono: fontStack([ | ||
'var(--fontStack-monospace)', | ||
'SFMono-Regular', | ||
'Consolas', | ||
'Liberation Mono', | ||
'Menlo', | ||
'Courier', | ||
'monospace', | ||
]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mono: fontStack([ | |
'var(--fontStack-monospace)', | |
'SFMono-Regular', | |
'Consolas', | |
'Liberation Mono', | |
'Menlo', | |
'Courier', | |
'monospace', | |
]), | |
mono: fontStack([ | |
'var(--fontStack-monospace, | |
SFMono-Regular, | |
Consolas, | |
Liberation Mono, | |
Menlo, | |
Courier, | |
monospace)', | |
]), |
I think it should be like this, but I'm not 100% sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am now 95% sure I am wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think either version works
Generated by Copilot Workspace 🤯
This pull request includes a change to the
mono
property of thefonts
constant in thesrc/theme.ts
file. The change adds'var(--fontStack-monospace)'
to the beginning of the font stack for monospace fonts.