Capgemini / dcx-react-library

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

Skeleton - Design System #553

Closed daniele-zurico closed 1 month ago

daniele-zurico commented 11 months ago

Skeleton - Design System

1 - Prerequisites

2 - Overview

2.1 - Possible states

Name Description
Default Instance without specific properties defined

2.2 - Variants

Name Description
text text look & feel
circular circular look & feel
rectangular rectangular look & feel
rounded rounded look & feel

2.3 - Structure

Element Description  Token Name
Skeleton The host element container  skeleton

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:

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:

git checkout release/1.1.0
git pull
git checkout -b 'feature/skeleton-design-system'
jgonza16 commented 1 month ago

closed with https://github.com/Capgemini/dcx-react-library/pull/676