Skip to content

Commit

Permalink
3.5.17
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Sep 12, 2024
1 parent 117dd95 commit 759d461
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 3.5.17

- (Fix) Fixed an issue where the CRB style colored chat message headers would always use light text.
- (Refinement) Excluded PF2eHudItemPopup from theming, as it implements custom styling.

# 3.5.16

- (Refinement) Removed some logspam.
Expand Down
2 changes: 1 addition & 1 deletion esmodules/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ export const unlimitedScopeApplications = ["PlaylistDirectory"];
/* ----------------------------------------- */
/* Excluded */
/* ----------------------------------------- */
export const excludedApplications = ["ItemAnimationsApp","ActorAnimationsApp","AnimationHistoryApp", "UserAnimationsApp", "WorldAnimationsApp","JSONEditorApp", "VCEChatLog", "AutorecMenuApp","GmScreenApplicationDrawer","MixerApp","EnhancedJournal","PartyOverviewApp","KingdomBuilder","ChatLogPF2e","ItemMenuApp","LevelsUI", "SpecialEffectsManagement", "ParticleEffectsManagement", "FilterEffectsManagementConfig"]; //
export const excludedApplications = ["PF2eHudItemPopup","ItemAnimationsApp","ActorAnimationsApp","AnimationHistoryApp", "UserAnimationsApp", "WorldAnimationsApp","JSONEditorApp", "VCEChatLog", "AutorecMenuApp","GmScreenApplicationDrawer","MixerApp","EnhancedJournal","PartyOverviewApp","KingdomBuilder","ChatLogPF2e","ItemMenuApp","LevelsUI", "SpecialEffectsManagement", "ParticleEffectsManagement", "FilterEffectsManagementConfig"]; //
2 changes: 1 addition & 1 deletion esmodules/message-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function calcHeaderTextColor(headerColor) {
var b = headerColor.b;
var yiq = (r * 299 + g * 587 + b * 114) / 1000;

if (yiq >= 180) {
if (yiq >= 0.8) {
return "dark";
} else {
return "light";
Expand Down

0 comments on commit 759d461

Please sign in to comment.