From 6b861dfe3d8ef245908f5db30d8a6e2c7fbb7957 Mon Sep 17 00:00:00 2001 From: Sudhanshu Dasgupta Date: Fri, 20 Sep 2024 20:05:03 +0530 Subject: [PATCH] feat(readme): source structure Signed-off-by: Sudhanshu Dasgupta --- src/readme.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/readme.md diff --git a/src/readme.md b/src/readme.md new file mode 100644 index 00000000..acda1fe2 --- /dev/null +++ b/src/readme.md @@ -0,0 +1,35 @@ +# Project Directory Structure + +## Overview of `/src` Directory + +### actors + +### assets + +- Assets are the files that are used in the project. These files can be images, videos, logos or fonts etc. The assets directory is used to store all the assets that are used in the project. + +### base + +- Base directory contains all the basic components that are used in the project. These components are the building blocks of the project. The base directory contains the following subdirectories like `Buttons`, `Forms`, `Typography` etc. + +### constants + +- Constants directory contains all the constants that are used in the project. These constants can be colors, fonts, breakpoints etc. + +### custom + +- Custom directory contains all the custom components using the theme colors. + +### icons + +- Icons directory contains all the icons that are used in the project or can be used in any of other projects. + +### theme + +- Theme directory contains all the theme related files. The theme directory contains the following subdirectories like + `Colors`- contains all the colors that are used in the project or theme components. + `components` - contains all the theme components like `Button`, `Typography` with brand colors. + `typography.ts` - contains all the typography related files like `font-size`, `font-family` etc. + `palette.ts` - contains all the tokens that are used in the project and used in components. + +Through the theme directory, we export the SistentThemeProvider which is used to provide the theme to the project.