Editted, after following Odin advice: I changed the first four lines in  
$:/plugins/kookma/favorites/styles/image.css   to

.tc-tiddler-controls .notselected .tc-image-favorites-button {
 stroke:  #fff;
 fill:    #fff;
}
 
and it works, the heart icon has white stroke (same as other icon). But if 
I switch the button style to "Borderless" the hear icon is gone! 

I guess this is the problem of hardcoding the color of the heart icon so it 
doesn't adapt to the icon theme? 

Thank you
Pak

On Saturday, May 15, 2021 at 1:32:25 PM UTC+7 [email protected] wrote:

> Mohammad, I think this is setting in the core.  To see the issue, go to 
> https://kookma.github.io/TW-Favorites/#%24%3A%2Fcore%2Fui%2FControlPanel%2FSettings%2FToolbarButtonStyle
>  
> (your demo site). Change setting to "Rounded". The heart is still grey 
> while other icons change to white. Perhaps you hardcoded the heart color to 
> be grey?
>
> Odin,  thank you I will try that.
>
> Pak
>
> On Saturday, May 15, 2021 at 12:29:30 PM UTC+7 Odin wrote:
>
>> Pak,
>>
>> You can adjust the colour in this tiddler:  
>> $:/plugins/kookma/favorites/styles/image.css
>>
>> The values on the first line are the ones you want to change. You can 
>> look up the hex value of the colour in the palette you are using, i.e..  
>> *Tiddler 
>> controls foreground.*
>> The values on the second line change the colour of the icon after pressed.
>>
>> Op zaterdag 15 mei 2021 om 07:23:06 UTC+2 schreef Mohammad:
>>
>>> Hi Pack,
>>>  It seems you use the Zettelkasten edition from Soren! Check with Soren 
>>> to see what the CSS for buttons is! 
>>>  The Favorites work with both dark and light color palettes in 
>>> Tiddlywiki official!
>>>  By the way, lets see what Soren thinks! I will be happy to help!
>>>
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>>
>>> On Sat, May 15, 2021 at 9:11 AM [email protected] <[email protected]> 
>>> wrote:
>>>
>>>> Hi Mohammad,
>>>>
>>>> I'm using your favorite plugin and it's great. However, I found that if 
>>>> I change the toolbar button style (under ControlPanel>Settings) to 
>>>> "Rounded", then the heart icon appears very dim (almost invisible) when 
>>>> it's not activated
>>>> [image: fav-icon.png]
>>>>
>>>> Is there anyway to fix this?
>>>>
>>>> Best,
>>>> Pak
>>>> On Friday, December 20, 2019 at 12:07:21 AM UTC+7 Chuck R. wrote:
>>>>
>>>>> Mohammed, this is great! You must be some kind of genius. 
>>>>> :)
>>>>>
>>>>>
>>>>> -- 
>>>> 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/fecbfa6b-ceaa-4914-bb2e-f4849ab9b39en%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tiddlywiki/fecbfa6b-ceaa-4914-bb2e-f4849ab9b39en%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/16cabdf8-7eb3-4157-a528-a59115c87d05n%40googlegroups.com.

Reply via email to