Skip to content

Commit

Permalink
2.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Aug 30, 2023
1 parent 2b0de8e commit c6818ed
Show file tree
Hide file tree
Showing 7 changed files with 142 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.6.2

- (Maintenance) Fix various dark-theme breakages introduced in system 5.4.1.
- (New) Initial Light and dark-theme support for Party Sheet.

# 2.6.1

- (New) Styling of Party Sheet's "clown car" button to make it fit with other control buttons.
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"type": "system",
"compatibility": {
"minimum": "4.0.0",
"verified": "5.3.0"
"verified": "5.4.1"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion modules/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const baseThemeCoreFoundryApplications = ["ImagePopout","SceneControls",
export const baseThemePf2eApplications = ["HotbarPF2e", "EffectsPanel", "SceneDarknessAdjuster"]; // "JournalSheetPF2e",
// prettier-ignore
// export const baseThemePf2eSheets = ["ItemSheet","ActorSheet","LootSheetPF2e"]; //"FamiliarSheetPF2e","HazardSheetPF2e"
export const baseThemePf2eSheets = ["SpellPreparationSheet","ItemSheet","NPCSheetPF2e","VehicleSheetPf2e","FamiliarSheetPF2e","HazardSheetPF2e", "CharacterSheetPF2e","LootSheetPF2e"]; //|| "ItemSheet","ActorSheet"
export const baseThemePf2eSheets = ["PartySheetPF2e","SpellPreparationSheet","ItemSheet","NPCSheetPF2e","VehicleSheetPf2e","FamiliarSheetPF2e","HazardSheetPF2e", "CharacterSheetPF2e","LootSheetPF2e"]; //|| "ItemSheet","ActorSheet"

// prettier-ignore
export const baseThemeModuleApplications = ["HUD","ItemPileConfig","PinCushionHUD","CombatCarousel","CommonToolbar","MonksHotbarExpansion","CustomHotbar"];
Expand Down
74 changes: 74 additions & 0 deletions sass/pf2e/_actor-sheet-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,80 @@
}
}

&.actor.sheet.character {
--text-dark: var(--color-text-light-highlight);
}

// Party sheet
&.sheet.party {
--color-border: var(--tertiary);
--alt-dark: var(--tertiary-dark);
}

&.sheet.party form {
background: unset;
}

&.sheet.party form .details .title .name {
box-shadow: none !important;
background: none !important;
}

.tags .tag.tag_transparent,
.tags .tag option.tag_transparent {
color: white;
}

&.sheet.party [data-tab="overview"] .member .main-stats .ac .value {
color: var(--tertiary);
text-shadow: 0px 1px 0px black;
}

&.sheet.party [data-tab="overview"] .summary nav button.active {
background: var(--primary);
}

&.sheet.party .tag-light {
background: var(--tag-color);
color: white;
box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.5) inset;
}

&.sheet.party nav.sub-nav a,
&.sheet.party nav.sub-nav .tab {
color: var(--tertiary-dark);
}

&.sheet.party [data-tab="exploration"] .activities .member-activity .empty .name,
&.sheet.party nav.sub-nav a.active,
&.sheet.party nav.sub-nav .tab.active {
color: var(--tertiary);
}

&.sheet.party nav.sub-nav {
background: var(--glass-bg-light);
box-shadow: 0 2px 4px rgb(0 0 0 / 18%), 0px -1px 2px rgb(255 255 255 / 30%) inset;

.tab {
border-left: 1px solid rgba(255, 255, 255, 0.3);
border-right: 1px solid rgba(0, 0, 0, 0.2);
}
&::before,
&::after {
filter: invert(1);
}
}

&.sheet.party [data-tab="overview"] .member .name .hero-points .empty {
border-color: var(--tertiary);
}

// prettier-ignore
&.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.character .character-details .alignment select,
&.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.actions ol.actions-list li.strike .auxiliary-actions button select.modular {
color: black; // overwrite --text-dark
}

.tags .tag.tag_secondary,
.tags .tag option.tag_secondary {
background-color: var(--tertiary-dark);
Expand Down
4 changes: 4 additions & 0 deletions sass/pf2e/_actor-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
background: unset;
}

&.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.character .character-background .pc {
gap: 4px;
}

&.actor.sheet .crb-style .sheet-body .sheet-content .tab.actions .actions-container .actions-tabs-wrapper .actions-panels ol.actions-list li.action .item-name .item-image {
@include gold-border;
border-radius: 2px;
Expand Down
56 changes: 56 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.

0 comments on commit c6818ed

Please sign in to comment.