The color values from palettes are used via colour(/color) macro.

How you can see in $:/themes/tiddlywiki/vanilla/base  many values of some 
properties are direcly transclude or with macro.
For example, the selector mentioned by you:

body.tc-body {
    font-size: {{$:/themes/tiddlywiki/vanilla/metrics/fontsize}};
    line-height: {{$:/themes/tiddlywiki/vanilla/metrics/lineheight}};
    word-wrap: break-word;
    <<custom-background-datauri>>
    color: <<colour foreground>>;
    *background-color: <<colour page-background>>;*
    fill: <<colour foreground>>;
}

You will need create a palette for your theme
El jueves, 26 de agosto de 2021 a las 16:18:46 UTC+2, [email protected] 
escribió:

> Hi,
>
> Recently I have been working on my tw5-primer theme, and some feedback I 
> have gotten suggests that the theme doesn't allow palette tweaking. Testing 
> on my own, I was able to verify it, indeed, doesn't allow this behaviour, 
> and I have begun to fix it.
>
> Here is the issue: even simplifying the CSS, the theme still overrides the 
> palette changes. For example, if I am working on .tc-body, I add the 
> following CSS to my theme
>
> body.tc-body {
>      background-color: #000;
> }
>
> , which changes the background to black. However, if a user goes to change 
> the palette, which, say, changes the background to white, it doesn't work, 
> because the palette call of
>
> body.tc-body {
>      background-color: #fff;
> }
>
> is still overridden. As far as I can tell, my theme CSS cannot be 
> simplified further to where it is not override ALL the timer.
>
> Is any tw dev/experienced theme-maker able to help?
>

-- 
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/b234dd1d-7513-46cb-924f-e831756e01acn%40googlegroups.com.

Reply via email to