Page MenuHomePhabricator

styles, mixins: Rename `.cdx-mixin-button-css-icon-background-color`
Closed, ResolvedPublic1 Estimated Story Points

Description

Background

.cdx-mixin-button-css-icon-background-color() mixin has been introduced to provide a fallback for browsers not supporting mask-image.
As it consumes only foreground colors for icon coloring the name is confusing when using tokens.

Proposals

  1. .cdx-mixin-button-css-icon-fallback-color() – best compromise IMO
  2. .cdx-mixin-button-css-icon-mask-fallback-color() – descriptive but too complex
  3. .cdx-mixin-button-css-icon-mask-color() – doesn't work as it's not the mask color

Acceptance criteria

  • Rename the mixin in Codex

Event Timeline

Restricted Application triaged this task as High priority. · View Herald TranscriptMay 9 2023, 1:57 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

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

[design/codex@main] styles, mixins: Name icon fallback mixin more appropriately

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

Volker_E set the point value for this task to 1.

Change 917894 merged by jenkins-bot:

[design/codex@main] styles, mixins: Name icon fallback mixin more appropriately

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

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

[mediawiki/core@master] Update Codex from v0.9.1 to v0.10.0

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

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

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

https://patchdemo.wmflabs.org/wikis/8333e57f25/w/

Change 918598 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.9.1 to v0.10.0

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