Merged
Conversation
- Added ability to allow or disallow custom colors - Made picker more usable and match up to the input - Picker shows when input is focused - Added additional format support
Member
|
Something seems off about the font, is that the default font? Maybe we should use a mono space font instead |
Member
Author
|
@LukeTowers yeah it's the default body font. I'll change it to monospace. |
Member
|
Could we also provide |
Member
Author
|
@LukeTowers multiple format support has been added. |
If available colors are specified on a particular color picker, those will be used instead.
Member
|
Is there a docs PR for the changes? |
Member
Author
|
@LukeTowers not yet - I'll put one through shortly. Any further thoughts on this, as it is ready to merge? |
bennothommo
added a commit
to wintercms/docs
that referenced
this pull request
Oct 12, 2021
LukeTowers
reviewed
Oct 12, 2021
modules/backend/formwidgets/colorpicker/partials/_colorpicker.htm
Outdated
Show resolved
Hide resolved
LukeTowers
reviewed
Oct 12, 2021
modules/backend/formwidgets/colorpicker/assets/js/colorpicker.js
Outdated
Show resolved
Hide resolved
Mrkbingham
reviewed
Oct 14, 2021
bennothommo
added a commit
to wintercms/docs
that referenced
this pull request
Oct 25, 2021
LukeTowers
added a commit
that referenced
this pull request
Nov 13, 2021
* develop: (25 commits) Support embedded data URIs in the list image column type Make some adjustments to the readme content Update banner in readme Add new GitHub banner Documentation with icons (#347) Limit options shown in group filter, apply scope when retrieving filtered options Add Exception on wrong relation type in relation formwidget (#334) Redesigned color picker widget (#324) Add winter:test command (#202) Use the correct backend timezone config key (#337) Get changelog only of the current branch Fix Markdown editor sizing issue on Chrome. Check overrides for parent locale when compiling language files (#242) Fixing commas in English translation files (#305) Added Latvian translations for Allowed IP messages (#304) Add missing filter translations (#303) Clean up newlines Update Russian language (#302) Fix issue present in overriding RelationController partials using the default code Maintenance Allowed IP list (#147) ...
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a newly redesigned color picker widget, built on top of the Pickr UI widget as opposed to Spectrum, which has not seen a release since 2016.
Benefits
New config options
cmyk,hex,hslandrgb. Specifyingallas a string will allow all formats. Defaults tohex.false, only the colors specified inavailableColorswill be available for selection. The color picker palette will be disabled. Defaulttrue.Notes