3.0.2 • Published 3 years ago

ember-palette v3.0.2

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

ember-palette

Simple palette component for choosing a predefined color

NPM Build Status Ember Observer Score

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.

3.0.2

3 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.2

6 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago