Skip to content

Commit

Permalink
Adjust docs for color swatch
Browse files Browse the repository at this point in the history
  • Loading branch information
theboxer committed Jul 2, 2019
1 parent 97a6112 commit 67696fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/themer/options/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ The following Settings types are used to configure Elements in Fred.
- Color can be either a `string` or an `object` with following properties:
- `value` - the value passed to Twig for the color, which can be anything
- `color` - the displayed color for the swatch
- `colorAsClass` - if set to `true` the `color` value will be added as a class to the option, instead of setting as a background
- `label` - an arbitrary label for the swatch
- `width` - width of the color option, default is `1`

#### colorpicker

Expand Down

0 comments on commit 67696fe

Please sign in to comment.