Closed cg-mmirca closed 1 year ago
⚠️ This ticket can only be start once the ticket 466 is completed
.dcx-button
.dcx-button--[variant]
Possible states:
Variants:
We need to define tokens for all the combinations between states and variants:
Keeping in mind we have the elements:
Create the pages for:
On each MDX page make examples for:
Considerations:
src/design-system/tokens.json
src/design-system/button.css
src/design-system/index.css
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'
dependency solved by https://github.com/Capgemini/dcx-react-library/pull/490
Prerequisites
⚠️ This ticket can only be start once the ticket 466 is completed
.dcx-button
class name.dcx-button--[variant]
class name for all possible variantsOverview
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:
src/design-system/tokens.json
src/design-system/button.css
src/design-system/index.css
Possible tokens:
Follow the naming pattern:
F.e. for color-text-action_label-primary-disabled we have:
Please follow these steps to create your branch: