Skip to content

Commit

Permalink
3.1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Dec 2, 2023
1 parent 1ab002c commit 3c31283
Show file tree
Hide file tree
Showing 8 changed files with 105 additions and 28 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 3.1.15

- (Fix) Excluded Party Overview module from theming.
- (Fix) Ecluded KingdomBuilder sheet from theming.
- (Fix) Fixed an issue where ITT would collapse before you could mouse over it, if it appeared on the left, with the BG3 app theme specifically.

# 3.1.14

- (Maintenance) Kept up to date with system styling for PC sheets.
Expand Down
2 changes: 1 addition & 1 deletion esmodules/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ export const unlimitedScopeApplications = ["PlaylistDirectory"];
/* ----------------------------------------- */
/* Excluded */
/* ----------------------------------------- */
export const excludedApplications = ["ChatLogPF2e","ItemMenuApp","LevelsUI", "SpecialEffectsManagement", "ParticleEffectsManagement", "FilterEffectsManagementConfig"]; //
export const excludedApplications = ["PartyOverviewApp","KingdomBuilder","ChatLogPF2e","ItemMenuApp","LevelsUI", "SpecialEffectsManagement", "ParticleEffectsManagement", "FilterEffectsManagementConfig"]; //
1 change: 1 addition & 0 deletions sass/module-support/_pf2e-idle-hud.scss
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
--color-rank-3: #cf931d;
--color-rank-4: red; // Symon recommended
--color-disabled: var(--color-light-disabled);
padding-bottom: 0px;
}

&#pf2e-token-hud .sidebar .sidebar-header input {
Expand Down
10 changes: 5 additions & 5 deletions sass/ui-theme/foundry-core/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
padding-bottom: var(--sidebar-margin);
}

[data-chat-app-theme] section.chat-sidebar .jump-to-bottom > a {
background: black;
z-index: 1;
}

[data-dorako-ui-scope="sidebar"] {
.tab {
&:not([data-tab="chat"]) button {
Expand Down Expand Up @@ -105,11 +110,6 @@
// }
// }

section.chat-sidebar .jump-to-bottom > a {
background: black;
z-index: 1;
}

// &#sidebar {
// border: 1px solid var(--app-border-color);

Expand Down
4 changes: 1 addition & 3 deletions sass/ui-theme/themes/_bg3.scss
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@
border: 2px solid transparent !important;
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.8) inset;

&[data-color-scheme="blue"] {
&[data-theme-variant="blue"] {
--bg3-border-inner: #a16a37;
--bg3-border-outer: #4a2e18;
--bg3-border-internal: #304248;
Expand Down Expand Up @@ -701,7 +701,6 @@
/* ITT */
/* ----------------------------------------- */
[data-dorako-ui-theme="bg3"]#pf2e-token-hud {
--outer-padding: 0px;
--bg3-border-inner: #a16a37;
--bg3-border-outer: #4a2e18;
--bg3-border-internal: #304248;
Expand Down Expand Up @@ -794,7 +793,6 @@
width: auto;
}
.sidebar {
margin-left: 10px;
box-shadow: 0px 0px 20px black, 0px 0px 10px black, 0px 0px 5px 1px rgba(0, 0, 0, 0.8) inset !important;
}
.distance.free {
Expand Down
51 changes: 46 additions & 5 deletions sass/ui-theme/themes/_discord.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@
--color-light-3: var(--discord-text-3);
--color-light-4: var(--discord-text-2);
--color-light-5: var(--discord-text-1);
--inline-text-color: black;
--inline-bg: color-mix(in srgb, var(--accent-color) 15%, transparent);
--inline-text-color: var(--accent-color);
--inline-icon-color: var(--accent-color);

&.sheet.pf2e.actor.npc.app {
--section-background: var(--window-app-background);
Expand Down Expand Up @@ -194,11 +196,15 @@
--app-border-style: 0px solid;
--app-text-shadow: none;
/* Inline variables */
--inline-bg: var(--fieldset-background-color);
--inline-border-color: var(--discord-attention);
--inline-text-color: var(--discord-text-2);
--inline-icon-color: var(--discord-attention);
// --inline-bg: var(--fieldset-background-color);
// --inline-border-color: var(--discord-attention);
// --inline-text-color: var(--discord-text-2);
// --inline-icon-color: var(--discord-attention);
--inline-box-shadow: none;
--inline-bg: color-mix(in srgb, var(--accent-color) 25%, transparent);
--inline-border-color: transparent;
--inline-text-color: #cacdf7;
--inline-icon-color: #cacdf7;
/* Input variables */
--input-border-color: transparent;
--input-disabled-background-color: #494b51;
Expand Down Expand Up @@ -389,6 +395,15 @@
}
}

.message-header .header-meta.rolltype {
&.blind {
color: var(--blind-bg);
}
&.whisper {
color: var(--whisper-bg);
}
}

.message-header,
.message-header h4 {
color: color-mix(in srgb, var(--player-color) 80%, white 20%) !important;
Expand All @@ -413,6 +428,7 @@
--app-border-color: var(--color-text-light-6);
}

.chat-card button:hover,
.message-buttons button:hover,
.card-buttons button:hover,
.damage-application button:hover {
Expand All @@ -423,6 +439,21 @@
--color-cool-2: var(--discord-accent-color);
--color-cool-1: var(--accent-color-light);
}

.message-timestamp,
.message-header .header-meta {
background: none !important;
border: none !important;
color: #959ba3;
text-shadow: none;
padding: 0px;
}

.tags .tag.tag_transparent,
.tags .tag option.tag_transparent {
background-color: color-mix(in srgb, var(--player-color) 20%, transparent);
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--player-color) 50%, rgba(255, 255, 255, 0.5));
}
}

