You may want to consider a few "multipliers." I've included the code I added
this to my aspects library. It includes contrast, transparency and
brightener (not by color component though). Just a thought if you are adding
this in. The code was designed to configure in the serializer under my
component actions (styles) model versus json specification.



-----Original Message-----
From: Greg Brown (JIRA) [mailto:[email protected]] 
Sent: Tuesday, September 21, 2010 8:39 PM
To: [email protected]
Subject: [jira] Commented: (PIVOT-245) In Skin json file, add optional
coefficients for darkening and brightening base colors


    [
https://issues.apache.org/jira/browse/PIVOT-245?page=com.atlassian.jira.plug
in.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913326#action_1
2913326 ] 

Greg Brown commented on PIVOT-245:
----------------------------------

Why not add a new signature with the multiplier and have the existing
signature delegate to it with the default multiplier?


> In Skin json file, add optional coefficients for darkening and brightening
base colors
>
----------------------------------------------------------------------------
----------
>
>                 Key: PIVOT-245
>                 URL: https://issues.apache.org/jira/browse/PIVOT-245
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: patch.txt
>
>
> Could be useful to add (also in the json file):
> optional coefficients for darkening and brightening base colors, otherwise
the default of the theme (in Terra it's + / - 10%) will be used.
> Because on some color schemes the default it's not enough ... I've just
seen with my dark scheme.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to