You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,11 +157,12 @@ make lint
157
157
158
158
### theme
159
159
160
-
- Theme directory contains all the theme related files. The theme directory contains the following subdirectories like
161
-
`Colors`- contains all the colors that are used in the project or theme components.
162
-
`components` - contains all the theme components like `Button`, `Typography` with brand colors.
163
-
`typography.ts` - contains all the typography related files like `font-size`, `font-family` etc.
164
-
`palette.ts` - contains all the tokens that are used in the project and used in components.
160
+
- Theme directory contains all the theme related files. The theme directory contains the following subdirectories like:
161
+
-`Colors`- contains all the colors that are used in the project or theme components.
162
+
-`components` - contains all the theme components like `Button`,
163
+
-`Typography` with brand colors.
164
+
-[`typography.ts`](https://github.com/layer5io/sistent/blob/master/src/theme/typography.ts) - contains all the typography related files like `font-size`, `font-family` etc.
165
+
-[`palette.ts`](https://github.com/layer5io/sistent/blob/master/src/theme/palette.ts) - contains all the tokens that are used in the project and used in components.
165
166
166
167
Through the theme directory, we export the SistentThemeProvider which is used to provide the theme to the project.
0 commit comments