-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Add @sourceFontFamily LESS variable and use instead of SourceCodePro font-family #9447
Comments
Sigh... shame there are all those separate references in core extensions.
The code changes here look ok to me though. Just one thought: what about the |
(Link: the card RESEARCH: Theming improvements & maintainability discusses shared LESS vars briefly, but it covers a lot of other ground too) |
|
|
Looks good. |
Awesome, thanks for the help with this, and for landing it so quickly. |
FYI, doing follow-up work with this on our branch, I found one more use of |
Oh that's an interesting rule, too: it relies on two windows-specific fonts (which used to require installing asian languages, but I don't think that's true anymore?) without rules for what to load on OSX and Linux |
Monday Mar 09, 2015 at 19:45 GMT
Originally opened as adobe/brackets#10727
In my Brackets fork, I've been discussing ways to save on download size for the in-browser use case.
@
peterflynn and I discussed making it easier to turn off the use of the Source Code/Sans Pro web fonts in favour of system fonts (it ends up saving me about ~300K of gzipped download, which is great), see https://github.com/humphd/brackets/issues/78.I've made a start at this, switching all explicit uses of these
font-family
s to variables. I'm unclear how much more I can do than this, since all of the other occurrences of these are in extension LESS/CSS files, and I don't think these have access to the variables in Brackets (correct me if I'm wrong and can change there too)?Anything else I can do here? I'm not sure how to deal with the explicit use in extensions, especially when I rip out that font-family for the in-browser case.
cc
@
Pomaxhumphd included the following code: https://github.com/adobe/brackets/pull/10727/commits
The text was updated successfully, but these errors were encountered: