Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/default-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Theming in NativeBase is based on the **[Styled System Theme Specification](htt
## Colors

You can add a `theme.colors` object to provide colors for your project. By default these colors can be referenced by the `color`, `borderColor`, `backgroundColor`, etc.. props.
You can also add `.alpha.{number}` to add levels of opacity to a colour. The number can also be added in the theme file.
Ex: `red.300.alpha.30`, You can read more about this in [`opacity section`](default-theme#opacity)
You can also add `.alpha:{number}` to add levels of opacity to a colour. The number can also be added in the theme file.
Ex: `red.300:alpha.30`, You can read more about this in [`opacity section`](default-theme#opacity)

We recommend adding a palette that ranges from `50` to `900`. Tools like **[Smart Swatch](https://smart-swatch.netlify.app/)**, **[Palx](https://palx.jxnblk.com/)** are available to generate these palettes.

Expand Down