Capgemini / dcx-react-library

React Library UI/UX agnostic
https://main--6069a6f47f4b9f002171f8e1.chromatic.com
MIT License
113 stars 6 forks source link

Button - Design System #468

Closed cg-mmirca closed 1 year ago

cg-mmirca commented 1 year ago

Prerequisites

⚠️ This ticket can only be start once the ticket 466 is completed

Overview

Possible states:

Variants:

We need to define tokens for all the combinations between states and variants:

Keeping in mind we have the elements:

Storybook

Create the pages for:

On each MDX page make examples for:

Token definition

Considerations:

Possible tokens:

Follow the naming pattern:

[token_category]-[element]-[variant]-[state]

F.e. for color-text-action_label-primary-disabled we have:

Please follow these steps to create your branch:

git checkout release/0.8
git pull
git checkout -b 'feature/ds-button'
daniele-zurico commented 1 year ago

dependency solved by https://github.com/Capgemini/dcx-react-library/pull/490