Skip to content

Commit

Permalink
v1.3.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed May 17, 2022
1 parent fe5b6ba commit c92db02
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.3.20

Made sheet dark mode compatible with xdy's workbench rarity, courtesy of @Vesselchuck. Fixed that caused familiar sheets to always be dark.

# 1.3.19

Updates to dark themes, courtesy of @Vesselchuck.
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"description": "Overhauls the Foundry UI and several modules.",
"url": "https://github.com/Dorako/pf2e-dorako-ui",
"author": "Dorako",
"version": "1.3.19",
"version": "1.3.20",
"minimumCoreVersion": "9",
"compatibleCoreVersion": "9",
"system": ["pf2e"],
"scripts": ["scripts/dorako-ui.js"],
"templates": ["templates/*"],
"download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.3.19.zip",
"download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.3.20.zip",
"manifest": "https://github.com/Dorako/pf2e-dorako-ui/raw/main/module.json"
}
3 changes: 2 additions & 1 deletion scripts/dorako-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,8 @@ Hooks.once("init", async function () {
setting = game.settings.get("pf2e-dorako-ui", "sheet");
if (setting == "dark") injectCSS("pc-sheet-dark");
setting = game.settings.get("pf2e-dorako-ui", "familiar-sheet");
if (setting == "dark" || "darkRedHeader") injectCSS("familiar-sheet-dark");
if (setting == "dark" || setting == "darkRedHeader")
injectCSS("familiar-sheet-dark");
if (setting == "darkRedHeader") injectCSS("familiar-sheet-dark-red-header");
// if (setting == "plain") injectCSS("sheet-plain");
}
Expand Down

0 comments on commit c92db02

Please sign in to comment.