Skip to content

Commit

Permalink
falsy values in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbs authored Apr 13, 2019
1 parent f6224ab commit 57f7753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ This is useful if you only want to highlight particular values in the grid and h

#### Should Hide If No

The indicator can be hidden if the field value is anything that PHP considers as falsy, i.e. false, 0, null or '':
The indicator can be hidden if the field value is anything that PHP considers as falsy, i.e. `false`, `0`, `null` or `''`:

```php
Indicator::make('Status')
Expand Down Expand Up @@ -121,7 +121,7 @@ The array key is the raw field value and the array value is the desired colour.
If a colour is not specified for a status, it will be displayed as grey.

The available colours are the default "base" colours from [Tailwind](https://tailwindcss.com/docs/colors), with the addition of black:
- black (#22292F)
- black (#22292F)
- grey or gray (#B8C2CC)
- red (#E3342F)
- orange (#F6993F)
Expand Down

0 comments on commit 57f7753

Please sign in to comment.