Skip to content

Commit

Permalink
2.10.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Oct 19, 2023
1 parent c3265e7 commit a3d8d98
Show file tree
Hide file tree
Showing 8 changed files with 112 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 2.10.8

- (Maintenance) Fixed an issue where the RE editor would have a white background with Foundry 2 or Dark theme active.
- (Maintenance) Fixed some regressions in the regular dark theme.
- (Fix) Fixed an issue where the PC color theme would not apply to character sheets.

# 2.10.7

- (Refinement) Added Foundry 2 styling for Vehicle sheet.
Expand Down
2 changes: 1 addition & 1 deletion modules/base-theme-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Hooks.on("renderHazardSheetPF2e", (app, html, data) => {
html.find("input").addClass("dorako-ui-skip");
});

for (const appName of [..."CharacterSheetPF2e", "VehicleSheetPF2e"]) {
for (const appName of ["CharacterSheetPF2e", "VehicleSheetPF2e"]) {
Hooks.on("render" + appName, (app, html, data) => {
const theme = game.settings.get("pf2e-dorako-ui", "theme.pc-sheet-theme");
// html.closest(".app").find(".journal-entry-content").addClass("dorako-ui dark-theme");
Expand Down
10 changes: 10 additions & 0 deletions sass/pf2e/_actor-sheet-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
}
}

&.pf2e.item.sheet form .sheet-body {
--color-text-dark-2: var(--color-light-2);
--visibility-gm-bg: var(--alt);
}

&.pf2e.item.sheet form .sheet-body input[type="text"]:not(:disabled),
&.pf2e.item.sheet form .sheet-body input[type="number"]:not(:disabled) {
@include glass;
}

&.actor.sheet.character button.use-action {
color: black !important;
}
Expand Down
2 changes: 2 additions & 0 deletions sass/pf2e/_code-mirror.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.dorako-ui.dark-theme {
&.pf2e.item.sheet form .tab.active.rules .rule-editing > .cm-editor,
&.pf2e.item.sheet form .item-rules .rule-editing > .cm-editor {
// @include glass;
background-color: var(--glass-bg);
Expand Down Expand Up @@ -63,6 +64,7 @@
/* ----------------------------------------- */

.foundry2 {
&.pf2e.item.sheet form .tab.active.rules .rule-editing > .cm-editor,
&.pf2e.item.sheet form .item-rules .rule-editing > .cm-editor {
background-color: var(--color-cool-4);
border-radius: var(--border-radius);
Expand Down
12 changes: 12 additions & 0 deletions sass/pf2e/foundry2/_compendium-browser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,16 @@
margin-top: 10px;
}
}

&#compendium-browser > section.window-content > .content-box > nav,
&#license-viewer > section.window-content > .content-box > nav {
--secondary: var(--color-cool-3);
}

&.roll-modifiers-dialog {
--secondary: var(--color-cool-3);
.window-header {
background: linear-gradient(90deg, var(--secondary) 0%, var(--color-cool-3) 50%, var(--secondary) 100%);
}
}
}
10 changes: 10 additions & 0 deletions sass/pf2e/foundry2/_pc-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,14 @@
}
}
}

.attack-popout {
select {
@include f2-input;
}
}

&.actor.sheet.character .attack-popout.actions ol.actions-list li.strike .item-name .item-image {
flex: 0 0 32px;
}
}
72 changes: 70 additions & 2 deletions styles/dorako-ui.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion styles/dorako-ui.css.map

Large diffs are not rendered by default.

0 comments on commit a3d8d98

Please sign in to comment.