Hi Mat > > The main obstacle for manipulating the styling is by far the current > stylesheets monolithic nature. These should be split up even though I can't > say exactly how. In complement to splitting them, they could afterwards be > grouped into cascade order, perhaps by means of tags or... (next bullet)
Yes, the theme stylesheets are ridiculously big and should be chunked up. > Slugification <https://github.com/Jermolene/TiddlyWiki5/issues/3379> of > tiddler titles would enable more direct manipulation of CSS in wikitext, > using e.g tiddler titles as class names and even appended as selectors. We can already target specific tiddler titles with CSS, I guess you’re referring to the need to encode the titles when using them in selectors? That can be done with a macro. Slugification isn’t a silver bullet, because titles with nonstandard characters will slugify in unpredictable ways, and slugification needs duplicate avoidance. > Cascade order deserves <https://github.com/Jermolene/TiddlyWiki5/issues/2823> > an explicit D'nD listing somewhere under Ctrlpanel > Appearance OK, but right now you can D&D the order anywhere you see the tag $:/tags/Stylesheet > To create a SS tiddler, it ought to be enough to add a $:/tags/Stylesheet > tag, i.e auto-detect type. That would be en enormous change, and it’s really hard to see how it could be done consistently, rather than just some bit of random magic whereby some special tags have side effects > Local styleblocks are easily "lost". If there was a way to automatically > "collect" (transclude?) them, it would be relatively easy to create custom > complex stylesheets or themes gradually. Local style blocks are actually almost always a terrible idea, except for trivial test cases. The problem is that the content of the style tag is wikified. Most of the time, with care, that doesn’t matter, but it’s incredibly easy to forget about the problem until, say, you add a background image URL that contains //, and thus triggers italics. Accordingly, the core doesn’t use the technique at all. Best wishes Jeremy > Hope this clarifies a bit. > > <:-) > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWikiDev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywikidev > <https://groups.google.com/group/tiddlywikidev>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/7de5e641-c2fa-42d1-9942-7f2a472dc54e%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywikidev/7de5e641-c2fa-42d1-9942-7f2a472dc54e%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/F30491BC-4342-4D26-82C7-F7821066383E%40gmail.com. For more options, visit https://groups.google.com/d/optout.
