[Vtigercrm-developers] Picklist colour for text

nilay khatri nilay.spartan at gmail.com
Tue Jul 27 10:49:28 GMT 2021


Kool. But better if one can choose the colour :)

Sometimes in the list it turns all white as well.

On Tue, Jul 27, 2021 at 3:43 PM Alan Lord <alanslists at gmail.com> wrote:

> On 27/07/2021 10:33, nilay khatri wrote:
> > How can we define the colour for text in picklist? Does it picks up the
> > colour automatically based on contrast?
> >
> > In colour picker we get 2 boxes, why is that?
> >
> > How is this happening, that pre-release is in white and rest all are in
> > black?
>
> I would guess you need to look at this code for a starting point:
>
>
> https://code.vtiger.com/vtiger/vtigercrm/blob/master/layouts/v7/modules/Settings/Picklist/resources/Picklist.js#L567
>
> And in particular this method:
>
> app.helper.getColorContrast(color);
>
> HTH
>
> Al
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20210727/a5b9f65c/attachment.html>


More information about the vtigercrm-developers mailing list