Hi Mark > > But how do you make your theme that can be selected from the theme list? >
A theme is just a plugin with its plugin-type field set to "theme". You can find out more about making plugins at http://tiddlywiki.com/dev; the summary is that it's easiest when running TiddlyWiki under Node.js, but several hardy souls have made plugins entirely within the browser. > Or, if that isn't easy, is there a macro or plugin that will let you > quickly switch customized stylesheets? > Stylesheets in TW are just wikitext, so you can use familiar techniques to hide and show parts of them. A typical use case would be if you're using a TW both on a desktop and on a > small device. You might want to quickly switch themes (or custom > stylesheet) in order to accommodate the particular platform. > At the moment, TW tries to cope with the differences between different screen sizes using the media queries provided by CSS. That's how the sidebar gets moved to the top when on a mobile screen. To automatically switch themes based on screensize would require an extension to TiddlyWiki. I'm not sure that it would perform well, though - bear in mind that when resizing a browser window on the desktop there are many window resize events. Best wishes Jeremy. > > Thanks! > Mark > > -- > 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 post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/df1ec091-1469-4409-9f68-f9345aaba7e9%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/df1ec091-1469-4409-9f68-f9345aaba7e9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJa4ePyvW3e4%3DUSrq-ZM%3DeoCstO7bsovDGpszwxEwT6%3DAA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

