Skip to content

Color token for add/subtract icons in Counter component #2594

@gio-tagli-telefonica

Description

@gio-tagli-telefonica

Describe the bug

I've noticed the Counter component in Figma is using the controlActivated color token with 50% opacity in the disabled state of "Add" and "Subtract" buttons:

Image

However, the Counter Specs document in Figma says they should use the control color token:

Image

In Storybook, the Counter component is also using the control color token for the "Add" and "Subtract" buttons when disabled:

Image

What is the correct color token?

What libraries are you seeing the problem on?

Vivo Library

Steps to reproduce

  1. Check Counter color tokens in Mística Mobile / Mística Desktop libraries in Figma.
  2. Check Counter color tokens in Counter Specs in Figma.
  3. Check Counter color tokens in code.
  4. Compare differences.

Expected behavior

I believe the "Add" and "Subtract" buttons in Counter component should be using the control color token in Figma.

Metadata

Metadata

Assignees

Labels

bug 🐞Something isn't working

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions