SMF icon indicating copy to clipboard operation
SMF copied to clipboard

[2.1] Add JS color picker for color input type fields

Open dragomano opened this issue 1 year ago • 9 comments

sshot-4

dragomano avatar Mar 22 '23 20:03 dragomano

I like https://github.com/mdbassit/Coloris a bit more

DiegoAndresCortes avatar Mar 23 '23 04:03 DiegoAndresCortes

Any such script is better than nothing.

dragomano avatar Mar 23 '23 06:03 dragomano

the script use gpl, could be a licence issue? also no mobile/touchscreen version, which would be less optimal than the default color picker of the browser?

albertlast avatar Mar 23 '23 21:03 albertlast

Answer with screenshots from the official site :)

2023-03-24 03_53_25-Download   License - jscolor_ JavaScript Color picker - Vivaldi

2023-03-24 03_55_47-jscolor_ JavaScript Color picker with Opacity (alpha channel) - Vivaldi

You can test it on the sandbox page.

dragomano avatar Mar 23 '23 22:03 dragomano

For 2.1 I do not see us adding this. Maybe in a future release

jdarwood007 avatar Mar 24 '23 00:03 jdarwood007

Answer with screenshots from the official site :)

2023-03-24 03_53_25-Download License - jscolor_ JavaScript Color picker - Vivaldi

2023-03-24 03_55_47-jscolor_ JavaScript Color picker with Opacity (alpha channel) - Vivaldi

You can test it on the sandbox page.

yea so possible license issue and "mobile view" doesn't exists.

not the best sollution in my pov

albertlast avatar Mar 24 '23 05:03 albertlast

SMF is released under a BSD-3 licence, which means SMF can't include code released under the GPL. GPL code can include BSD-3 code, but not the other way around.

Sesquipedalian avatar Mar 24 '23 13:03 Sesquipedalian

"mobile view" doesn't exists.

It works fine on mobile, not sure what you mean, behaves like any other input.

DiegoAndresCortes avatar Mar 24 '23 13:03 DiegoAndresCortes

Ok, I can change this to https://github.com/mdbassit/Coloris. It uses the MIT license.

dragomano avatar Apr 20 '23 07:04 dragomano