hakilebara / ember-color-palette

An Ember component that displays a color palette.

Home Page:http://hakilebara.com/ember-color-palette/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ember-color-palette

build status

ember observer score

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

Documentation

Here you'll find a detailed documentation

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.

About

An Ember component that displays a color palette.

http://hakilebara.com/ember-color-palette/

License:MIT License


Languages

Language:JavaScript 76.7%Language:HTML 18.3%Language:CSS 5.0%