[tw5] Re: Stylesheet Philosophy
of course ... The Bette Way https://www.youtube.com/watch?v=0nyMrjGX2vk=youtu.be=RD0nyMrjGX2vk On Saturday, 28 September 2019 20:38:55 UTC+2, Damon Pritchett wrote: > > Thanks to everyone for their responses. As always, this forum is awesome! > > Still not sure which way I want to go, but I'll be studying the responses > closely. > > Damon > > > On Saturday, September 28, 2019 at 2:17:49 AM UTC-7, @TiddlyTweeter wrote: >> >> Ciao Damon >> >> Either way could be good. It depends. >> >> An approach I think that is very good is that found in Thomas Elmiger's >> BRICKS plugin. >> >> Thomas broke down the entire base stylesheet for TW into modules to allow >> easier editing and understanding of it. >> >> It also includes a method to, when you done tweaking, to generate one >> stylesheet that takes up minimal space possible. >> >> Even if you don't use it, is useful to study to better understand TW CSS. >> >> See: https://tid.li/tw5/test/bricks.html#Stylesheet%20Manager >> >> Best wishes >> TT >> >> On Friday, 27 September 2019 20:33:13 UTC+2, Damon Pritchett wrote: >>> >>> Hello All, >>> >>> This is a generic question on what might be a best practice. When doing >>> stylesheets to customize your TW, is it better to have all the styles in a >>> single stylesheet or to have several stylesheets based on what is being >>> modified. I currently have a mix of both, but was just wondering what the >>> community does or thinks about this. >>> >>> Thanks, >>> >>> Damon >>> >> -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ae40a0aa-9b62-4617-b6b7-05d0607d97c2%40googlegroups.com.
[tw5] Re: Stylesheet Philosophy
Thanks to everyone for their responses. As always, this forum is awesome! Still not sure which way I want to go, but I'll be studying the responses closely. Damon On Saturday, September 28, 2019 at 2:17:49 AM UTC-7, @TiddlyTweeter wrote: > > Ciao Damon > > Either way could be good. It depends. > > An approach I think that is very good is that found in Thomas Elmiger's > BRICKS plugin. > > Thomas broke down the entire base stylesheet for TW into modules to allow > easier editing and understanding of it. > > It also includes a method to, when you done tweaking, to generate one > stylesheet that takes up minimal space possible. > > Even if you don't use it, is useful to study to better understand TW CSS. > > See: https://tid.li/tw5/test/bricks.html#Stylesheet%20Manager > > Best wishes > TT > > On Friday, 27 September 2019 20:33:13 UTC+2, Damon Pritchett wrote: >> >> Hello All, >> >> This is a generic question on what might be a best practice. When doing >> stylesheets to customize your TW, is it better to have all the styles in a >> single stylesheet or to have several stylesheets based on what is being >> modified. I currently have a mix of both, but was just wondering what the >> community does or thinks about this. >> >> Thanks, >> >> Damon >> > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b985d150-d40c-44a2-9be7-fcbf127769e9%40googlegroups.com.
[tw5] Re: Stylesheet Philosophy
Ciao Damon Either way could be good. It depends. An approach I think that is very good is that found in Thomas Elmiger's BRICKS plugin. Thomas broke down the entire base stylesheet for TW into modules to allow easier editing and understanding of it. It also includes a method to, when you done tweaking, to generate one stylesheet that takes up minimal space possible. Even if you don't use it, is useful to study to better understand TW CSS. See: https://tid.li/tw5/test/bricks.html#Stylesheet%20Manager Best wishes TT On Friday, 27 September 2019 20:33:13 UTC+2, Damon Pritchett wrote: > > Hello All, > > This is a generic question on what might be a best practice. When doing > stylesheets to customize your TW, is it better to have all the styles in a > single stylesheet or to have several stylesheets based on what is being > modified. I currently have a mix of both, but was just wondering what the > community does or thinks about this. > > Thanks, > > Damon > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/07996e03-8253-47b0-8e65-f20835f69210%40googlegroups.com.
[tw5] Re: Stylesheet Philosophy
Tiddlywiki philosophy is to use tiddler: the smallest meaningful. from: https://tiddlywiki.com/prerelease/#Philosophy%20of%20Tiddlers The philosophy of tiddlers is that we maximize the possibilities for re-use > by slicing information up into the smallest semantically meaningful units > with rich modelling of relationships between them. Then we use aggregation > and composition to weave the fragments together to present narrative > stories. So, I absolutely recommend you to go the Tiddlywiki way! --Mohammad On Friday, September 27, 2019 at 10:03:13 PM UTC+3:30, Damon Pritchett wrote: > > Hello All, > > This is a generic question on what might be a best practice. When doing > stylesheets to customize your TW, is it better to have all the styles in a > single stylesheet or to have several stylesheets based on what is being > modified. I currently have a mix of both, but was just wondering what the > community does or thinks about this. > > Thanks, > > Damon > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/283d6687-0845-4d8c-815c-fac9f54bcccd%40googlegroups.com.
[tw5] Re: Stylesheet Philosophy
A Personal, non css expert view. It may depend on what the css is trying to do. - If its supplementary and introducing new class etc.. I think they could be organised in smaller independent style sheets in logical groupings. - However if the key is to overwrite existing CSS ie leveraging the Cascading nature of CSS bundle them in a smaller number of stylesheets so you can managed where in the cascade they apply see Control Panel > Info > Advanced > Stylesheets where the order can be set with drag and drop. - Consider list-before or list-after on your stylesheets to assist here. Personally although I have not published much to the community yet, beyond support, methods and code fragments in Google Groups. My design practice always takes account of the possibility of publishing plugins or bundles so others can reuse my designs. Keeping this in mind tends to guide how I structure my designs, can it be packaged for reuse in my own wikis, or to be published for use in others wikis. In this case I would select the css design that supports distribution and is careful not to have unintentional side effects. Regards Tony On Saturday, September 28, 2019 at 4:33:13 AM UTC+10, Damon Pritchett wrote: > > Hello All, > > This is a generic question on what might be a best practice. When doing > stylesheets to customize your TW, is it better to have all the styles in a > single stylesheet or to have several stylesheets based on what is being > modified. I currently have a mix of both, but was just wondering what the > community does or thinks about this. > > Thanks, > > Damon > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/93c93120-d891-4db8-9002-632c3731ad8c%40googlegroups.com.
[tw5] Re: Stylesheet Philosophy
Form the point of view of authoring and maintenance (which is how you're asking), I do both. I too use comments. For larger-grained tw-elements that need a lot of styling, I'll use dedicated tiddler-stylesheets for those. For "incidentals", (i.e. little nudges) I might add style elements inside a macro that needs them. I try to avoid For the larger stylesheets, I typically use a sidebar tab dedicated to showing them as a list. Then, "muscle-memory" aids me finding what I'm looking for. For the smaller guys, I tend to start in the browser tools inspector to remind myself what's going on. HTH. On Friday, September 27, 2019 at 1:38:20 PM UTC-5, Damon Pritchett wrote: > > The reason I'm asking this question is because I'm finding my large > stylesheet hard to find things sometimes. I do have some comments, but they > only slightly helpful. I'm leaning towards the multiple stylesheets, but > thought I'd ask what other folks are doing. > > Damon > > > On Friday, September 27, 2019 at 11:33:13 AM UTC-7, Damon Pritchett wrote: >> >> Hello All, >> >> This is a generic question on what might be a best practice. When doing >> stylesheets to customize your TW, is it better to have all the styles in a >> single stylesheet or to have several stylesheets based on what is being >> modified. I currently have a mix of both, but was just wondering what the >> community does or thinks about this. >> >> Thanks, >> >> Damon >> > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/845af1e6-d646-4867-b4e6-f9b5e62bee54%40googlegroups.com.
[tw5] Re: Stylesheet Philosophy
The reason I'm asking this question is because I'm finding my large stylesheet hard to find things sometimes. I do have some comments, but they only slightly helpful. I'm leaning towards the multiple stylesheets, but thought I'd ask what other folks are doing. Damon On Friday, September 27, 2019 at 11:33:13 AM UTC-7, Damon Pritchett wrote: > > Hello All, > > This is a generic question on what might be a best practice. When doing > stylesheets to customize your TW, is it better to have all the styles in a > single stylesheet or to have several stylesheets based on what is being > modified. I currently have a mix of both, but was just wondering what the > community does or thinks about this. > > Thanks, > > Damon > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9befb22e-d011-410b-adb8-9b1fae2d734c%40googlegroups.com.