Page MenuHomePhabricator

Update Monospace stack documentation in Codex's Style guide
Closed, ResolvedPublic1 Estimated Story Points

Description

Issue

The Monospace stack documented in the Codex's Style guide via a snippet is missing the design typeface choice, 'Fira code'

Instead of:

'Menlo', 'Consolas', 'Liberation Mono', 'Courier New', monospace;`

it should say;

'Menlo', 'Consolas', 'Liberation Mono', 'Fira Code', 'Courier New', monospace

The snippet is also missing a title, like all other styles. The title should read "Code".

Why is this bad?

This makes our resources (Figma tokens library, tokens documentation and Style guide) to be misaligned.

Acceptance Criteria
  • The right monospace stack is documented in Typography/Use of styles
  • A heading allows users to understand that the snippet refers to the "Code" style
Open questions
  • Right now, the Monospace font is documented via a snippet at the end of the font styles: Why don't we add the snippet and the information about the Monospace typeface in the 'Typefaces' section of 'Typography', together with Source Serif Pro and Inter?

Event Timeline

Change 961733 had a related patch set uploaded (by VolkerE; author: VolkerE):

[design/codex@main] docs: Add 'Fira Code' monospace font to typography guide

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

Change 961733 merged by jenkins-bot:

[design/codex@main] docs: Add 'Fira Code' monospace font to typography guide

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

Change 965551 had a related patch set uploaded (by LWatson; author: LWatson):

[mediawiki/core@master] Update Codex from v0.20.0 to v1.0.0-rc.1

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

Change 965551 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.20.0 to v1.0.0-rc.1

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

Change 965222 had a related patch set uploaded (by Jforrester; author: LWatson):

[mediawiki/core@REL1_41] Update Codex from v0.20.0 to v1.0.0-rc.1

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

Change 965222 merged by jenkins-bot:

[mediawiki/core@REL1_41] Update Codex from v0.20.0 to v1.0.0-rc.1

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