Skip to content

Commit

Permalink
1.11.23
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Feb 14, 2023
1 parent 7b8ac11 commit 789ff7d
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.11.23

- (System) Blacklisted complex SWADE sheets from dark-theme.
- (System) Rejiggered some things to make SWADE journals compatible with dark theme.
- (System) Updated all instanced of 'red' (--primary) in SWADE to be the SWADE accent color.

# 1.11.22

- (Refinement) Updated the wrapping-behavior of long in-character and player names. In general more stuff should avoid reflowing.
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 = ["Tokenizer","JournalTextTinyMCESheetPF2e","JournalTextPageSheet","AbilityBuilderPopup","TokenActionHUD","CustomHotbar","SceneDarknessAdjuster","EffectsPanel","Notifications", "Pause","TokenHUD","HeadsUpDisplay","Sidebar","HotbarPF2e","SceneNavigation", "SceneControls","PlayerList", "ImagePopout","EnhancedJournal","JournalSheetPF2e"]
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"]
// prettier-ignore
export const exclusivelyDarkApplications = ["FABattlemaps", "FADownloader"]

Expand Down
2 changes: 1 addition & 1 deletion modules/dark-theme-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Hooks.on("renderApplication", (app, html, data) => {
}
html.closest(".app").find(".journal-entry-content").addClass("dorako-ui dark-theme");
console.debug(
`${MODULE_NAME} | renderJournalSheetPF2e | enable-dark-theme-journals: ${isDarkJournals} => add .dorako-ui .dark-theme`
`${MODULE_NAME} | render${app.constructor.name} | enable-dark-theme-journals: ${isDarkJournals} => add .dorako-ui .dark-theme`
);
});

Expand Down
2 changes: 1 addition & 1 deletion sass/module/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
@import "cautious-gamemasters-pack", "combat-carousel", "custom-hotbar", "damage-log", "dfce", "dice-tray", "dorako-ui",
"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";
"dalvyn-journal", "swade";
6 changes: 6 additions & 0 deletions sass/module/_monks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -580,3 +580,9 @@ section.readaloud {
border-radius: 5px;
}
}

.monks-journal-sheet.sheet .items-list .item {
border: solid transparent;
border-image: linear-gradient(90deg, #f1edea, #d5cac1) 1 repeat;
border-width: 0 0 1px;
}
16 changes: 16 additions & 0 deletions sass/module/_swade.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.compendium-toc .toc .toc-entry .name {
text-decoration-color: var(--color-underline-header);
}

.compendium-toc .toc .content {
column-rule: 4px double var(--color-underline-header);
}

body.system-swade {
--primary-dark: #5c0b07;
--primary: #8c160f;
--primary-light: #bc2922;
// --secondary-light: #ccc;
// --secondary: #aaa;
// --secondary-dark: #222;
}
20 changes: 20 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 789ff7d

Please sign in to comment.