Closed cg-mmirca closed 1 year ago
.dcx-formselect
.dcx-formselect--[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/formselect.css
src/design-system/index.css
Possible tokens:
Follow the naming pattern:
[token_category]-[element]-[variant]-[state]
F.e. for color-text-formcontrol_label-floating-filled we have:
color-text-formcontrol_label-floating-filled
Please follow these steps to create your branch:
git checkout release/0.8 git pull git checkout -b 'feature/ds'
closed by https://github.com/Capgemini/dcx-react-library/pull/421
Prerequisites
.dcx-formselect
class name.dcx-formselect--[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
file to store all Design Tokens in JSON formatsrc/design-system/formselect.css
src/design-system/index.css
that bundles all components CSS for Design System to workPossible tokens:
Follow the naming pattern:
F.e. for
color-text-formcontrol_label-floating-filled
we have:Please follow these steps to create your branch: