Commit Graph

10 Commits

Author SHA1 Message Date
5317a8dc9f Update module packaging workflow
All checks were successful
Release Creation / build (release) Successful in 34s
2025-02-07 11:09:14 -06:00
bd4db36d90 Update font paths and colors for SW-RPG symbols
Some checks failed
Release Creation / build (release) Failing after 22s
- 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.
2025-02-07 10:51:46 -06:00
d26f5aacb1 Bump version to 0.2.1 and update download URL
- Updated `version` from 0.2.0 to 0.2.1 in `module.json`.
- Modified the `download` URL to point to the new version's release zip.
v0.2.1
2025-02-05 11:52:10 -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
544b8dbdae Bump version to 0.2.0 and update download URL
- 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.
v0.2.0
2025-02-05 11:12:17 -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
26309e2dc3 Add asc-ffg-starwars.css for Star Wars RPG styling
- 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.
2025-02-05 11:09:06 -06:00
d5821aa753 Add download and manifest URLs to module.json
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.
v0.1.0
2025-02-04 20:42:39 -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
ffdcd5c276 initial commit 2024-06-24 10:52:19 -05:00