Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Update fonts (size, font-stack, fix blur) #1826

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

last-partizan
Copy link

@@ -10,12 +10,10 @@ html {
body {
color: #000;
background: none;
font: 12px/18px 'Open Sans', "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Verdana, sans-serif;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about "Open Sans", "Lucida Grande", "Lucida Sans Unicode"?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've changed fonts to use "system font stack", and those fonts does not included.

I can add system-ui to font-list, but it will work only on webkit browsers and if you use it as default in your OS.

Copy link

@PhilippBaranovskiy PhilippBaranovskiy Apr 15, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@last-partizan, those font families that you took from snippets for Method 1 are used by Github and Wordpress plugin, though they don't include necessary families like Lucida Grande.

Such a decision might be made based on their user's browsers statistics.
The same link (css-tricks article system font stack) says that for Mavericks is used Lucida Grande.

And method n.2 's description provides you with the stack that includes Lucida Grande.

Could you clarify why not include that one or just update this PR with Lucida Grande?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@last-partizan, I'm sorry, now I realized that -apple-system solves that issue.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the Linux perspective, Roboto,Oxygen-Sans,Ubuntu,Cantarell makes no sense if you want to use the system font.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What we should use for linux then?

Ubuntu - default in ubuntu, and looks good enough.
Cantarell - is default in gnome.

@@ -10,12 +10,10 @@ html {
body {
color: #000;
background: none;
font: 12px/18px 'Open Sans', "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Verdana, sans-serif;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@last-partizan, I'm sorry, now I realized that -apple-system solves that issue.

@qWici
Copy link

qWici commented Apr 15, 2019

@rockfield Open Sans - it's a main website font. Why u removed them?

@last-partizan
Copy link
Author

@qWici whole point of this change - use system fonts, and not emulate telegram.org.

Those fonts is good for telegram.org, but it's better to use system fonts for an app.

@piit79
Copy link

piit79 commented Oct 17, 2019

Does anything need to be done to get this merged? Just rebased this and there is only one very simple conflict (deleted yarn.lock). It looks good, I like the larger fonts a lot more.

@Aokromes Aokromes added the Fix label Feb 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
6 participants