Page MenuHomePhabricator

Dark mode color palette
Closed, ResolvedPublicFeature

Description

Will the team define for Codex a dark mode color palette? The project does not currently appear to be directly linked to Vector 2022's (or even Minerva) ongoing dark mode implementations.

But your second architectural decision record states that "CSS Custom properties will be implemented in Vector on a very tightly scoped basis. The implementation assumes that we will eventually want to up-stream CSS custom properties to MediaWiki core/Codex."

Event Timeline

Restricted Application added subscribers: Masumrezarock100, Aklapper. · View Herald Transcript

Meh, I just found T356537. Not sure if merging is needed, since T356537 is adding the support of custom properties (so be able to customize components I guess), without defining a dark mode color palette.

CCiufo-WMF subscribed.

T356537 is a temporary solution to enable the Web team to experiment with dark mode and refine the palette. The initial palette was defined in T356323, part of a larger collaboration we are tracking in T355147.

If you're interested, T356465 (and the draft ADR) tackle the longer-term vision for color modes in Codex. We expect the palette to be defined through the Codex tokens architecture.

Does this help answer your questions?

That's in connection with T341632: [EPIC] Palette customizations and dark mode and even T26070: [GOAL] Provide a dark / night mode skin or theme. We could use this task for the specific addition of dark mode/night mode colors to Codex design tokens.

To recap, a palette already exists and needs to be integrated into the tokens defined with Codex. So I've got the answer to my question. In addition, it's already planned to add "themes" to Codex components (Vue and only-CSS ones?). So it's more than I expected!

Maybe you could add this night mode palette on https://doc.wikimedia.org/codex/latest? The links tasks are very recent and without working with you it is a bit difficult to follow the work progress! But I guess you will only do that when T356465 is resolved?

Maybe you could add this night mode palette on https://doc.wikimedia.org/codex/latest? The links tasks are very recent and without working with you it is a bit difficult to follow the work progress! But I guess you will only do that when T356465 is resolved?

Yeah we're not going to add to the docs yet until the palette is refined and is coming from Codex. We just create some placeholder tasks (T358031 and T358032) that will follow up on T356465.

CCiufo-WMF claimed this task.