On Saturday, September 25, 2021 at 9:00:53 AM UTC-5 [email protected] wrote:

> So, just a few questions, first one being is, how could I change the x for 
> removing a tag to match the font color of the text inside the tag? 


Try this in a tiddler tagged $:/tags/Stylesheet:

svg.tc-image-close-button {
    fill: <<color foreground>>;
}

(Note: there's a color in the palette called `tag-foreground`, but it 
doesn't appear to actually be used for the tag foreground, rather 
`foreground` is. The <<color>> macro retrieves the hex code of a color by 
name from the current palette; go to $:/PaletteManager to see the list of 
colors.)

Also, would it be possible to add a border around the tags with the same 
> color as the tag itself, but with say, 50% opacity, so the background would 
> make the border darker or lighter to prevent the tag from blending in with 
> the tiddler background?
>

I don't know enough CSS to know how to do this kind of border off the top 
of my head, but you would apply a similar styling rule to the class of the 
tag. I would start with tc-tag-label. The trick is to open your browser's 
devtools and click on the thing you want to style on the "Elements" tab, 
and you should be able to poke around from there to figure out what to 
style. Then it's just any tiddler tagged $:/tags/Stylesheet to get it 
included in the global stylesheet for the page.

-- 
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/38a575bf-76f0-4844-91c6-db6705a4af2dn%40googlegroups.com.

Reply via email to