Skip to content

Commit

Permalink
2.11.16
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Nov 6, 2023
1 parent f616eb0 commit a99b6b9
Show file tree
Hide file tree
Showing 5 changed files with 24 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 @@
# 2.11.16

- (Fix) Fixed an issue where Foundry2 theme did not get applied to ITT.

# 2.11.15

- (New) Added support for Monk's PF2e Encounter Aftermath module.
Expand Down
3 changes: 1 addition & 2 deletions esmodules/foundry2-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ for (const app of ["CharacterSheetPF2e", "VehicleSheetPF2e", "HUD"]) {
Hooks.on("render" + app, (app, html, data) => {
const theme = game.settings.get("pf2e-dorako-ui", "theme.application-theme");
if (theme !== "foundry2-theme") return;
const excludeString =
game.settings.get("pf2e-dorako-ui", "customization.excluded-applications") + ", VehicleSheetPF2e, HUD";
const excludeString = game.settings.get("pf2e-dorako-ui", "customization.excluded-applications");
const excludeList = excludeString.split(/[\s,]+/);
if (excludeList.includes(app.constructor.name)) {
console.debug(
Expand Down
10 changes: 10 additions & 0 deletions sass/module-support/_macros.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,13 @@
color: var(--tertiary);
}
}

.foundry2 .action-list button {
.action-btn img {
border: 1px solid var(--color-warm-1);
border-radius: var(--border-radius);
}
&:hover {
text-shadow: 0px 1px 2px black;
}
}
8 changes: 8 additions & 0 deletions styles/dorako-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -1400,6 +1400,14 @@ nav.damage-log-nav.tabs .item.active {
color: var(--tertiary);
}

.foundry2 .action-list button .action-btn img {
border: 1px solid var(--color-warm-1);
border-radius: var(--border-radius);
}
.foundry2 .action-list button:hover {
text-shadow: 0px 1px 2px black;
}

/* ----------------------------------------- */
/* Dice Stats */
/* ----------------------------------------- */
Expand Down
2 changes: 1 addition & 1 deletion styles/dorako-ui.css.map

Large diffs are not rendered by default.

0 comments on commit a99b6b9

Please sign in to comment.