KroneCorylus / ngx-colors

Simple yet elegant Material color picker for Angular
https:\\ngx-colors.web.app
MIT License
87 stars 24 forks source link

Feature: add a config provider for panel #121

Open richardsengers opened 5 days ago

richardsengers commented 5 days ago

Maybe it's a good idea to add a config provider for the panel, so we are able to change the panel config as a global setting per application. (for instance the width, height etc)

As a workaround I tried to change the width and height in css, but then, the cursor position in the color picker is incorrect

KroneCorylus commented 5 days ago

Hi @richardsengers, thanks for the suggestion!

For version 4.0, the color picker has been completely overhauled to be responsive to various sizes. While there won’t be a config option for dimensions specifically (at least for now), you can still adjust the size using CSS. I’m also working on simplifying the CSS to make theming much easier.

Adding a config provider is definitely on the roadmap for 4.0

richardsengers commented 5 days ago

Hi, very nice to hear, thank you. Waiting patiently for version 4 :-)