-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Change font weight of menu items to 400 instead of 200, improves readability #9829
Conversation
FWIW. I'd call the LESS variable (if needed) |
This definitely fixes the issue. |
@@ -328,7 +328,7 @@ a:focus { | |||
padding: @menubar-top-padding @menubar-h-padding @menubar-bottom-padding; | |||
border: 1px solid rgba(0, 0, 0, 0); // transparent border just to hold the layout so it doesn't shift on hover | |||
color: fadeout(@bc-menu-text, 25%); | |||
font-weight: @font-weight-light; | |||
font-weight: 400; |
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.
This should be font-weight: normal
which is exactly the same as 400. (See https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#Values)
Assigning to @placegraphichere for visual review. (Note: to test this on a non-Linux computer, modify Global.js so that |
@@ -328,7 +328,7 @@ a:focus { | |||
padding: @menubar-top-padding @menubar-h-padding @menubar-bottom-padding; | |||
border: 1px solid rgba(0, 0, 0, 0); // transparent border just to hold the layout so it doesn't shift on hover | |||
color: fadeout(@bc-menu-text, 25%); | |||
font-weight: @font-weight-light; | |||
font-weight: normal; |
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.
Since normal
is the default value, I wonder we can just remove this property.
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.
Fixed: Just removed the line, seems that the setting is not needed; not set to another value anywhere else.
Should I squash the commits? Feels odd to me to have 3 commits for 1 tiny change. |
@Mark-Simulacrum Do you still want to squash the commits? |
…prove readability.
b0514db
to
4606525
Compare
@ingorichter Squashed commits, thank you for the reminder! |
@placegraphichere Do you want to have another look at the visual representation or does the change look good to you and I can merge it? |
The problem was primarily in the dark theme running in Ubunut x64 OS. #9828 |
@ingorichter Do you want to get this in 1.2? While I'm not a Linux user, this does fix a visibility issue (which can effect usability), and know it if affected me I'd want this in as soon as possible. |
Yes please. |
Change font weight of menu items to 400 instead of 200, improves readability
Fixes #9828.
Things to consider:
@font-weight-semibold: 500
and@font-weight-light: 200
.