dlabs-design-system-demo v1.1.2
DLABS Design System
Welcome to the DLabs Design System brought to you by DLabs.
Tailored for building DLabs apps: Using the Dlabs Design System markup and CSS framework results in UIs that reflect the DLabs look and feel.
Want to see the project hosted live? Go to {TODO: ADD PROD DOMAIN}
Pre Requisites
You'll need the following installed:
- Install Git: https://git-scm.com/downloads
- Install Node.js: https://nodejs.org/en/download/
- Install Yarn: https://yarnpkg.com/getting-started/install
Quick start
Clone the project with
git clone https://github.com/DeAceroDLabs/design-system.gitChange into the design-system folder using
cd design-systemInstall the dependencies using
yarn installYou can also use npm
npm installFor running the development server
yarn storybookOpen http://localhost:6006/ with your browser to see the result.
You can edit the components or add new ones in the src/stories folder.
How to colaborate
If you are assigned with creating a new component for the design system, there are these simple steps.
Create the branch where you will build your component. PLEASE don't do it directly con development.
git checkout -b feature/[jira_ticket] // for a new component or adding extra functionality 🔥git checkout -b fix/[jira_ticket] // for fixing a bad bahaviour with any component 👩🚒git checkout -b chore/[jira_ticket] // for other stuff like refactoring, moving stuff... 👩🎨Develop your component.
- Inside the
src/storiesfolder, create a new folder with the name of your new component. - Inside your folder create a file for the component with
.tsxextension, one more for the.cssand lastly the one for stories using.stories.ts. - Start with your
tsxandcssfiles to create your component. - Add stories! Here you will show all the scenarios your component is made for, be creative.
- Inside the
Create the pull request for your new feature or fix. Be sure to ask your teammates for a deep review.
Learn More
To learn more about Storybook, take a look at the following resources:
- Storybook main site - learn more about Storybook and what they offer.
- Storybook guides site - Check the guides so you can take a look of what can you do with storybook
- Storybook tutorials site Check the latest and very complete tutorials from Storybook.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
This is a Next.js project bootstrapped with create-next-app.
2 years ago