Replies: 4 comments 3 replies
-
You can use ControlPanel : Info : Advanced : Stylesheet tab and use the tag dropdown to sort it |
Beta Was this translation helpful? Give feedback.
-
Thank you Mario! |
Beta Was this translation helpful? Give feedback.
-
Hi @kookma Just to clarify, has this behaviour changed in v5.2.1? The stylesheet ordering is determined by this filter expression in
The Generally, it's recommended to write stylesheets in such a way that the ordering doesn't matter. This can be done by writing a selector with greater specificity than the existing one (for instance, I often prefix selectors that occur in the core stylesheets with |
Beta Was this translation helpful? Give feedback.
-
Many of the core CSS rules already have a very high specificity, which makes it hard to overwrite them. ... IMO the first problem is, that most users even don't know what "specificity" in CSS is and how to use it. Some time ago I did find a short 11min video that explains the base concept well. https://www.youtube.com/watch?v=CHyPGSpIhSs The second problem is, that the So "ordering" the stylesheet tiddlers is the easiest way in most cases to fix those problems. ProposalWe may add the This gives plugin-authors the possibility to use The suggested list is: |
Beta Was this translation helpful? Give feedback.
-
I use TW 5.2.1 when I install a plugin contains some stylesheets, they appear at the top before $:/themes/tiddlywiki/vanilla/base
Has anybody else experienced such issue?
To reproduce:
1- open https://talk.tiddlywiki.org/t/advanced-search-in-fields-plugin-update-0-2-0/2019
2. download and drag and drop the two JSON into a empty-5.2.1.html
3. open $:/ControlPanel > Info > Advanced > Stylesheet
4. See the plugin stylesheet before $:/themes/tiddlywiki/vanilla/base
Beta Was this translation helpful? Give feedback.
All reactions