Page MenuHomePhabricator

[MediaWiki UI] Set mw.ui.button to use non-system font-family
Closed, ResolvedPublic

Description

Author: swalling

Description:
Mark all as read in Echo as quiet mw.ui.button

Currently all MediaWiki UI buttons are picking up the system font for their text, which in my case is Lucida Grande.

This introduces inconsistency and is fugly. I've attached a screenshot of a particular nasty example, such as use of a quiet button in Echo, next to other sans-serif interface copy.

The current living style guide (http://tools.wmflabs.org/styleguide/desktop/) does not specify a better font family for buttons nor inputs, but older versions of the specification have suggested we should be doing better (https://www.mediawiki.org/wiki/File:Agora_specs.pdf).

The simplest solution here is to inherit the body's 'sans-serif' specification, or apply it specifically if necessary.


Version: unspecified
Severity: minor

Attached:

Screen_Shot_2014-08-26_at_5.00.24_PM.png (542×982 px, 88 KB)

Details

Reference
bz70072

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:29 AM
bzimport set Reference to bz70072.

gerritadmin wrote:

Change 156829 had a related patch set uploaded by Jdlrobson:
Fix font of mw-ui-button

https://gerrit.wikimedia.org/r/156829

gerritadmin wrote:

Change 156829 merged by jenkins-bot:
Fix font of mw-ui-button

https://gerrit.wikimedia.org/r/156829