Skip to content

Commit

Permalink
3.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Jan 11, 2024
1 parent 51083ad commit 35c2d2a
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Publish to Foundry VTT Repo
if: "!github.event.release.prerelease"
id: publish_foundry_repo
run: npx @ghost-fvtt/foundry-publish
run: npx @ghost-fvtt/foundry-publish@2.4.0
env:
FVTT_MANIFEST_PATH: "module.json"
FVTT_PACKAGE_ID: "pf2e-dorako-ui"
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# 3.3.9

- (Fix) Fixed an issue where the sidebar in the default NPC sheet color theme would be affected by the sheet theme.
- (Refinement) Ensured that inactive icons in inventories are legible in dark themes.
- (Module compatibility) Changed some styling to play nice with PF2e Mobile Sheet.

# 3.3.8

- (Maintenance) Updated Familiar sheet styling to be compatible with newest System version.
- (Refinement) More updates to NPC sheet styling to be compatible with newest System version.
- (Refinement) Adjusted certain gm-visibility styling to be obnoxious, and increased readability for pale/gray-ish damage types.
- (Refinement) Adjusted certain gm-visibility styling to be less obnoxious, and increased readability for pale/gray-ish damage types.

# 3.3.7

Expand Down
17 changes: 10 additions & 7 deletions sass/ui-theme/foundry-core/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@
/* UI-right */
/* ----------------------------------------- */
#ui-right {
background: linear-gradient(to left, rgba(0, 0, 0, 0.8) calc(100% - 10px), transparent 100%);
padding-left: 10px;
padding-top: 5px;

#sidebar {
background: none;
& > #sidebar {
background: linear-gradient(to left, rgba(0, 0, 0, 0.8) calc(100% - 10px), transparent 100%);
padding-left: 10px;
padding-top: 5px;
box-shadow: none;
border: none;
border-radius: 0px;
margin: 0px;
height: 100%;
&.collapsed {
height: auto;
}
}
}

Expand Down Expand Up @@ -133,7 +135,8 @@
}
}

