Skip to content

Commit

Permalink
2.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Aug 1, 2023
1 parent b6aecf6 commit 22ee26b
Show file tree
Hide file tree
Showing 13 changed files with 61 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 2.3.8

- (New) Added a new "green" option for chat message headers. The color is based on the "Remaster" color scheme.
- (Module) Added support for the Window Tabs module. The module provides its own style support for Dorako UI, this change just ensures it plays nice with dark theme.
- (Maintenance) Readded a padding the system had removed that caused vertical bars in spell footers to hug the text too tightly.
- (Maintenance) Removed a padding the system had added to template buttons that caused the 'repost' button to be offset from the edge.

# 2.3.7

- (Maintenance) Updated styling of effect panel information to avoid new solid background introduced by system change
Expand Down
1 change: 1 addition & 0 deletions languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"choice": {
"red": "Red",
"blue": "Blue",
"green": "Green",
"tint": "Player color",
"none": "Disabled"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const darkThemeCompatibleModuleApplications = ["PartyOverviewApp","RollPr
// prettier-ignore
export const dorakoUiApplications = ["AvatarSettings","MiscSettings","ThemeSettings","UXSettings"]
// prettier-ignore
export const darkThemeIncompatibleApplications = ["SwadeVehicleSheet","SwadeNPCSheet","JournalSheet","CharacterSheet","Tokenizer","JournalTextTinyMCESheetPF2e","JournalTextPageSheet","AbilityBuilderPopup","TokenActionHUD","CustomHotbar","SceneDarknessAdjuster","EffectsPanel","Notifications", "Pause","TokenHUD","HeadsUpDisplay","Sidebar","HotbarPF2e","SceneNavigation", "SceneControls","PlayerList", "ImagePopout","EnhancedJournal","JournalSheetPF2e"]
export const darkThemeIncompatibleApplications = ["WindowTabs","Ye","SwadeVehicleSheet","SwadeNPCSheet","JournalSheet","CharacterSheet","Tokenizer","JournalTextTinyMCESheetPF2e","JournalTextPageSheet","AbilityBuilderPopup","TokenActionHUD","CustomHotbar","SceneDarknessAdjuster","EffectsPanel","Notifications", "Pause","TokenHUD","HeadsUpDisplay","Sidebar","HotbarPF2e","SceneNavigation", "SceneControls","PlayerList", "ImagePopout","EnhancedJournal","JournalSheetPF2e"]
// prettier-ignore
export const exclusivelyDarkApplications = ["FABattlemaps", "FADownloader"]

Expand Down
2 changes: 2 additions & 0 deletions modules/message-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,8 @@ function getHeaderColor(html, message) {
return "#191F65";
} else if (headerStyle === "red") {
return "#540C06";
} else if (headerStyle === "green") {
return "#002A17";
} else if (headerStyle === "none") {
return null;
}
Expand Down
1 change: 1 addition & 0 deletions modules/settings/theme-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export class ThemeSettings extends SettingsMenuDorakoUI {
choices: {
red: "pf2e-dorako-ui.settings.theme.header-style.choice.red",
blue: "pf2e-dorako-ui.settings.theme.header-style.choice.blue",
green: "pf2e-dorako-ui.settings.theme.header-style.choice.green",
tint: "pf2e-dorako-ui.settings.theme.header-style.choice.tint",
none: "pf2e-dorako-ui.settings.theme.header-style.choice.none",
},
Expand Down
1 change: 1 addition & 0 deletions sass/_messages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@

span {
border-right: 1px solid gray;
padding-right: 5px; // Undoes 0px set by system
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions sass/_misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ a.inline-roll:not(.inline-result) {
text-shadow: none !important;
}

// Undoes padding 1px 4px by system, which adds whitespace to the right of the repost button, and causes it to hover 1px
span[data-pf2-effect-area].with-repost {
padding: 0px;
padding-left: 4px;
}

.dorako-ui.dark-theme {
a.content-link.broken {
background: rgba(255, 0, 0, 0.5);
Expand Down
2 changes: 1 addition & 1 deletion sass/module/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"enhancen-terrain-layer", "filepicker-plus", "koboldworks-turn-announcer", "macros", "monarch", "monks", "polyglot",
"scene-preview", "speaking-as", "target-damage", "token-action-hud", "workbench", "party-overview", "pf2e-dailies",
"dalvyn-journal", "swade", "chat-reactions", "card-hand-mini-toolbar", "module-management-plus", "misc", "item-piles",
"pf2e-idle-hud", "pf2e-utility-buttons";
"pf2e-idle-hud", "pf2e-utility-buttons", "window-tabs";
18 changes: 18 additions & 0 deletions sass/module/_window-tabs.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#window-tabs-journal.dorako-ui {
> .window-content {
border: unset;
margin: unset;
box-shadow: unset;
background: unset;
}

> header.window-header .window-tabs {
height: 37px;
padding-top: 5px;

a.window-tabs--tab {
border-radius: 5px;
margin-bottom: 3px;
}
}
}
6 changes: 6 additions & 0 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.

15 changes: 15 additions & 0 deletions styles/module-support.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/module-support.css.map

Large diffs are not rendered by default.

0 comments on commit 22ee26b

Please sign in to comment.