One way to do it would be to put something like this into your zzConfig:
//shadow tiddler for styles
config.shadowTiddlers.StyleSheetCustom ='/*{{{*/\n'+
'.myClass {background-color:[[' + someJavascript(param) + ';;}\n'+
'/*}}}*/';
store.addNotification("StyleSheetLinkify", refreshStyles);
So essentially, this adds a shadow tiddler by the name of StyleSheetCustom
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/-/GdtS-rdClVwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.