Restyled character creation dialog.

Added dialog factory.
This commit is contained in:
Aaron Lutomski
2026-05-29 21:14:23 -07:00
parent 9282cdb334
commit 46a5fb0cd6
43 changed files with 2340 additions and 1112 deletions
+2 -2
View File
@@ -94,8 +94,8 @@ export async function rollStatisticScores({
*/
export function buildRollStatsChatContent(rolls) {
const cells = rolls.map(
(entry) =>
`<td class="roll-stats-chat-value">${foundry.utils.escapeHTML(String(entry.total))}</td>`,
(entry, index) =>
`<td class="roll-stats-chat-value roll-stats-chat-value--${index % 2 === 0 ? "a" : "b"}">${foundry.utils.escapeHTML(String(entry.total))}</td>`,
);
const rows = [];
for (let i = 0; i < cells.length; i += 3) {