Page MenuHomePhabricator

Define Codex print design tokens and limit colors in print styles
Open, Needs TriagePublic

Description

Starting from T135022#2663900 there was discussion on limiting greys in print to

#000 and #666 for text and #f5f5f5 for backgrounds

and also that

Everything should work with black and white:

Everything must work with black and white. We can't assume that people have access to color printers.


Currently though

  • MW core's commonPrint.css features
    • #000
    • #aaa for #toc's, .wikitable's, .catlinks li & #footer border
    • #ddd for img.thumbborder
  • Vector's current print.less features
    • @pureBlack (=#000),
    • @footerColor (=#eee`) text,
    • @colorGray9 (=#999) on #footer-info text
  • MinervaNeue's print variables
    • @color-print: #000;
    • @color-print-subtle: #999;
    • @border-color-print: #999;

These colors should be limited at best. It makes sense to have greys with same ratio of RGB, respectively CMYK for not triggering color printing and to speed up print times. So WikimediaUI color palette greys are not first choice.
Still, a limitation of greys would make sense, both from a design as from implementation point of view.

Event Timeline

Volker_E added a project: Design.
Volker_E removed a subscriber: gerritbot.

o/ @Nirzar, will this be ready for the next sprint? It currently blocks T169738 in upcoming.

@Nirzar - is this a blocker for deploying the new styles?

Removing @Nirzar as assignee, as that account has been disabled.

/cc @ovasileva @alexhollender is it something we should worry? It's marked high and it's not in progress for 2 years.

Seems this never got much traction- @Volker_E, @alexhollender - is this something we can drop for now?

Volker_E lowered the priority of this task from High to Low.Feb 13 2025, 4:56 AM
Volker_E raised the priority of this task from Low to Needs Triage.Feb 13 2025, 10:09 AM
Volker_E moved this task from Inbox to Backlog on the Design-System-Team board.
Volker_E renamed this task from Define and limit colors in new print styles to Define Codex print design tokens and limit colors in print styles.Mar 6 2026, 1:17 AM
Volker_E added projects: Codex, Vector 2022.