Skip to content

Commit

Permalink
Add grey theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickburk1988 committed Jul 28, 2024
1 parent c723b11 commit 815dc79
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 4 deletions.
Binary file added image/sheet-background-grey.webp
Binary file not shown.
1 change: 1 addition & 0 deletions language/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"UA.GenerateMinorCharge": "Generate Minor Charge",
"UA.GenerateSignificantCharge": "Generate Significant Charge",
"UA.GodwalkerGreen": "Godwalker Green",
"UA.GridironGrey": "Gridiron Grey",
"UA.Guru": "Guru",
"UA.Harm_Details": "Roll this identity to supernaturally curse, harm, or inflict suffering on someone.",
"UA.Helplessness": "Helplessness",
Expand Down
1 change: 1 addition & 0 deletions language/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"UA.GenerateMinorCharge": "Генерировать малый заряд",
"UA.GenerateSignificantCharge": "Генерировать значимый заряд",
"UA.GodwalkerGreen": "Godwalker Green",
"UA.GridironGrey": "Gridiron Grey",
"UA.Guru": "Гуру",
"UA.Harm_Details": "Бросьте эту личину, чтобы мистически проклясть, навредить или причинить страдания кому-то.",
"UA.Helplessness": "Бессилие",
Expand Down
5 changes: 3 additions & 2 deletions module/unknown-armies.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ Hooks.once("init", async function() {
choices: {
1: game.i18n.localize("UA.BonTonBlue"),
2: game.i18n.localize("UA.GodwalkerGreen"),
3: game.i18n.localize("UA.ParadoxPurple"),
4: game.i18n.localize("UA.RenunciationRed")
3: game.i18n.localize("UA.GridironGrey"),
4: game.i18n.localize("UA.ParadoxPurple"),
5: game.i18n.localize("UA.RenunciationRed")
}
});
game.settings.register("unknownarmies", "IdentitiesAllowMM&YFeatures", {
Expand Down
4 changes: 3 additions & 1 deletion module/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ export default class UAUtils
case 2:
return "theme--green";
case 3:
return "theme--purple";
return "theme--grey";
case 4:
return "theme--purple";
case 5:
return "theme--red";
default:
return "";
Expand Down
7 changes: 7 additions & 0 deletions style/unknown-armies.css
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,13 @@
background-image:url(../image/sheet-background-green.webp);
}

.theme--grey{
--color-accent-dark:#202020;
}
.theme--grey .dialog .window-content,.theme--grey .unknownarmies.sheet .window-content{
background-image:url(../image/sheet-background-grey.webp);
}

.theme--purple{
--color-accent-dark:#4a007c;
}
Expand Down
2 changes: 1 addition & 1 deletion system.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "unknownarmies",
"version": "1.3.1",
"version": "1.3.2",
"title": "Unknown Armies",
"description": "An occult game about broken people conspiring to fix the world.",
"background": "systems/unknownarmies/image/system-background.webp",
Expand Down

0 comments on commit 815dc79

Please sign in to comment.