We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.dcx-toggle
.dcx-toggle-custom-on-label
.dcx-toggle-custom-off-label
When developing take a close look to the FormSelect 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/toggle.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.0.0 git pull git checkout -b 'feature/toggle-design-system'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Toggle - Design System
1 - Prerequisites
.dcx-toggle
class name.dcx-toggle-custom-on-label
class name.dcx-toggle-custom-off-label
class name2 - Overview
2.1 - Possible states
2.2 - Variants
2.3 - Structure
When developing take a close look to the FormSelect 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/toggle.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:
git checkout release/1.0.0 git pull git checkout -b 'feature/toggle-design-system'
The text was updated successfully, but these errors were encountered: