README
ember-palette
Simple palette component for choosing a predefined color
Compatibility
- Ember.js v3.12 or above
- Ember CLI v2.13 or above
- Node.js v10 or above
Installation
ember install ember-palette
Usage
<ColorPalette
@selected={{this.color}}
@onselect={{fn (mut this.color)}}
/>
API
selected
- CSS color string, hex is using default colors e.g. '#333333'.onselect
- Action that receives the selected color string.colors
- Array of color strings, overrides the default hex strings array.
Contributing
See the Contributing guide for details.
Attribution
Default colors taken from materialpalette.com.