0.0.5 • Published 5 years ago

ember-color-palette v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

ember-color-palette

Displays a color palette. Heavily inspired by https://github.com/chrislopresto/ember-freestyle.

Compatibility

Installation

ember install ember-color-palette

Usage

  // controller.js
  const colors = [
    { name: "blue100", base: "#e8f5ff" },
    { name: "blue400", base: "#068dfe" },
    { name: "blue500", base: "#0890ff" },
    { name: "blue600", base: "#077ee0" },
    { name: "blue700", base: "#066fc4" },
    { name: "blue800", base: "#0765b3" }
  ];


<!-- template.hbs -->
<ColorPalette @colors={{this.colors}} @title={{this.title}} @description={{this.description}}/>

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.