mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-27 20:36:33 -04:00
Grammar fixes in color picker docs
This commit is contained in:
@@ -299,9 +299,9 @@ A dropdown menu containing multiple options.
|
||||
A color picker that allows users to choose a color from the ones that are compatible with their Pebble smartwatch.
|
||||
The color picker will automatically show a different layout depending on the watch connected:
|
||||
|
||||
- aplite (Firmware 2.x) - Black and White
|
||||
- aplite (Firmware 3.x) - Black, White and Gray
|
||||
- basalt/chalk - The 64 colors available compatible with color Pebble smartwatches.
|
||||
- Aplite (Firmware 2.x) - Black and white
|
||||
- Aplite (Firmware 3.x) - Black, white and gray
|
||||
- Basalt/chalk - The 64 colors compatible with color Pebble smartwatches.
|
||||
|
||||
##### Properties
|
||||
|
||||
@@ -314,7 +314,7 @@ The color picker will automatically show a different layout depending on the wat
|
||||
| defaultValue | string OR int | The default color. Always use the uncorrected value even if `sunlight` is true. The component will do the conversion internally. |
|
||||
| description | string | Optional sub-text to include below the component |
|
||||
| sunlight | boolean | Use the color-corrected sunlight color palette if `true`, else the uncorrected version. Defaults to `true` if not specified. |
|
||||
| layout | string OR array | Optional. Use a custom layout for the color picker. Defaults to automatically choosing the most appropriate layout for the connected watch. The layout is represented by a two dimensional array. Use `false` to insert blank spaces. You may also use one of the preset layouts by setting `layout` to one of the following: `"COLOR"`, `"GRAY"`, `"BLACK_WHITE"` |
|
||||
| layout | string OR array | Optional. Use a custom layout for the color picker. Defaults to automatically choosing the most appropriate layout for the connected watch. The layout is represented by a two dimensional array. Use `false` to insert blank spaces. You may also use one of the preset layouts by setting `layout` to: `"COLOR"`, `"GRAY"` or `"BLACK_WHITE"` |
|
||||
|
||||
##### Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user