Indicate tiddlers that are included when using includeWiki?

I wanted to be able to distinguish between included tiddlers and normal tiddlers in an ‘index’ wiki using includeWiki option.

Here is what I came up with. It creates a css rule for each included tiddler. Every included tiddlers gets an orange outline. If a tiddler comes from the /equip/ wiki, then it gets a red outline.

This seems less than ideal especially if there hundreds or thousands of included tiddlers. Is there a better way?

<$list filter="[{$:/config/OriginalTiddlerPaths}jsonindexes[]]">
[data-tiddler-title="<<currentTiddler>>"] {
outline: 1px solid orange;
<$list filter="[{$:/config/OriginalTiddlerPaths}jsonget<currentTiddler>regexp[equip]]">outline: 1px solid red;</$list>
}
</$list>

You can add a class filter for the story tiddler template. The filter is evaluated and the output if any added as a class to the tiddler in the story river:

https://tiddlywiki.com/#SystemTag%3A%20%24%3A%2Ftags%2FClassFilters%2FTiddlerTemplate