Repository navigation
Compact Abilities
Smaller features, all about the system's own messages rather than the log around them.
With Compact Ability Details on, an ability's details are laid out the way the book does: keywords and action type on one bold row, distance and target beneath. The text shrinks to fit the message, but no smaller than 12.5px. Past that, long lines wrap, so an ability with many keywords stays readable.
The system ships a full dark palette. It declares it with:
@scope (.theme-dark) to (.themed)That reads as "apply inside a dark themed element, but stop at the next themed element". The trouble is that Foundry puts themed and the theme class on the same chat sidebar element, so the scope ends exactly where it begins and the palette never reaches the messages inside.
Foundry also has two independent theme settings, Applications and Interface. body carries the Applications theme, while the sidebar, the chat and any popped out chat carry the Interface theme. The chat log itself is marked theme-light in every theme, which is worth knowing before debugging anything else in that log.
This module redeclares the dark tokens on the chat messages whenever they sit inside a .theme-dark element below body, so the Interface theme alone decides the messages. Up to 1.0.0.1 a dark body counted too, which turned the messages dark inside a light sidebar whenever Applications was dark and Interface was light. Because it works through the tokens rather than restyling components, panels other modules add to those messages are covered too, including the Draw Steel: Target Damage panel.
Clicking the name of an ability folds the message down to just its name. The state is remembered per person in localStorage, so it survives a reload, and it is forgotten when the message is deleted.
Folding hides the description, the system's own use buttons, and the Target Damage panel if that module is present on Draw Steel 1.1. A power roll result in the same message stays visible, because that is the part you are usually scrolling back to find.
On Draw Steel 1.2, each target's section stays visible too, with its apply buttons. The Apply All Damage button from Draw Steel: CTLib sits with the use buttons, so it folds away with them.
The clickable element is the embed's own h5, which gets a caret prepended and a class of its own. The caret is marked inert so a click always lands on the heading rather than the icon.
The manifest lists Draw Steel Plus as a conflict. Nothing breaks if both are enabled and in practice they run side by side, but both restyle the same messages and the two looks can clash. Making them work together cleanly isn't a priority.
Foundry treats a conflicts relationship as a note rather than a block, so it appears in the module listing and the choice is left to the user.