generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sudhanshu Dasgupta <[email protected]>
- Loading branch information
1 parent
f6abad9
commit 6b861df
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |