Compare commits
8 Commits
v0.2.1
...
1edb07dbb8
| Author | SHA1 | Date | |
|---|---|---|---|
|
1edb07dbb8
|
|||
|
8734cdb64e
|
|||
|
ee5302c2fd
|
|||
|
00a066eafd
|
|||
|
5a1f70fe89
|
|||
|
0624b1c7f3
|
|||
|
5317a8dc9f
|
|||
|
bd4db36d90
|
59
.gitea/workflows/main.yml
Normal file
59
.gitea/workflows/main.yml
Normal file
@@ -0,0 +1,59 @@
|
||||
name: Release Creation
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
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/latest/download/module.json
|
||||
download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/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
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
*.code-workspace
|
||||
.vscode
|
||||
@@ -1,6 +1,6 @@
|
||||
@font-face {
|
||||
font-family: "SW-RPG";
|
||||
src: url("worlds/shared/fonts/SW-RPG-Symbol.otf") format("opentype"), url("../files/font/SW-RPG-Symbol.ttf") format("truetype"), url("../files/font/SW-RPG-Symbol.woff") format("woff");
|
||||
src: url("./SW-RPG-Symbol.otf") format("opentype"), url("./SW-RPG-Symbol.ttf") format("truetype"), url("./SW-RPG-Symbol.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "asc-starwars-style-journal",
|
||||
"title": "Star Wars Style Journal",
|
||||
"version": "0.2.1",
|
||||
"download": "https://gitea.ascorrea.com/asc/asc-starwars-style-journal/releases/download/v0.2.1/module.zip",
|
||||
"version": "0.3.1",
|
||||
"download": "https://gitea.ascorrea.com/asc/asc-starwars-style-journal/releases/download/latest/module.zip",
|
||||
"manifest": "https://gitea.ascorrea.com/asc/asc-starwars-style-journal/releases/download/latest/module.json",
|
||||
"compatibility": {
|
||||
"minimum": "12",
|
||||
@@ -13,5 +13,4 @@
|
||||
"styles/asc-ffg-starwars.css",
|
||||
"styles/asc-starwars-journal.css"
|
||||
]
|
||||
|
||||
}
|
||||
@@ -5,7 +5,59 @@
|
||||
--dice-color-boost: #A2D2E9;
|
||||
--dice-color-challenge: #D2263F;
|
||||
--dice-color-difficulty: #532D7F;
|
||||
--dice-color-force: #FFFFFF;
|
||||
--dice-color-proficiency: #F9EA2F;
|
||||
--dice-color-setback: #0E0E0E;
|
||||
|
||||
--color-box-eote: #455052;
|
||||
--color-box-heading-eote: #B3A48D;
|
||||
--color-bulletpoint-eote: #741213;
|
||||
--color-heading-1-eote: #52644A;
|
||||
--color-heading-2-eote: #741213;
|
||||
--color-heading-3-eote: #886D26;
|
||||
--color-heading-4-eote: #741213;
|
||||
--color-statblock-background-eote: #AEA08A;
|
||||
--color-statblock-ornate-eote: #3F6933;
|
||||
--color-statblock-textbackground-eote: #63040A;
|
||||
--color-statblock-thresholdbackground-eote: #001450;
|
||||
--color-box-fad: #32362B;
|
||||
--color-box-heading-fad: #BFD1C9;
|
||||
--color-bulletpoint-fad: #4AD9FF;
|
||||
--color-heading-1-fad: #62060D;
|
||||
--color-heading-2-fad: #9F8E15;
|
||||
--color-heading-3-fad: #259EAA;
|
||||
--color-heading-4-fad: #62060D;
|
||||
--color-statblock-background-fad: #BE8B3E;
|
||||
--color-statblock-ornate-fad: #1E3958;
|
||||
--color-statblock-textbackground-fad: #85C4A6;
|
||||
--color-statblock-thresholdbackground-fad: #3C6735;
|
||||
--color-box-core: #1B3147;
|
||||
--color-box-heading-core: #BFCCC9;
|
||||
--color-bulletpoint-core: #4AD9FF;
|
||||
--color-heading-1-core: #766A08;
|
||||
--color-heading-2-core: #25A1AA;
|
||||
--color-heading-3-core: #76030D;
|
||||
--color-heading-4-core: #766A08;
|
||||
--color-statblock-background-core: #E89914;
|
||||
--color-statblock-ornate-core: #705A0F;
|
||||
--color-statblock-textbackground-core: #770312;
|
||||
--color-statblock-thresholdbackground-core: #705A0F;
|
||||
--color-box-aor: #1D3751;
|
||||
--color-box-heading-aor: #BFCCC4;
|
||||
--color-bulletpoint-aor: #66050A;
|
||||
--color-heading-1-aor: #259EAA;
|
||||
--color-heading-2-aor: #D03B0E;
|
||||
--color-heading-3-aor: #756908;
|
||||
--color-heading-4-aor: #259EAA;
|
||||
--color-statblock-background-aor: #C2E3D1;
|
||||
--color-statblock-ornate-aor: #E22A17;
|
||||
--color-statblock-textbackground-aor: #0F3776;
|
||||
--color-statblock-thresholdbackground-aor: #770310;
|
||||
--font-headings-font: 'Elektra Medium Pro'
|
||||
--font-paragraph-text: "ITC Symbol"
|
||||
--font-box-heading-font: "Teuton Fett"
|
||||
--font-statblock-labels: "Teuton Mager"
|
||||
--font-statblock-values: "Teuton Mager"
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -25,16 +77,48 @@ body {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.starwarsffg .header-fields .header-name input {
|
||||
font-family: 'Elektra Pro';
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
font-style: normal;
|
||||
}
|
||||
.starwarsffg.sheet.actor {
|
||||
.header-fields {
|
||||
font-family: 'Elektra Pro';
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
font-style: normal;
|
||||
|
||||
.title-card {
|
||||
text-transform: uppercase;
|
||||
padding: .2rem;
|
||||
}
|
||||
|
||||
input {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.drag-note {
|
||||
font-family: 'Teuton Mager';
|
||||
font-weight: lighter;
|
||||
text-transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
.block-title, .shadow-text {
|
||||
font-family: 'Teuton Mager';
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.characteristic-value, .characteristic-label, .skill-name, .skillsHeader [class*=pure-u] {
|
||||
font-family: 'Teuton Mager';
|
||||
|
||||
&[class*=pure-u] {
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
.characteristic-value, .characteristic-label {
|
||||
font-family: 'Teuton Mager';
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5,
|
||||
button {
|
||||
@@ -49,33 +133,45 @@ button {
|
||||
font-family: 'SF Distant Galaxy';
|
||||
}
|
||||
|
||||
|
||||
|
||||
.starwars-rpg-info {
|
||||
font-family: 'SW-RPG';
|
||||
text-shadow:
|
||||
-1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
|
||||
.symbol,
|
||||
.difficulty,
|
||||
.ability,
|
||||
.challenge,
|
||||
.setback,
|
||||
.proficiency,
|
||||
.boost
|
||||
{
|
||||
font-family: "SW-RPG";
|
||||
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
|
||||
}
|
||||
|
||||
.boost {
|
||||
color: #c3e1fe;
|
||||
color: var(--dice-color-boost);
|
||||
}
|
||||
.ability {
|
||||
color: #4f7f32;
|
||||
color: var(--dice-color-ability);
|
||||
}
|
||||
.proficiency {
|
||||
color: #fdee66;
|
||||
color: var(--dice-color-proficiency);
|
||||
}
|
||||
|
||||
.setback {
|
||||
color: #0E0E0E;
|
||||
}
|
||||
.difficulty {
|
||||
color: #3c1b4f;
|
||||
}
|
||||
.challenge {
|
||||
color: #ca2722;
|
||||
}
|
||||
.symbol {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.setback {
|
||||
color: var(--dice-color-setback);
|
||||
}
|
||||
.difficulty {
|
||||
color: var(--dice-color-difficulty);
|
||||
}
|
||||
.challenge {
|
||||
color: var(--dice-color-challenge);
|
||||
}
|
||||
|
||||
.symbol {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
@@ -8,11 +8,6 @@
|
||||
src: url("../fonts/NewsCycle-Bold.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: StarJedi;
|
||||
src: url("../fonts/StarJedi-DGRW.woff");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: SWCrawlTitle;
|
||||
src: url("../fonts/SWCrawlTitle.ttf");
|
||||
|
||||
Reference in New Issue
Block a user