[data-chat-interface-theme] {
[data-chat-interface-theme],
#sidebar[data-chat-interface-theme].collapsed {
#sidebar-tabs {
border: unset;
> .item.active {
Expand Down
8 changes: 3 additions & 5 deletions sass/ui-theme/pf2e-system/_actor-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@
--fa-inverse: var(--accent-text-color);
}

&.actor.sheet .window-content .inventory ul.items > li > .data .item-controls > a.toggle-invested,
&.actor.sheet .window-content .inventory ul.items > li > .data .item-controls > a.item-carry-type,
&.actor.sheet .inventory .list-row .item-controls .item-control.toggle-invested,
&.actor.sheet .inventory .list-row .item-controls .item-control.item-carry-type {
// Do system PR to fix this constant
&.actor.sheet .window-content .inventory ul.items > li > .data .item-controls > a.toggle-invested:not(.active),
&.actor.sheet .window-content .inventory ul.items > li > .data .item-controls > a.item-carry-type:not(.active) {
text-shadow: 0px 0px 0px white;
}

&.actor.sheet .window-content .item-summary .button-group button {
Expand Down
2 changes: 1 addition & 1 deletion sass/ui-theme/pf2e-system/_pc-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
/* Theme */
/* ----------------------------------------- */
[data-theme][data-dorako-ui-scope="limited"]:not([data-theme^="crb"][data-color-scheme="light"]) {
&.actor.sheet.character {
&.actor.sheet.character .sheet-content {
--color-text-dark-4: var(--text-color-4);
--color-text-dark-3: var(--text-color-5);
--color-text-dark-2: var(--text-color-2);
Expand Down
33 changes: 23 additions & 10 deletions styles/dorako-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -6137,18 +6137,19 @@ nav#controls[data-theme] ol.control-tools > li.toggle:disabled {
/* ----------------------------------------- */
/* UI-right */
/* ----------------------------------------- */
#ui-right {
#ui-right > #sidebar {
background: linear-gradient(to left, rgba(0, 0, 0, 0.8) calc(100% - 10px), transparent 100%);
padding-left: 10px;
padding-top: 5px;
}
#ui-right #sidebar {
background: none;
box-shadow: none;
border: none;
border-radius: 0px;
margin: 0px;
height: 100%;
}
#ui-right > #sidebar.collapsed {
height: auto;
}

/* ----------------------------------------- */
/* Sidebar */
Expand Down Expand Up @@ -6466,10 +6467,12 @@ nav#controls[data-theme] ol.control-tools > li.toggle:disabled {
box-shadow: unset !important;
}

[data-chat-interface-theme] #sidebar-tabs {
[data-chat-interface-theme] #sidebar-tabs,
#sidebar[data-chat-interface-theme].collapsed #sidebar-tabs {
border: unset;
}
[data-chat-interface-theme] #sidebar-tabs > .item.active {
[data-chat-interface-theme] #sidebar-tabs > .item.active,
#sidebar[data-chat-interface-theme].collapsed #sidebar-tabs > .item.active {
background: var(--app-background);
border: var(--app-border-width) solid var(--app-border-color);
text-shadow: var(--app-text-shadow);
Expand All @@ -6485,21 +6488,28 @@ nav#controls[data-theme] ol.control-tools > li.toggle:disabled {
text-shadow: var(--app-text-shadow);
--button-focus-outline-color: transparent;
}
[data-chat-interface-theme] #sidebar-tabs > .item.active:not(.disabled, :disabled):hover {
[data-chat-interface-theme] #sidebar-tabs > .item.active:not(.disabled, :disabled):hover,
#sidebar[data-chat-interface-theme].collapsed #sidebar-tabs > .item.active:not(.disabled, :disabled):hover {
background: var(--button-hover-background);
color: var(--button-hover-text-color);
border: var(--app-border-width) solid var(--button-hover-border-color);
box-shadow: var(--box-shadow);
}
[data-chat-interface-theme] #sidebar-tabs > .item.active.view, [data-chat-interface-theme] #sidebar-tabs > .item.active.selected, [data-chat-interface-theme] #sidebar-tabs > .item.active.active {
[data-chat-interface-theme] #sidebar-tabs > .item.active.view, [data-chat-interface-theme] #sidebar-tabs > .item.active.selected, [data-chat-interface-theme] #sidebar-tabs > .item.active.active,
#sidebar[data-chat-interface-theme].collapsed #sidebar-tabs > .item.active.view,
#sidebar[data-chat-interface-theme].collapsed #sidebar-tabs > .item.active.selected,
#sidebar[data-chat-interface-theme].collapsed #sidebar-tabs > .item.active.active {
background: var(--button-hover-background);
outline: 1px solid var(--button-focus-outline-color);
border-color: var(--button-hover-border-color);
color: var(--button-hover-text-color);
text-decoration: none !important;
font-weight: unset !important;
}
[data-chat-interface-theme] #sidebar-tabs > .item.active.empty, [data-chat-interface-theme] #sidebar-tabs > .item.active.disabled, [data-chat-interface-theme] #sidebar-tabs > .item.active:disabled {
[data-chat-interface-theme] #sidebar-tabs > .item.active.empty, [data-chat-interface-theme] #sidebar-tabs > .item.active.disabled, [data-chat-interface-theme] #sidebar-tabs > .item.active:disabled,
#sidebar[data-chat-interface-theme].collapsed #sidebar-tabs > .item.active.empty,
#sidebar[data-chat-interface-theme].collapsed #sidebar-tabs > .item.active.disabled,
#sidebar[data-chat-interface-theme].collapsed #sidebar-tabs > .item.active:disabled {
--button-background: var(--button-disabled-background);
--button-hover-background: var(--button-disabled-background);
--button-border-color: var(--button-disabled-border-color);
Expand Down Expand Up @@ -7318,6 +7328,9 @@ nav#controls[data-theme] ol.control-tools > li.toggle:disabled {
--secondary: var(--accent-color);
--fa-inverse: var(--accent-text-color);
}
[data-theme].actor.sheet .window-content .inventory ul.items > li > .data .item-controls > a.toggle-invested:not(.active), [data-theme].actor.sheet .window-content .inventory ul.items > li > .data .item-controls > a.item-carry-type:not(.active) {
text-shadow: 0px 0px 0px white;
}
[data-theme].actor.sheet .window-content .item-summary .button-group button {
background: var(--app-background);
border: var(--app-border-width) solid var(--app-border-color);
Expand Down Expand Up @@ -8416,7 +8429,7 @@ nav#controls[data-theme] ol.control-tools > li.toggle:disabled {
/* ----------------------------------------- */
/* Theme */
/* ----------------------------------------- */
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character {
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .sheet-content {
--color-text-dark-4: var(--text-color-4);
--color-text-dark-3: var(--text-color-5);
--color-text-dark-2: var(--text-color-2);
Expand Down
2 changes: 1 addition & 1 deletion styles/dorako-ui.css.map

Large diffs are not rendered by default.

0 comments on commit 35c2d2a

Please sign in to comment.