# [tw5] Re: Material Theme for TW5 (sort of)

hey BTC, I actually got it to work, try replacing the whole text of $:/ core/ui/Buttons/single-tiddler-fab with the following:  \define textOnPath(text) <svg width="100%" height="100%" viewBox="0 0 1000 300" xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; > <defs> <path id="MyPath" d="M 100 100 a 50 50 0 1 0 35 85"/> </defs> <use xlink:href="#MyPath" fill="none" stroke="#ddd"/> <text font-family="'Roboto', Arial, 'Lucida Grande', sans-serif" font-size="42.5"> <textPath xlink:href="#MyPath">$text$</textPath> </text> </svg> \end <$macrocall $name="textOnPath" text=<<currentTiddler>>/> it looks like the variable used is still "currentTiddler", not "storytiddler" however, I don't know if this is the kind of circular SVG path you meant, because with this style it's kind of hard to read the tiddler title? Also, actually looking for SVG paths online is harder than I thought lol there must be a better path than this one d="M 100 100 a 50 50 0 1 0 35 85" On Thursday, April 12, 2018 at 12:48:08 AM UTC+9, BurningTreeC wrote: > > Hey BTC, sorry I got caught up in something. Yes, I'd like to help! >> > > Don't worry, whenever you have time and you like > > It's the single-tiddler fab button on moveablefab.tiddlyspot.com > I'm trying to make it a circle svg path like in the example on > https://tiddlywiki.com/#Making%20curved%20text%20with%20SVG > But I'm a bit unlucky with the right css > > the tiddler is$:/core/ui/Buttons/single-tiddler-fab
> the svg is currently removed from the button, it shows only the tiddlywiki
> core icon. But it's in that tiddler , just needs to be called from the
> button (it's a macro) and the $(storytiddler)$ must be passed to it
>
>
> I'm still using your styles for the FABitem - maybe that's the cause of
> the problem
> I think you're pretty good at inspecting the root of the cause,
> a little hint already helps a lot
>
> as I said, whenever you like and you find time
>
> Simon
>

--
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