- 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.
commit 1edb07dbb8
Author: Anthony Correa <a@correa.co>
Date: Fri Feb 7 15:09:39 2025 -0600
Update module version to 0.3.1
- Updated the module version from 0.3.0 to 0.3.1 in the module.json file.
commit 8734cdb64e
Author: Anthony Correa <a@correa.co>
Date: Fri Feb 7 15:06:44 2025 -0600
Update font-family and font-style for actor header fields
commit ee5302c2fd
Author: Anthony Correa <a@correa.co>
Date: Fri Feb 7 15:05:31 2025 -0600
Remove unused font-face declaration
- Removed unused font-face declaration for 'StarJedi' from the CSS file.
- This change aims to reduce unnecessary code and improve file size efficiency.
- No impact on existing styles or functionality.
commit 00a066eafd
Author: Anthony Correa <a@correa.co>
Date: Fri Feb 7 15:00:01 2025 -0600
Refactor Star Wars FFG CSS for improved readability
- Updated the CSS class for the Star Wars FFG sheet to include the .actor class, which will help in styling the actor section.
- Introduced a new .title-card class to style the title card in the actor section.
- Added a new .drag-note class to style the drag note in the actor section.
- Updated the .block-title and .shadow-text classes to use the Teuton Mager font family for improved readability.
- Changed the font-weight of the .characteristic-value, .characteristic-label, .skill-name, and .skillsHeader [class*=pure-u] classes to bold and uppercase for better visibility.
- Removed the .header-name input class, as it was no longer needed.
commit 5a1f70fe89
Author: Anthony Correa <a@correa.co>
Date: Fri Feb 7 14:57:52 2025 -0600
Add color palette, fonts
- Included new color variables for dice, boxes, headings, and stat blocks.
- Updated fonts for headings, paragraphs, and statblock labels and values.
- Updated the version number from 0.2.1 to 0.3.0 in the module.json file.
- Changed the download link from a specific version to the latest version.
- The manifest URL now points to the latest version of the module.json file.
- Updated font path in `sw-rpg-symbol.css` to use relative path.
- Added new `--dice-color-setback` variable to `asc-ffg-starwars.css` for setback color.
- Updated `.starwars-rpg-info` CSS to use `--dice-color-setback` variable for setback color.
- Added `.symbol` class to `.starwars-rpg-info` CSS to use `--dice-color-setback` variable for setback color.
- Updated `.symbol` class in `.starwars-rpg-info` CSS to use `--dice-color-setback` variable for setback color.
- Updated `.ability` class in `.starwars-rpg-info` CSS to use `--dice-color-ability` variable for ability color.
- Updated `.proficiency` class in `.starwars-rpg-info` CSS to use `--dice-color-proficiency` variable for proficiency color.
- Updated `.boost` class in `.starwars-rpg-info` CSS to use `--dice-color-boost` variable for boost color.
- Updated `.difficulty` class in `.starwars-rpg-info` CSS to use `--dice-color-difficulty` variable for difficulty color.
- Updated `.challenge` class in `.starwars-rpg-info` CSS to use `--dice-color-challenge` variable for challenge color.
Added a workflow to automatically create a release when a new version is published.
- It uses actions to extract the version number, substitute manifest and download URLs, create a zip file, set a commit message, and create a release with the files.
- Added `*.code-workspace` and `.vscode` to the `.gitignore` to exclude these files from version control.
- 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`.
- Updated `module.json` to reflect the new version 0.2.0.
- Modified the download URL to point to the latest release for version 0.2.0.
This update ensures proper version tracking and directs users to the correct module download.
- 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.
- Introduced a new CSS file `asc-ffg-starwars.css` for Star Wars RPG styling.
- Defined custom dice colors using CSS variables.
- Applied unique fonts such as 'ITC Symbol', 'Teuton Mager', 'Elektra Pro', and 'SF Distant Galaxy'.
- Styled scene names, message senders, headers, and characteristic labels with theme-appropriate fonts.
- Added custom text shadow and color styles for various game elements like dice symbols and attributes.
This enhances the RPG's visual design consistency and aligns it with the Star Wars theme.
Included `download` and `manifest` URLs pointing to the module's release files in the `module.json` file. This facilitates automated updates and direct downloads of the module from the specified repository.
Fix download URL version format in module.json
Updated the `download` URL in `module.json` to include the correct version prefix (`v0.1.0`) for consistency with the release naming convention.
- 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.