And of course if you want a plugin to override all stylesheets you would 
use Element styles, which would than force a user to to use the !important 
flag to override them. 

If for some reason you wanted to force a user to have to hack your plugin 
to change a style you could make element styles that have the !important 
flag that were super specific.  (Don't ever do this it's extremely cruel to 
visually impaired people who use user.css to help them read websites 
better.)

On Saturday, October 26, 2013 9:32:40 PM UTC-7, Arc Acorn wrote:
>
> If a plugin uses the "setStylesheet() " method than no, or at least I can 
> not see a way for them to override the system style tiddlers. 
>
> If a plugin makes it's own stylesheet shadow tiddler than yes, it's 
> stylesheet should than override the systems.
> As far as I can tell the built in shadow stylesheets (Layout, color..etc) 
> are ran first than the plugin made shadow style sheets and finally the user 
> style sheets.
>
>
> On Saturday, October 26, 2013 8:50:30 PM UTC-7, Anton Aylward wrote:
>>
>> Arc Acorn said the following on 10/26/2013 11:13 PM: 
>> > Just as an FYI for order of how things go: 
>> > 
>> > setStylesheet() Function is done when the plugins load which means 
>> these 
>> > styles should be loaded very early on before any stylesheets, and if 
>> > plugins had conflicting rules the one loaded lower would win AKA: 
>> > zzPlugin would override yyPlugin 
>> > 
>> > eg your cascading chain. 
>> > setStylesheet() 0-z -> Shadow StyleSheets 0-z? -> User StyleSheet('s) 
>> > (in order they are linked) ->Element styles 
>>
>> That makes more sense. 
>>
>> Just one question. 
>> Should the plugins load their style before or after the basic systems 
>> ones that are expressed in the shadow plugins? 
>>
>> I can hypothesise a use-case where the plugins need to over-ride the 
>> system supplied ones. 
>>
>>
>> -- 
>> A program designed for inputs from people is usually stressed beyond 
>> breaking point by computer-generated inputs. -- Dennis Ritchie 
>>
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to