Skip to content

mosaiqo/mosaiqo.polymer.color-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Mosaiqo ColorPicker

It's a simple color picker made with Polymer. It is just a simple aproach, and the very first version.

###Try It Create your project directory

mkdir my-project

Then you need to install Polymer

bower init
bower install --save polymer

Donwload ColorPicker:

git clone https://github.com/boudydegeer/mosaiqo-color-picker.git

Create an index.html file and paste in this code

<!DOCTYPE html>
<html>
  <head>
    <title>Mosaiqo Color Picker</title>
  </head>
  <body>
      <!-- 1. Load platform support before any code that touches the DOM. -->
      <script src="bower_components/platform/platform.js"></script>
      <section>
        <h4>Mosaiqo Color Picker</h4>
        <article>
          <!-- 2. Load the component using an HTML Import -->
          <link rel="import" href="color-picker.html">
          <mosaiqo-color-picker name="Red" color="#ff0000"> </mosaiqo-color-picker>
        </article>
      </section>
  </body>
</html>```

Thats it!!!

Enjoy


### Changelog

+ version 0.2.0
  * Now you can search for a color name
  * Updated the styles
  * Added new tooltip for mouse over a color
  * Changed Chevron color in function of the background color

About

Color picker web components made with polymer

Resources

License

Stars

Watchers

Forks

Packages

No packages published