Hi Jeremy,

On Sat, Mar 13, 2021 at 5:11 PM Jeremy Ruston <[email protected]>
wrote:

> Of the 123 selectors, an awful lot fall into some special categories like
> diffs, alerts, modals, and TiddlyDesktop’s wikilist. Adding foldable groups
> to the palette editor would go a long way to making things more
> comprehensible.
>
>
So, we can with much smaller set!



> Ideally, the user would select a handful of cornerstone colours and there
> would be sensible defaults to ripple them through the specific entries,
> most of which should be expressed in terms of those cornerstone colours.
>


Do you recommend having a dynamic stylesheet or have a tool to create the
static stylesheet? The question is true for the color palette.


>
> To do that, we’d probably need some colour mixing macros, so that one
> could set a palette entry to, say, the primary colour at 50% brightness.
>

In color play I have used a small blend macro (JS) to create shades and
tints the outs are acceptable and you can mix any other color. It uses a
simple formula like below:

// 4: blend
var color3 = [
(1 - percentage) * color1[0] + percentage * color2[0],
(1 - percentage) * color1[1] + percentage * color2[1],
(1 - percentage) * color1[2] + percentage * color2[2] ];


(see: https://colorplay.tiddlyhost.com/#Color%20Scheme%20UI%20with%20Stripe)
other properties like alpha value can be added.

Best wishes
>
> Jeremy
>
> On 12 Mar 2021, at 04:50, Mohammad Rahmani <[email protected]>
> wrote:
>
> Hi Chris,
>  Thank you for your reply!
>   Yes, I think so, getting to sort out the vanilla palette and try
> removing extra selectors is a tough job!
>  I like to know what Jeremy thinks about this.
>
>
> Best wishes
> Mohammad
>
>
> On Fri, Mar 12, 2021 at 5:26 AM clutterstack <[email protected]> wrote:
>
>> Hi Mohammad,
>>
>> I very much agree that the palette is very uncomfortable to tweak
>> selector-by-selector.
>>
>> I think this has grown organically and cleaning it up (or rethinking the
>> impact of changing it) is a tedious job. What breaks if we don't have all
>> the selectors currently in Vanilla? I haven't investigated (except
>> occasionally by accident, ha).
>>
>> There are a bunch of "wikilist" ones at the end that I think are for
>> TiddlyDesktop(?) and so add to the number without making the TW theming
>> more complicated.
>>
>> I haven't looked (and I should, if I'm going to be playing with this sort
>> of thing), but I would guess that there are themes out there that don't
>> need Vanilla, with fewer selectors.
>>
>> I'm rambling. I agree with what you say. At the moment, it seems to me
>> that grouping some selectors together, as I'm doing, but perhaps a bit less
>> aggressively (or more aggressively?) will make it easier for users to make
>> themes without making any changes to the core.
>>
>> Thomas Elmiger and Jeremy have evidently been thinking about colour and
>> colour harmony tools for some time, from the thread you referenced
>> (Jeremy's response and TT's link to telmiger's colour tools page).
>>
>> Best,
>> Chris
>>
>> On Thursday, March 11, 2021 at 11:52:59 AM UTC-5 Mohammad wrote:
>>
>>> Referencing to Tweakable colour palette
>>> <https://groups.google.com/g/tiddlywiki/c/lGabtMCLmyk/m/y_SV5jdhAgAJ>
>>>
>>> 1. Goto https://tiddlywiki.com/
>>> 2. Open the Advanced search
>>> <https://tiddlywiki.com/#%24%3A%2FAdvancedSearch>
>>> 3. In the filter tab enter [[$:/palettes/Vanilla]indexes[]count[]]
>>>
>>> You see there are *132 *css selectors!
>>>
>>> Trying to create a new template is a BIG headache!
>>>
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/391bb0be-beb1-49be-b5b8-7db652f773e6n%40googlegroups.com
>> <https://groups.google.com/d/msgid/tiddlywiki/391bb0be-beb1-49be-b5b8-7db652f773e6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMASjkk1iLiQvLH36JS8MhwZxjAF9sxYteR28Fyz%3D%2BFNoA%40mail.gmail.com
> <https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMASjkk1iLiQvLH36JS8MhwZxjAF9sxYteR28Fyz%3D%2BFNoA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/F8C6DB38-F45D-4FDE-A651-31714553D9AA%40gmail.com
> <https://groups.google.com/d/msgid/tiddlywiki/F8C6DB38-F45D-4FDE-A651-31714553D9AA%40gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMCcWtgehAVUWOMq%2BpLRObe%3D63uWOvmJ76pO28eWdcNWhQ%40mail.gmail.com.

Reply via email to