Page MenuHomePhabricator

Reading theme icon: Add reading theme icon to Codex and OOUI
Closed, ResolvedPublic

Description

Background & Goal

  • Description: Web is creating a configuration interface for reading density (font-size, line height, paragraph margins), as well as page width and night/day mode (T341631).
  • History: We don't currently use icons to represent any of these configuration options. The addition of these settings in conjunction with new defaults for the main namespace on Wikipedia will increase the readability of articles for billions of people. Web's work on this is documented in T350195.
  • Known use case(s): Web is beginning development on the settings interface on Monday 6 November. We will use a placeholder icon until this task is complete, but this task does block our beta release.
  • Considerations: The icon needs to be able to convey reading without a label. The placement of the icon in the UI implies a configuration, so we don't need the icon to represent settings, the settings represent many use cases beyond accessibility, so ideally we wouldn't have an icon that is explicitly an accessibility icon. The intention is that the icon would represent reading or content somehow without being another generic article icon. @DTorsani-WMF and I discussed glasses as a possible icon.

User stories

As a logged in reader with reading theme settings hidden, I want to be able to see a clear iconographic representation of reading theme in the top right bar of Wikipedia on desktop.

Considerations (Optional)

Open questions (Optional)

Proposal

The current icon to represent 'reading theme' or 'appearance' is a pair of glasses.

Captura de pantalla 2023-11-28 a las 11.27.34.png (336×546 px, 27 KB)

NOTE: This icon will be analyzed during the beta release and iterated on as we learn and gather feedback from users.

Design spec

Figma exploration

SVG icon

Acceptance criteria for Done

Design

  • The design of the new icon is ready, and it follows our icon system guidelines
  • The new icon has been reviewed with help from the DST
  • An RTL icon has been created (if needed)
  • The icon is recognizable on low DPI resolutions
  • The icon has been exported as an optimized SVG and added to this task’s description
  • The new icon has been included and published in our Icon System Figma library

Code

  • Add icon in Codex
  • Add icon in OOUI

Documentation

Event Timeline

Change 976833 had a related patch set uploaded (by Dtorsani; author: Dtorsani):

[oojs/ui@master] icons: Add 'appearance' icon to 'accessibility' pack

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

Change 976834 had a related patch set uploaded (by Dtorsani; author: Dtorsani):

[design/codex@main] icons: Add 'appearance' icon

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

Change 976834 merged by jenkins-bot:

[design/codex@main] icons: Add 'appearance' icon

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

Change 978713 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/Vector@master] Use Codex upstream icon

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

Change 976833 merged by jenkins-bot:

[oojs/ui@master] icons: Add 'appearance' icon to 'accessibility' pack

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

Change 980902 had a related patch set uploaded (by Anne Tomasevich; author: Anne Tomasevich):

[mediawiki/core@master] Update Codex from v1.0.1 to v1.1.1

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

Test wiki created on Patch demo by ATomasevich (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/d419984345/w

Change 980902 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v1.0.1 to v1.1.1

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

Change 980958 had a related patch set uploaded (by Anne Tomasevich; author: Anne Tomasevich):

[mediawiki/core@master] Update OOUI to v0.48.3

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

Change 980958 merged by jenkins-bot:

[mediawiki/core@master] Update OOUI to v0.48.3

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

Volker_E reassigned this task from Volker_E to DTorsani-WMF.
Volker_E edited subscribers, added: Volker_E; removed: DTorsani-WMF.