Page MenuHomePhabricator

Codex demo CSS should use default theme 'WikimediaUI' design tokens
Closed, ResolvedPublic

Description

Background

Right now, there's a CSS file for the Codex documentation site that sets some basic styles, like font family and colors.

Goal

Codex documentation should itself make use of the Wikimedia Product design's choices, provided in “WikimediaUI” theme tokens. We need to use the tokens in this file to ensure things like font-family are correct and up-to-date.

This should be active as long as we don't have all essential tokens (size/spacing, typography aka font family, size, …, line height, breakpoints) merged. As long as we have non DS design-decision values in the demos, we should keep this open. It's more like an [EPIC] task IMO.

Event Timeline

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

[design/codex@main] docs: Use design tokens within codex-docs custom theme

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

Change 783871 merged by jenkins-bot:

[design/codex@main] docs: Use design tokens within codex-docs custom theme

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

Volker_E renamed this task from Codex docs theme CSS should use design tokens to Codex docs theme CSS should use default theme 'WikimediaUI' design tokens.Apr 29 2022, 8:49 PM
Volker_E updated the task description. (Show Details)

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

[design/codex@main] docs: Set VitePress text color to `color-base`

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

Change 787815 merged by jenkins-bot:

[design/codex@main] docs: Set VitePress text color to `color-base`

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

STH triaged this task as High priority.May 1 2022, 12:55 PM
STH changed the task status from Open to In Progress.May 1 2022, 1:23 PM
STH lowered the priority of this task from High to Medium.
STH moved this task from Inbox to Up Next on the Design-System-Team board.

This should be active as long as we don't have all essential tokens (size/spacing, typography aka font family, size, …, line height, breakpoints) merged. As long as we have non DS design-decision values in the demos, we should keep this open. It's more like an [EPIC] task IMO.

DAbad lowered the priority of this task from Medium to Low.Jul 28 2022, 8:01 PM

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

[design/codex@main] docs, tokens: Replace deprecated design tokens

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

Change 833884 merged by jenkins-bot:

[design/codex@main] docs, tokens: Replace deprecated design tokens

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

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

[design/codex@main] docs: Replace static `text-decoration` values with Codex tokens

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

Change 837181 merged by jenkins-bot:

[design/codex@main] styles, docs: Replace static `text-decoration` values with Codex tokens

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

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

[design/codex@main] docs: Use `border-radius-base` design token on footer pager cards

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

Change 838063 merged by jenkins-bot:

[design/codex@main] docs: Use Card styles (and its design tokens) on footer pager cards

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

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

[mediawiki/core@master] Update Codex from v0.2.1 to v0.2.2

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

Change 849191 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.2.1 to v0.2.2

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

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

[design/codex@main] docs: Replace calculation with spacing token

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

Change 854619 merged by jenkins-bot:

[design/codex@main] docs: Replace calculation with spacing token

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

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

[mediawiki/core@master] Update Codex from v0.2.2 to v0.3.0

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

Change 859597 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.2.2 to v0.3.0

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

Volker_E renamed this task from Codex docs theme CSS should use default theme 'WikimediaUI' design tokens to Codex demo CSS should use default theme 'WikimediaUI' design tokens.Dec 19 2022, 6:16 PM
ldelench_wmf raised the priority of this task from Low to Medium.Dec 19 2022, 10:45 PM
ldelench_wmf subscribed.

Discussed at Dec 12 refinement: this is important, but does not block T293127

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

[design/codex@main] tokens, styles: Introduce design-first `font-size` tokens

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

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

[design/codex@main] docs, tokens: Apply `line-height` tokens everywhere

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

Change 871238 merged by jenkins-bot:

[design/codex@main] docs, tokens: Apply `line-height` tokens everywhere

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

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

[mediawiki/core@master] Update Codex from v0.4.2 to v0.4.3

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

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

Change 878213 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.4.2 to v0.4.3

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

Test wiki on Patch demo by ATomasevich (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/b7ca0fd8f5/w/

Change 871022 merged by jenkins-bot:

[design/codex@main] tokens, styles: Introduce design-first `font-size` tokens

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

Change 869852 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] Update Codex from v0.4.3 to v0.5.0

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

Change 885450 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] Update Codex from v0.4.3 to v0.5.0

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

Change 885450 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.4.3 to v0.5.0

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

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

[design/codex@main] docs: Refine visual hierarchy and use Codex tokens

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

Above patch is the last one from my perspective for this task. We can open up new tasks (in response to for example VitePress upstream changes).

Restricted Application raised the priority of this task from Medium to High. · View Herald TranscriptFeb 11 2023, 4:42 PM

Change 888290 merged by jenkins-bot:

[design/codex@main] docs: Refine visual hierarchy and use Codex tokens

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

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

[design/codex@main] docs: Refine visual hierarchy and use design-first heading styles

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

Change 889216 merged by jenkins-bot:

[design/codex@main] docs: Refine visual hierarchy and use design-first heading styles

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

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

[mediawiki/core@master] Update Codex from v0.5.0 to v0.6.0

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

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

Skipping design and QTE sign-off for this code-only task. Design sign off for other bits is happening in T325055.
VitePress custom.css is now only using design tokens.

Change 889230 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.5.0 to v0.6.0

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

Test wiki on Patch demo by ATomasevich (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/66d018802f/w/