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.
This commit is contained in:
2025-02-06 18:34:16 -06:00
parent d26f5aacb1
commit bd4db36d90
4 changed files with 90 additions and 16 deletions

View File

@@ -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;
}

View File

@@ -6,6 +6,7 @@
--dice-color-challenge: #D2263F;
--dice-color-difficulty: #532D7F;
--dice-color-proficiency: #F9EA2F;
--dice-color-setback: #0E0E0E;
}
body {
@@ -49,33 +50,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;
}