As a parameter to my widget you can specify a class that will be added to 
the details tag (see https://tid.li/tw5/plugins.html#DetailsWidget) as in 
my documentation widget: 

<$details summary="Browser Support: Not Implemented in Edge yet" 
class="warning">

So you can target the summary using CSS like this

details.warning summary {
    background-color: #ffe4df;
}

I hope you use the latest version of my plugin, it comes with a readme that 
links to the documentation.


> Follow up question: do you know if there is a way to add a class to text 
> within the summary text? 
>
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/307e786e-e662-42e4-a9bd-86aa670bf1e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to