Refactor Star Wars Journal module structure and styles

- Replaced `main.js` with `asc-starwars.js` and modularized journal sheet logic into `journalSheets.js`.
- Updated `module.json` to use ES modules and adjusted script/style references accordingly.
- Consolidated and enhanced CSS styles into `asc-starwars-journal.css` and added `asc-ffg-starwars.css`.
- Removed deprecated `starwars-journal.css` and outdated journal sheet registration logic.
This commit is contained in:
2025-02-04 20:32:27 -06:00
parent ffdcd5c276
commit b152f21d71
7 changed files with 124 additions and 114 deletions

View File

@@ -0,0 +1,7 @@
export class StarWarsStyleJournalSheet extends JournalSheet {
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
classes: [...(super.defaultOptions.classes || []), 'asc-starwars-customsheet'],
});
}
}