[data-dorako-ui-theme="discord"][data-color-scheme="light"].chat-message {
Expand All @@ -438,6 +469,11 @@
--color-level-success: var(--discord-green);
--color-level-success-border: color-mix(in srgb, var(--discord-green) 50%, white 50%);

.message-timestamp,
.message-header .header-meta {
color: #313338;
}

&.whisper {
border-color: var(--whisper-bg);
background: color-mix(in srgb, #ffffff 50%, var(--whisper-bg));
Expand Down Expand Up @@ -472,6 +508,11 @@
}
}

[data-chat-app-theme="discord"] #dorako-rt-buttons button {
--button-toggle-border-color: color-mix(in srgb, var(--discord-green) 75%, white);
--button-toggle-hover-border-color: color-mix(in srgb, var(--discord-attention) 50%, white);
}

[data-dorako-ui-theme="discord"][data-color-scheme="light"] .damage {
--color-bg-physical: rgba(132, 132, 132, 0.125); // adjusted
--color-border-physical: #939292; // adjusted
Expand Down
57 changes: 44 additions & 13 deletions styles/dorako-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -2702,6 +2702,7 @@ body.compact-ui #navigation[data-dorako-ui-theme] .monks-scene-navigation #nav-t
--color-rank-3: #cf931d;
--color-rank-4: red;
--color-disabled: var(--color-light-disabled);
padding-bottom: 0px;
}
[data-dorako-ui-theme]#pf2e-token-hud .sidebar .sidebar-header input {
background: var(--input-background-color);
Expand Down Expand Up @@ -7037,6 +7038,11 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
padding-bottom: var(--sidebar-margin);
}

[data-chat-app-theme] section.chat-sidebar .jump-to-bottom > a {
background: black;
z-index: 1;
}

[data-dorako-ui-scope=sidebar] .tab:not([data-tab=chat]) button {
background: var(--app-background);
border: var(--app-border-style);
Expand Down Expand Up @@ -7207,10 +7213,6 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
border-top-left-radius: unset;
border-bottom-right-radius: unset;
}
[data-dorako-ui-scope=sidebar] section.chat-sidebar .jump-to-bottom > a {
background: black;
z-index: 1;
}

/* ----------------------------------------- */
/* Foundry2 */
Expand Down Expand Up @@ -10801,7 +10803,9 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
--color-light-3: var(--discord-text-3);
--color-light-4: var(--discord-text-2);
--color-light-5: var(--discord-text-1);
--inline-text-color: black;
--inline-bg: color-mix(in srgb, var(--accent-color) 15%, transparent);
--inline-text-color: var(--accent-color);
--inline-icon-color: var(--accent-color);
}
[data-dorako-ui-theme=discord][data-dorako-ui-scope=limited][data-color-scheme=light].sheet.pf2e.actor.npc.app,
[data-dorako-ui-theme=discord][data-color-scheme=light].sheet.pf2e.actor.npc.app {
Expand Down Expand Up @@ -10905,11 +10909,11 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
--app-border-style: 0px solid;
--app-text-shadow: none;
/* Inline variables */
--inline-bg: var(--fieldset-background-color);
--inline-border-color: var(--discord-attention);
--inline-text-color: var(--discord-text-2);
--inline-icon-color: var(--discord-attention);
--inline-box-shadow: none;
--inline-bg: color-mix(in srgb, var(--accent-color) 25%, transparent);
--inline-border-color: transparent;
--inline-text-color: #cacdf7;
--inline-icon-color: #cacdf7;
/* Input variables */
--input-border-color: transparent;
--input-disabled-background-color: #494b51;
Expand Down Expand Up @@ -11067,6 +11071,12 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
border-color: var(--blind-bg);
background: color-mix(in srgb, var(--discord-background-2) 80%, var(--blind-bg));
}
[data-dorako-ui-theme=discord].chat-message .message-header .header-meta.rolltype.blind {
color: var(--blind-bg);
}
[data-dorako-ui-theme=discord].chat-message .message-header .header-meta.rolltype.whisper {
color: var(--whisper-bg);
}
[data-dorako-ui-theme=discord].chat-message .message-header,
[data-dorako-ui-theme=discord].chat-message .message-header h4 {
color: color-mix(in srgb, var(--player-color) 80%, white 20%) !important;
Expand All @@ -11089,6 +11099,7 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
--app-background: transparent;
--app-border-color: var(--color-text-light-6);
}
[data-dorako-ui-theme=discord].chat-message .chat-card button:hover,
[data-dorako-ui-theme=discord].chat-message .message-buttons button:hover,
[data-dorako-ui-theme=discord].chat-message .card-buttons button:hover,
[data-dorako-ui-theme=discord].chat-message .damage-application button:hover {
Expand All @@ -11098,6 +11109,19 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
--color-cool-2: var(--discord-accent-color);
--color-cool-1: var(--accent-color-light);
}
[data-dorako-ui-theme=discord].chat-message .message-timestamp,
[data-dorako-ui-theme=discord].chat-message .message-header .header-meta {
background: none !important;
border: none !important;
color: #959ba3;
text-shadow: none;
padding: 0px;
}
[data-dorako-ui-theme=discord].chat-message .tags .tag.tag_transparent,
[data-dorako-ui-theme=discord].chat-message .tags .tag option.tag_transparent {
background-color: color-mix(in srgb, var(--player-color) 20%, transparent);
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--player-color) 50%, rgba(255, 255, 255, 0.5));
}

