On Sunday, August 29, 2021 at 9:55:44 PM UTC+2 [email protected] wrote:

The "Wide Theme 
> <https://github.com/programmersforum-reborn/discourse-wide-posts>" would 
> be good, but useless to me if I can't have both the Wide Theme and Sam's 
> Simple Theme simultaneously.
>
> Well, I suppose there can only be one selected theme, so I'd need some 
> kind soul to combine Wide and Sam's Simple into an all in one.  "Wide Sam's 
> Simple"?  Well, just wide for viewing a topic.  With Sam's Simple to view 
> list of topics, it wouldn't make much sense for that to be wide.
>

Discourse knows 2 types components that can act as a theme. 

   - There are "full themes", which completely re-defines the UI.
   - There are "theme components" 

Theme components only modify elements for the existing default theme. ... 
So theoretically it should be possible to define a "component theme" that 
is based on "simple" and also modifies the topic width. The name may be 
"simple overview - wide topics" or something similar. 

BUT someone was to dive into the Discourse theme-building mechanism, to 
define the changes and publish them in a way that fit the Discourse "best 
practices". 

Theme components have the advantage, that they should "survive" global 
theme changes made by the default theme. 

That said ... I did skim the Discourse docs just a little bit, to get an 
overview. .. That's not enough to create a component as requested. ... BUT 
it should be doable. 

have fun!
mario

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f58f303b-e739-464b-8bba-3dfb436a60b8n%40googlegroups.com.

Reply via email to