Re: [tw5] Re: Class to use an image with background-clip

2021-11-08 Thread Charlie Veniot
BTW, the neat thing about a transclusion is that there doesn't have to be an existing tiddler related to the transclusion. The template tiddler just assumes that there exists a related tiddler and trucks along. On Monday, November 8, 2021 at 11:20:07 PM UTC-4 taale...@gmail.com wrote: > Thanks

Re: [tw5] Re: Class to use an image with background-clip

2021-11-08 Thread Aidan Grey
Oh, durr. I did see that. Sorry. On Mon, Nov 8, 2021, 8:24 PM Charlie Veniot wrote: > Yeah, sneak a peek at the CSS file included in the attached. > > You'll see that I added a little something there to make H2 adopt the CSS > style, just to show folk the ability to set all instances of a part

Re: [tw5] Re: Class to use an image with background-clip

2021-11-08 Thread Charlie Veniot
Yeah, sneak a peek at the CSS file included in the attached. You'll see that I added a little something there to make H2 adopt the CSS style, just to show folk the ability to set all instances of a particular element with a custom style. On Monday, November 8, 2021 at 11:20:07 PM UTC-4 taale...

Re: [tw5] Re: Class to use an image with background-clip

2021-11-08 Thread Aidan Grey
Thanks! I don't think the transclusion is gonna work, given what I wanna do, but it's a possibility. By the way JACK !! This Heading EVERYTHING is gilded, including the "This Heading" - any thoughts on why? On Mon, Nov 8, 2021 at 7:33 PM Charlie Veniot wrote: > Good stuff ! > > There are so

Re: [tw5] Re: Class to use an image with background-clip

2021-11-08 Thread Aidan Grey
Thanks Mat and Charlie! So, it looks like I CAN create the class, but have to call it in a span/div to apply it. Which is better than I was expecting, because It was looking like I'd have to copy/paste the css into every relevant bit. Thanks a ton!! On Mon, Nov 8, 2021 at 7:01 PM Charlie Ve

Re: [tw5] Re: Class to use an image with background-clip

2021-11-08 Thread Aidan Grey
Well, that works for me too Mat - as long as I use inline HTML/CSS like you did above. But if I use the TW class caller (I can't think of the word) like this, no bueno, empty tiddler: @@.jack !!JACK @@ Which I suppose answers my question. Everything has to be styled in line, classes won't work h

[tw5] Re: Class to use an image with background-clip

2021-11-08 Thread Mat
This works on tiddlywiki.com .jack { font-size: 72px; background: url(<$macrocall $name="datauri" title="Motovun Jack.jpg" $output="text/plain"/>); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } !GOLD <:-) On Monday, November 8, 2021 at 8:52:06 PM UTC+1 t

Re: [tw5] Re: Class to use an image with background-clip

2021-11-08 Thread Aidan Grey
Yeah, it was text that I would apply the class to. I've since realized that there will at least have to be several different classes depending on where it is i.e. styling the titles will be different than styling buttons or in a tiddler, etc. since the backgrounds and such will need to be in differ

[tw5] Creating custom excise dropdown

2021-11-08 Thread Louis Davout
Hi, I would like to create a custom excise dropdown. I'd rather not modify anything related to core. So I cloned: - $:/core/ui/EditorToolbar/excise-dropdown to $:/davout/ui/EditorToolbar/excise-dropdown - Came up with: - $:/core/ui/EditorToolbar/excise to $:/davout/ui/EditorToolb

[tw5] Re: Class to use an image with background-clip

2021-11-08 Thread Charlie Veniot
G'day Aidan, What text? Where is the text? Do you mean all of the content showing in a tiddler? Or just the text in a specific area in a tiddler? On Monday, November 8, 2021 at 3:52:06 PM UTC-4 taale...@gmail.com wrote: > I'm trying to make a class that will allow me to fill text with an ima

[tw5] Re: Conditional Reveal based on whether tiddler title shows up in fields of other tiddlers

2021-11-08 Thread Merry Machiavelli
Hello, That worked perfectly, thanks! I knew there was some kind of syntax trick I was missing. Honestly, the reason for the two gender loops was just my own confusion. Intuitively, I couldn't think of another way to list parent-child relationships in a way that was agnostic towards which pare

[tw5] Class to use an image with background-clip

2021-11-08 Thread taale...@gmail.com
I'm trying to make a class that will allow me to fill text with an image. For example, making a drop cap for a manuscript-inspired theme that looks like it's been gilded, by using an image of gold leaf. The interwebz tell me that I want to use background-clip, but I'm not sure how to set that u