[data-dorako-ui-theme=discord][data-color-scheme=light].chat-message {
background: #ffffff;
Expand All @@ -11112,6 +11136,10 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
--color-level-success: var(--discord-green);
--color-level-success-border: color-mix(in srgb, var(--discord-green) 50%, white 50%);
}
[data-dorako-ui-theme=discord][data-color-scheme=light].chat-message .message-timestamp,
[data-dorako-ui-theme=discord][data-color-scheme=light].chat-message .message-header .header-meta {
color: #313338;
}
[data-dorako-ui-theme=discord][data-color-scheme=light].chat-message.whisper {
border-color: var(--whisper-bg);
background: color-mix(in srgb, #ffffff 50%, var(--whisper-bg));
Expand Down Expand Up @@ -11144,6 +11172,11 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
--button-background-color: var(--discord-background-3);
}

[data-chat-app-theme=discord] #dorako-rt-buttons button {
--button-toggle-border-color: color-mix(in srgb, var(--discord-green) 75%, white);
--button-toggle-hover-border-color: color-mix(in srgb, var(--discord-attention) 50%, white);
}

[data-dorako-ui-theme=discord][data-color-scheme=light] .damage {
--color-bg-physical: rgba(132, 132, 132, 0.125);
--color-border-physical: #939292;
Expand Down Expand Up @@ -11832,7 +11865,7 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
border: 2px solid transparent !important;
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.8) inset;
}
[data-dorako-ui-theme=bg3].message.chat-message[data-color-scheme=blue] {
[data-dorako-ui-theme=bg3].message.chat-message[data-theme-variant=blue] {
--bg3-border-inner: #a16a37;
--bg3-border-outer: #4a2e18;
--bg3-border-internal: #304248;
Expand All @@ -11852,7 +11885,7 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
);
background: linear-gradient(to bottom, color-mix(in srgb, var(--player-color) 40%, transparent) 0, transparent 40%) border-box, var(--bg3-tooltip-window-background) padding-box, linear-gradient(to right, var(--bg3-border-outer) 0%, var(--bg3-border-inner) 50%, var(--bg3-border-outer) 100%) border-box;
}
[data-dorako-ui-theme=bg3].message.chat-message[data-color-scheme=blue] .card-content hr {
[data-dorako-ui-theme=bg3].message.chat-message[data-theme-variant=blue] .card-content hr {
border-color: var(--bg3-border-outer);
border: solid transparent;
border-image: linear-gradient(90deg, #f1edea, #d5cac1) 1 repeat;
Expand Down Expand Up @@ -11969,7 +12002,6 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
/* ITT */
/* ----------------------------------------- */
[data-dorako-ui-theme=bg3]#pf2e-token-hud {
--outer-padding: 0px;
--bg3-border-inner: #a16a37;
--bg3-border-outer: #4a2e18;
--bg3-border-internal: #304248;
Expand Down Expand Up @@ -12049,7 +12081,6 @@ nav#controls[data-dorako-ui-theme] ol.control-tools > li.toggle:disabled {
width: auto;
}
[data-dorako-ui-theme=bg3]#pf2e-token-hud .sidebar {
margin-left: 10px;
box-shadow: 0px 0px 20px black, 0px 0px 10px black, 0px 0px 5px 1px rgba(0, 0, 0, 0.8) inset !important;
}
[data-dorako-ui-theme=bg3]#pf2e-token-hud .distance.free {
Expand Down
2 changes: 1 addition & 1 deletion styles/dorako-ui.css.map

Large diffs are not rendered by default.

0 comments on commit 3c31283

Please sign in to comment.