Skip to content

Commit

Permalink
chore(CONTRIBUTING): fix theming section
Browse files Browse the repository at this point in the history
  • Loading branch information
coelhucas committed Sep 24, 2021
1 parent 37cbd8f commit e1c079e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,9 @@ packages
└─index.native.js
```

### Theme
### Theming

Currently, we have 3 predefined themes `Corporate`, `EndUser` and `Gyms`, all
of them follows the `BaseTheme` object.

Every component has its own `theme` file. You can find it in its own folder.

When building a new component, make sure to add values like paddings, colors,
margins, to the component theme file.
Yoga exposes a `createTheme` function in order to generate new themes, you can refer to [Theme Generator](https://gympass.github.io/yoga/components/theming/themeGenerator) in order to see how to create custom themes.

### Web

Expand Down

0 comments on commit e1c079e

Please sign in to comment.