Commit Graph

4 Commits

Author SHA1 Message Date
4c63a150fa Add copy button to Star Wars Style Journal
- Added a copy button to the Star Wars Style Journal sheet.
- The copy button allows users to easily copy the content of the journal (in markdown format via turndown) to their clipboard.
- A notification is displayed upon successful copying.
2025-03-02 11:48:36 -06:00
4423aaaa1b Add Star Wars Text Page support and update journal styling
- Registered `StarWarsTextPageSheet` for handling text-type journal pages with custom settings.
- Extended `journalSheets.js` to define `StarWarsTextPageSheet` with specific UI configurations.
- Modified CSS to apply the Star Wars style background to `.editor-container` within the journal.
- Enhanced overall journal aesthetics while maintaining the existing `StarWarsStyleJournalSheet`.
2025-02-05 11:51:12 -06:00
c52e0aa9ab Enhance Star Wars Journal with custom chat styles and UI tweaks
- Added a hook to apply custom CSS classes to chat messages based on flags in `asc-starwars.js`.
- Updated `StarWarsStyleJournalSheet` to apply the 'asc-starwars' class and ensure the journal renders in a collapsed state by default.
- Enhanced `asc-starwars-journal.css` to improve visual consistency:
  - Applied starry background and Star Wars-themed fonts to journal entries and chat messages.
  - Adjusted layout, padding, and width for better readability.
  - Added rounded borders, padding, and margins to message content for a polished look.

These updates improve the thematic immersion and UI aesthetics of the Star Wars journal and chat features.
2025-02-05 11:10:38 -06:00
b152f21d71 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.
2025-02-04 20:32:27 -06:00