11 Commits
v0.1.0 ... main

Author SHA1 Message Date
55a1cf70cd Add universal tag trigger for release workflow
All checks were successful
Release Creation / build (push) Successful in 39s
- Updated workflow to trigger on all tag pushes instead of just published releases.
2025-03-02 12:08:40 -06:00
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
add2f1d091 Squashed commit of the following:
All checks were successful
Release Creation / build (release) Successful in 19s
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.
2025-02-07 15:19:24 -06:00
0624b1c7f3 Update module.json with latest version and download link
All checks were successful
Release Creation / build (release) Successful in 30s
- 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.
2025-02-07 11:50:31 -06:00
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.
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.
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
173 changed files with 31228 additions and 14 deletions

61
.gitea/workflows/main.yml Normal file
View File

@@ -0,0 +1,61 @@
name: Release Creation
on:
push:
# Pattern matched against refs/tags
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# get part of the tag after the `v`
- name: Extract tag version number
id: get_version
uses: battila7/get-version-action@v2
# Substitute the Manifest and Download URLs in the module.json
- name: Substitute Manifest and Download Links For Versioned Ones
id: sub_manifest_link_version
uses: microsoft/variable-substitution@v1
with:
files: 'src/module.json'
env:
version: ${{steps.get_version.outputs.version-without-v}}
url: https://gitea.ascorrea.com/${{github.repository}}
manifest: https://gitea.ascorrea.com/${{github.repository}}/releases/download/latest/module.json
download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{ steps.get_version.outputs.version }}/module.zip
# Create a zip file with all files required by the module to add to the release
- name: Create files (module.zip, module.json) for release
working-directory: ./src
run: >
mkdir -p ../dist
&& zip -r ../dist/module.zip .
&& cp module.json ../dist/
&& echo \"Done! Zipped module.json and copied module.js.\"
- name: Setting commit message variable
id: commit-message
# Per
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#example-of-a-multiline-string
run: |
{
echo 'COMMIT_MESSAGE<<EOF'
git log -1 --pretty=%B
echo EOF
} >> "$GITHUB_OUTPUT"
# Create a release for this specific version
- name: Update Release with Files
id: create_version_release
uses: akkuman/gitea-release-action@v1
with:
files: |-
./dist/module.json
./dist/module.zip
body: |-
${{ steps.commit-message.outputs.COMMIT_MESSAGE }}

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*.code-workspace
.vscode

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,52 @@
@font-face {
font-family: 'Aurebesh';
font-style: normal;
font-weight: normal;
src: url('./aurebesh-normal.ttf');
}
@font-face {
font-family: 'Aurebesh';
font-style: normal;
font-weight: bold;
src: url('./aurebesh-bold.ttf');
}
@font-face {
font-family: 'Aurebesh';
font-style: italic;
font-weight: bold;
src: url('./aurebesh-bold-italic.ttf');
}
@font-face {
font-family: 'Aurebesh';
font-style: normal;
font-weight: normal;
font-stretch: condensed;
src: url('./aurebesh-condensed.ttf');
}
@font-face {
font-family: 'Aurebesh';
font-style: normal;
font-weight: bold;
font-stretch: condensed;
src: url('./aurebesh-condensed-bold.ttf');
}
@font-face {
font-family: 'Aurebesh';
font-style: italic;
font-weight: normal;
font-stretch: condensed;
src: url('./aurebesh-condensed-italic.ttf');
}
@font-face {
font-family: 'Aurebesh';
font-style: italic;
font-weight: bold;
font-stretch: condensed;
src: url('./aurebesh-condensed-bold-italic.ttf');
}

Binary file not shown.

Binary file not shown.

View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,26 @@
@font-face{
font-family: "Elektra Pro";
src: url('./elektra-pro-light.otf') format("opentype");
font-weight: 300;
}
@font-face{
font-family: "Elektra Pro";
src: url('./elektra-pro-medium-bold-italic.otf') format("opentype");
font-weight: bold;
font-style: italic;
}
@font-face{
font-family: "Elektra Pro";
src: url('./elektra-pro-medium-bold.otf') format("opentype");
font-weight: bold;
}
@font-face{
font-family: "Elektra Pro";
src: url('./elektra-pro-medium.otf') format("opentype");
font-weight: 500;
}
@font-face{
font-family: "Elektra Pro";
src: url('./elektra-pro-text.otf') format("opentype");
font-weight: 375;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,38 @@
@font-face{
font-family: 'Eurostile LT';
font-weight: bold;
font-stretch: expanded;
src: url('./eurostile-lt-std-boldex.otf') format("opentype");
}
@font-face{
font-family: 'Eurostile LT';
font-stretch: condensed;
src: url('./eurostile-lt-std-cn.otf') format("opentype");
}
@font-face{
font-family: 'Eurostile LT';
font-weight: 600;
src: url('./eurostile-lt-std-demi.otf') format("opentype");
}
@font-face{
font-family: 'Eurostile LT';
font-style: oblique;
src: url('./eurostile-lt-std-oblique.ttf') format("truetype");;
}
@font-face{
font-family: 'Eurostile LT';
font-weight: 600;
font-style: oblique;
src: url('./eurostile-lt-std-demi-oblique.ttf') format("truetype");;
}
@font-face{
font-family: 'Eurostile LT';
font-weight: bold;
font-stretch: condensed;
src: url('./eurostile-lt-std-boldcn.otf') format("opentype");
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,10 @@
@font-face{
font-family: "ITC Stone Sans";
src: url('./itcstonesans-medium.otf');
font-weight: 530;
}
@font-face{
font-family: "ITC Stone Sans";
src: url('./itcstonesans-bold.ttf');
font-weight: bold;
}

View File

@@ -0,0 +1,50 @@
@font-face{
font-family: "ITC Symbol";
src: url('./itcsymbolstd-black.otf');
font-weight: 800;
}
@font-face{
font-family: "ITC Symbol";
src: url('./itcsymbolstd-blackitalic.otf');
font-weight: 800;
font-style: italic;
}
@font-face{
font-family: "ITC Symbol";
src: url('./itcsymbolstd-bold.ttf');
font-weight: bold;
}
@font-face{
font-family: "ITC Symbol";
src: url('./itcsymbolstd-bolditalic.otf');
font-weight: bold;
font-style: italic;
}
@font-face{
font-family: "ITC Symbol";
src: url('./itcsymbolstd-book.otf');
font-weight: 350;
}
@font-face{
font-family: "ITC Symbol";
src: url('./itcsymbolstd-bookitalic.otf');
font-weight: 350;
font-style: italic;
}
@font-face{
font-family: "ITC Symbol";
src: url('./itcsymbolstd-medium.otf');
font-weight: 530;
}
@font-face{
font-family: "ITC Symbol";
src: url('./itcsymbolstd-mediumitalic.otf');
font-weight: 530;
font-style: italic;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
src/fonts/MISTRAL.TTF Normal file

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More