I’m trying to change the default tiddler title to be curved along an SVG path (the top half of a circle). Could someone give me a pointer? I can see how to change the simple CSS properties like the color or font by just updating the CSS for tc-title on a Stylesheet-tagged tiddler, but not how to do something more complex like curving the text along a circle.
Perhaps use the title cascade to trigger an alternate title when some condition exists such as the field curved-title=yes, or containing the curved title template to use?
Do share back how this looks, and possibly how you did it.
The first thing that comes to mind is any curved title will demand more valuable screen space.
and finally I added .tc-titlebar h2 {display:none;} to the end of $:/themes/tiddlywiki/vanilla/base
so far, so good. (This is the start of a larger project to make my tiddlywiki look like a Kandinsky-esque set of stained glass windows, so these rounded titles will go around the rose stained glass( )
My only lingering complaints/things I’m still trying to debug:
I somehow the great part of Krystal where it vertically displays the titles of tiddlers open on the side. This works before I change $:/core/ui/ViewTemplate and doesn’t work after I add my code to that template so that is definitely the minimal place where things are breaking.
I need to deal with cases where the title of a tiddler is too long to fit on this semi-circle. I would like it to go on to the next line for a concentric semi-circle but I’m still playing around with how to do this.
Personally, I think this breaks the design decisions made for the title field. As the examples show where the buttons and tags appear. Personally I would look at introducing an additional element to the view template, one which works more nicely with the other elements. A bit like a hero image, and I don’t see a problem with displaying the curved title along with the standard title (Even if deemphasised).
That’s fair. That’s part of why I mentioned the Kandinsky-stained-glass part: I think (hope) this curved title will make sense with the rest of the design once I’ve finished. But I’ll post more photos once it’s finished and I’d be curious to hear your thoughts. (: