Closed daniele-zurico closed 1 month ago
.dcx-skeleton
.dcx-skeleton-variant-{text | circular | rectangular | rounded}
.dcx-skeleton-animation-{wave | pulsate}
When developing take a close look to the FormInput component. It is a form element as well, the tokens and styling approach should be similar.
Considerations:
src/design-system/tokens.json
src/design-system/skeleton.css
src/design-system/index.css
Possible tokens:
Follow the naming pattern
Create the pages for:
On each MDX page make examples for each possible variant
Please follow these steps to create your branch:
git checkout release/1.1.0 git pull git checkout -b 'feature/skeleton-design-system'
closed with https://github.com/Capgemini/dcx-react-library/pull/676
Skeleton - Design System
1 - Prerequisites
.dcx-skeleton
class name.dcx-skeleton-variant-{text | circular | rectangular | rounded}
class name..dcx-skeleton-animation-{wave | pulsate}
class name.2 - Overview
2.1 - Possible states
2.2 - Variants
2.3 - Structure
When developing take a close look to the FormInput component. It is a form element as well, the tokens and styling approach should be similar.
2.4 - Tokens definition
Considerations:
src/design-system/tokens.json
src/design-system/skeleton.css
src/design-system/index.css
Possible tokens:
Follow the naming pattern
3 - Storybook
Create the pages for:
On each MDX page make examples for each possible variant
4 - Initial setup
Please follow these steps to create your branch: