md-color-picker icon indicating copy to clipboard operation
md-color-picker copied to clipboard

customisations....

Open ganySA opened this issue 9 years ago • 13 comments

Any chance we can add some options to allow customisation of the UI? For example

  1. hide elements of the UI we dont want to make available..
  2. limit the colors to a specific pallet
  3. hide the heading, tabs etc

That sort of thing....

ganySA avatar Jan 14 '16 17:01 ganySA

Other options that would be awesome:

  • Remove the preview's input containers so that just the 'color dots' are visible
  • Remove the tabs for HEX/RGB/HSL so that only one type is visible
  • Hide the big giant text color value

These would be improvements for non-technical users who don't care/know about the color values, they just want to pick a color.

Also adding an optional title for the dialog would be great!

dannoblammo avatar Apr 07 '16 21:04 dannoblammo

+1

brianpkelley avatar Apr 08 '16 11:04 brianpkelley

"Remove the preview's input containers so that just the 'color dots' are visible" +1

Liron-K avatar Apr 08 '16 14:04 Liron-K

"Remove the tabs for HEX/RGB/HSL so that only one type is visible" +1

OrangeDuck91 avatar Apr 21 '16 07:04 OrangeDuck91

Hey, @OrangeDuck91, @dannoblammo, @brianpkelley I've just created PR with an ability to disable HEX, RGB or HSL tabs in the very top of the dialog window. Check it out here: https://github.com/brianpkelley/md-color-picker/pull/65 screenshot from 2016-05-31 17 58 55

volodymyrlut avatar May 31 '16 15:05 volodymyrlut

@volodymyrlut Thanks for your work!! We will need to a check if hex is the only available option and disable the alpha option in response. If you don't feel like adding that I can add it when I merge the pr.

Thanks again!

brianpkelley avatar May 31 '16 15:05 brianpkelley

@brianpkelley You mean, if only mdColorHex is left, mdColorAlphaChannel should be set to 'false'?

volodymyrlut avatar May 31 '16 15:05 volodymyrlut

@volodymyrlut Correct, thats a much easier explanation than mine. 👍

brianpkelley avatar May 31 '16 15:05 brianpkelley

@brianpkelley Ok, I've updated the PR:)

volodymyrlut avatar May 31 '16 16:05 volodymyrlut

Just a note on whats coming up.

Massive refactoring:

  • Ability to add custom notations, set the order and add/remove dynamically #16 #79 #52
  • Ability to add custom color pickers, set the order and add/remove dynamically
  • Extendable gradient class for creating canvas objects to be used as a color picker
  • Moving away from using the canvas.context.getImageData to a purely calculated approach
  • Ability to set labels ( i18n ) #23
  • mdColorPickerConfigProvider to set / add options
  • Breaking out individual components, preview, input, clear etc. #79 #73

I'm sure theres more that I'm forgetting, but hopefully this will resolve a lot of the customizability issues everyone is having.

Unfortunately there will be breaking changes, but hopefully they will help declutter some things and make everything better.

image

brianpkelley avatar Jul 19 '16 20:07 brianpkelley

It would be cool if you could use custom templates. Any thoughts on implementing that ?

sierraindiagolf avatar Sep 15 '16 07:09 sierraindiagolf

Would be great to see this implemented

myagoo avatar Dec 01 '16 15:12 myagoo

@brianpkelley What's the v1.0 timeline? My designer is looking forward to some improvements on this :).

Liron-K avatar Dec 01 '16 16:12 Liron-K