Page MenuHomePhabricator

Use tokens in Codex components code
Closed, ResolvedPublic

Description

Goal

With tokens architecture settled on, the tokens need to be used in Codex current components by

  • replacing WikimediaUI Base,
  • following the token architecture agreements (example: don't use @color tokens outside color: property)
  • expanding existing code to all available Codex tokens (example @box-sizing-base instead of static border-box value), in short tokenize everything according to our architecture guidance

Criteria for Done

Apply Codex tokens to

  • Button
  • Icon
  • Checkbox and
  • Radio with binary-input mixin
  • ToggleSwitch
  • ToggleButton
  • Text input
  • Lookup
  • Combobox
  • Select
    • Option
  • TypeaheadSearch
  • ListTile
    • ListTileLabel
  • Message

With above changes merged, the remaining custom SFC tokens still in place are tackled in T295711

Event Timeline

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

[design/codex@main] Icon, tokens: Make Icon component use Codex tokens

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

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

[design/codex@main] tokens: Make Button component use Codex tokens

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

Change 747459 merged by jenkins-bot:

[design/codex@main] Icon, tokens: Make Icon component use Codex tokens

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

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

[design/codex@main] text input, tokens: Make component use Codex tokens

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

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

[design/codex@main] Message, tokens: Make Message component use Codex tokens

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

Change 762943 merged by jenkins-bot:

[design/codex@main] TextInput, tokens: Make TextInput component use Codex tokens

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

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

[design/codex@main] Select, tokens: Make Select component use Codex tokens

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

Volker_E updated the task description. (Show Details)

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

[design/codex@main] Lookup, tokens: Make Lookup component use Codex tokens

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

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

[design/codex@main] Combobox, tokens: Make Combobox component use Codex tokens

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

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

[design/codex@main] Checkbox, Radio, tokens: Make binary input components use Codex tokens

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

Change 764444 merged by jenkins-bot:

[design/codex@main] Lookup, tokens: Make Lookup component use Codex tokens

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

Change 763577 merged by jenkins-bot:

[design/codex@main] Message, tokens: Make Message component use Codex tokens

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

Change 763752 merged by jenkins-bot:

[design/codex@main] Select, tokens: Make Select component use Codex tokens

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

Change 764449 merged by jenkins-bot:

[design/codex@main] Combobox, tokens: Make Combobox component use Codex tokens

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

Change 746833 merged by jenkins-bot:

[design/codex@main] Button, tokens: Make Button component use Codex tokens

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

Volker_E updated the task description. (Show Details)

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

[design/codex@main] ListTile, ListTileLabel, tokens: Make ListTile components use Codex tokens

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

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

[design/codex@main] TextInput, tokens: Use `transition-property-base`

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

Change 767228 merged by jenkins-bot:

[design/codex@main] TextInput, tokens: Use `transition-property-base`

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

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

[design/codex@main] ToggleSwitch, tokens: Make toggle switch component use Codex tokens

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

Volker_E updated the task description. (Show Details)

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

[design/codex@main] TypeaheadSearch, tokens: Make toggle switch component use Codex tokens

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

Change 767122 merged by jenkins-bot:

[design/codex@main] ListTile, ListTileLabel, tokens: Make ListTile components use Codex tokens

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

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

[design/codex@main] docs: Replace WikimediaUI Base with Codex design tokens reference

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

Change 764452 merged by jenkins-bot:

[design/codex@main] Checkbox, Radio, tokens: Make binary input components use Codex tokens

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

Change 767900 merged by jenkins-bot:

[design/codex@main] docs: Replace WikimediaUI Base with Codex design tokens reference

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

Change 767840 merged by jenkins-bot:

[design/codex@main] ToggleSwitch, tokens: Make toggle switch component use Codex tokens

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

Volker_E updated the task description. (Show Details)

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

[design/codex@main] Removing remaining references to 'WikimediaUI Base' and uninstall

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

Change 767867 merged by jenkins-bot:

[design/codex@main] TypeaheadSearch, tokens: Make typeahead search component use Codex tokens

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

Change 770042 merged by jenkins-bot:

[design/codex@main] Removing remaining references to 'WikimediaUI Base' and uninstall

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

Volker_E removed a project: Patch-For-Review.
Volker_E updated the task description. (Show Details)