One way to do it would be to put something like this into your zzConfig: //shadow tiddler for styles config.shadowTiddlers.StyleSheetLocalStorage ='/*{{{*/\n'+ '.myClass {background-color:[[' + someJavascript(param) + ';;}\n'+ '/*}}}*/'; store.addNotification("StyleSheetLocalStorage", refreshStyles);
So essentially, this adds a shadow tiddler by the name of StyleSheetLocalStorage into which your localStorage thingy would have to be computed and which then is invoked via addNotification. Note, however that if you chose to overwrite this ShadowTiddler, you will lose the computed value. As I have no idea, what your localStoragy thingy is about, you might need to figure that part out yourself. Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/4IGFoybOAkIJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.