Skip to content

Commit

Permalink
3.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Dec 18, 2023
1 parent c89c453 commit 3b3c5da
Show file tree
Hide file tree
Showing 15 changed files with 647 additions and 207 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,6 @@ foundry.js

vtt.novumgaming.com
vtt.novumgaming.com:2053
localhost:30000
localhost:30000

img/wotr
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 3.3.3

- (Maintenance) Update certain selectors to keep in sync with System.
- (Refinement) Fixed rendering of degrees of success labels in Toolbelt for dark themes.

# 3.3.2

- (New) Added full theme support for the new Army sheets.
Expand Down
Binary file added img/crayon-border-white.webp
Binary file not shown.
Binary file added img/crayon-border.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions sass/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
outline: 1px solid var(--button-focus-outline-color);
border-color: var(--button-hover-border-color);
color: var(--button-hover-text-color);
text-decoration: none;
font-weight: unset;
text-decoration: none !important;
font-weight: unset !important;
}

&.empty,
Expand Down
2 changes: 2 additions & 0 deletions sass/module-support/_pf2e-toolbelt.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), inset 0 0 0 2px rgba(0, 0, 0, 0.4);
}
}

button[data-action="hero-actions-trade"],
.heroActions-list > button {
@include dui-button;
margin-top: 5px;
Expand Down
20 changes: 18 additions & 2 deletions sass/ui-theme/foundry-core/_app-ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,16 @@
}
}

[data-theme][data-color-scheme="dark"] {
&.chat-message .message-content + .pf2e-toolbelt-target-damage,
&.chat-message .message-content + .pf2e-toolbelt-target-spell {
--criticalSuccess: var(--degree-success-critical);
--success: var(--degree-success);
--failure: var(--degree-failure);
--criticalFailure: var(--degree-failure-critical);
}
}

[data-color-scheme="light"] {
// Dark theme
--rarity-common: #323232;
Expand All @@ -143,6 +153,11 @@
/* Value adjustments (e.g. weak/elite) */
--adjusted-higher: #009988;
--adjusted-lower: #cc3311;

&.filepicker .favorites .paths {
--color-text-dark-primary: white;
--button-text-color: white;
}
}

/* ----------------------------------------- */
Expand Down Expand Up @@ -507,6 +522,7 @@
border-right-color: var(--color-primary-3);
bottom: -1px;
right: -1px;
z-index: 2;
}
}
}
Expand Down Expand Up @@ -545,8 +561,8 @@

&.filepicker .favorites .paths {
box-shadow: unset;
border: 1px solid var(--color-secondary-3);
background: var(--color-secondary-5-50);
border: 1px solid var(--input-border-color);
background: var(--input-background);
.path {
@include dui-button-toggle;
border-radius: 3px;
Expand Down
16 changes: 9 additions & 7 deletions sass/ui-theme/pf2e-system/_actor-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
box-shadow: unset;
display: flex;
margin: 2px 2px;
border: none;
.tabs {
gap: 4px;
}
.list-row,
a.item,
.tab {
@include dui-button;
Expand All @@ -24,18 +29,15 @@
}
}

&.pf2e.item.sheet form > nav > .tabs > a:last-of-type {
padding: 5px 10px; // unsets ugly system behaviour
}

&.pf2e.actor form input[type="text"],
&.pf2e.actor form input[type="number"] {
@include dui-input;
}

&.sheet nav.sheet-tabs {
border: none;
.item {
@include dui-button;
}
}

.tags.paizo-style .tag.rarity.common,
.tags.paizo-style .tag.rarity[value="common"],
.tags.paizo-style .tag.rarity > option[value="common"] {
Expand Down
15 changes: 3 additions & 12 deletions sass/ui-theme/pf2e-system/_army-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
&.sheet.army {
--color-text-light: var(--text-color-2);
}

&.sheet.army.window-app .window-header {
background: #504c45;
border-top-left-radius: var(--border-radius);
border-top-right-radius: var(--border-radius);
color: #ffffff !important;
}

&.sheet.army form {
background: unset;
}
Expand All @@ -25,20 +27,9 @@
&.sheet.army form .army-sidebar header {
--primary: var(--color-primary-2);
}

&.sheet.army form ol.item-list li.item .item-icon {
border-radius: 3px;
border-color: var(--icon-border-color);
}
}

// [data-theme][data-color-scheme="dark"] {
// &.sheet.army form .army-sidebar header {
// --primary: var(--color-text-light-1);
// }
// }

// [data-theme][data-color-scheme="light"] {
// &.sheet.army form .army-sidebar header {
// --primary: var(--color-primary-2);
// }
// }
1 change: 1 addition & 0 deletions sass/ui-theme/pf2e-system/_pc-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@
// @include dui-input;
// }

section.major > header,
.details-label,
h1,
h2,
Expand Down
2 changes: 2 additions & 0 deletions sass/ui-theme/themes/_crb-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
--color-primary-2: var(--tertiary-dark);
--color-secondary-5-75: rgba(0, 0, 0, 0.5);
--color-border-light-2: black;
--button-hover-text-color: black;
}

/* ----------------------------------------- */
Expand Down Expand Up @@ -78,6 +79,7 @@

--input-text-color: var(--text-color-3);
--input-background: var(--glass-bg);
--input-border-color: transparent;
--input-focus-text-color: var(--text-color-2);
--input-placeholder-color: var(--text-color-5);
--input-disabled-background: black;
Expand Down
1 change: 1 addition & 0 deletions sass/ui-theme/themes/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
@import "crb";
@import "foundry2";
@import "opaque";
@import "wotr";
Loading

0 comments on commit 3b3c5da

Please sign in to comment.