ehsanpo / storybook-styleguide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Design Systems boilerplate build with Storybook and Chromatic.

This is an starter for making an Design system using Design tokens. This template ships with the main React configuration files you'll need to get up and running fast.

What I want to achieve :

  • Type safe variable for css
  • Apreview of all Tokens
  • Using Design Tokens
  • Having multi Theme (Dark/light)
  • A few starter components
    • Button
    • Card
    • Links
    • Badge
  • HTML Starter for pages and sections

πŸ”Ž What's inside?

A quick look at the top-level files and directories included with this template.

.
β”œβ”€β”€ node_modules
β”œβ”€β”€ src
β”œβ”€β”€ .babelrc.json
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .prettierignore
β”œβ”€β”€ .prettierrc
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package.json
β”œβ”€β”€ rollup.config.mjs
β”œβ”€β”€ vite.config.js
β”œβ”€β”€ yarn.lock
└── README.md
  1. node_modules: This directory contains all of the modules of code that your project depends on (npm packages).

  2. src: This directory will contain all of the code related to what you will see on your application.

  3. .babelrc.json: This file tells babel which presets and plugins to use when transforming your code.

  4. .gitignore: This file tells git which files it should not track or maintain during the development process of your project.

  5. .prettierignore: This file tells prettier which files it should not format.

  6. .prettierrc: This file tells prettier which rules to use when formatting your code.

  7. LICENSE: The template is licensed under the MIT licence.

  8. package.json: Standard manifest file for Node.js projects, which typically includes project specific metadata (such as the project's name, the author among other information). It's based on this file that npm will know which packages are necessary to the project.

  9. rollup.config.mjs: This file tells rollup which plugins to use when bundling your code.

  10. yarn.lock: This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (Do not change it manually).

  11. vite.config.js: This file tells Vite which plugins to use when bundling your code.

  12. README.md: A text file containing useful reference information about the project.

About

License:MIT License


Languages

Language:JavaScript 87.7%Language:MDX 8.9%Language:CSS 3.4%