From bab06417f900e640e3573268ecf2ea434ad95168 Mon Sep 17 00:00:00 2001 From: Dorako Date: Mon, 3 Oct 2022 19:09:25 +0200 Subject: [PATCH] 1.6.9 --- CHANGELOG.md | 12 ++++++++++ module.json | 6 ++--- scripts/dorako-ui.js | 9 +++++--- styles/app-ui.css | 6 +++++ styles/pc-sheet-dark.css | 46 ++++++++++++++++++++++++++++++++++++++- styles/window-control.css | 2 +- 6 files changed, 73 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cef595..fccf574 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# 1.6.9 + +Fixed a PC dark mode regression caused by a recent system update. + +Updated PC dark mode for the system rarity colors. + +Changed scope of text-box height back to client. + +Fixed 'fuzzy' sidebar text in blood lords premium module. + +Fixed 'disabled' setting for chat portraits not working. + # 1.6.8 Fixed artifact from FPS monitor showing even when disabled in core settings. diff --git a/module.json b/module.json index fa3722a..f89b488 100644 --- a/module.json +++ b/module.json @@ -11,7 +11,7 @@ "discord": "Dorako#0657" } ], - "version": "1.6.8", + "version": "1.6.9", "compatibility": { "minimum": "10", "verified": "10.286" @@ -24,13 +24,13 @@ "manifest": "https://github.com/foundryvtt/pf2e/releases/download/latest/system.json", "compatibility": { "minimum": "4.0.0", - "verified": "4.1.3" + "verified": "4.2.1" } } ] }, "scripts": ["scripts/dorako-ui.js"], - "download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.6.8.zip", + "download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.6.9.zip", "manifest": "https://github.com/Dorako/pf2e-dorako-ui/raw/main/module.json" } diff --git a/scripts/dorako-ui.js b/scripts/dorako-ui.js index f601590..e4df8fb 100644 --- a/scripts/dorako-ui.js +++ b/scripts/dorako-ui.js @@ -437,6 +437,9 @@ function addAvatarsToFlags(message) { function getAvatar(message) { const main = game.settings.get("pf2e-dorako-ui", "insertSpeakerImage"); + if (main == "none") { + return null; + } let combatantAvatar = message.getFlag("pf2e-dorako-ui", "combatantAvatar"); let tokenAvatar = message.getFlag("pf2e-dorako-ui", "tokenAvatar"); @@ -705,11 +708,11 @@ Hooks.once("init", async () => { game.settings.register("pf2e-dorako-ui", "chat-input-height", { name: "Chatbox height", - scope: "world", + scope: "client", type: Number, - default: 50, + default: 90, range: { - min: 50, + min: 20, max: 300, step: 5, }, diff --git a/styles/app-ui.css b/styles/app-ui.css index 632615f..9ae03e1 100644 --- a/styles/app-ui.css +++ b/styles/app-ui.css @@ -423,4 +423,10 @@ .fa-battlemaps.app.window-app .window-content { background: #141414; + } + + /* Ripper's filepicker+ fix, maybe */ + :root { + --filepickerplus-text-color: var(--color-text-dark-primary); + --filepickerplus-background-color: var(--bg); } \ No newline at end of file diff --git a/styles/pc-sheet-dark.css b/styles/pc-sheet-dark.css index 35712e7..75efd3e 100644 --- a/styles/pc-sheet-dark.css +++ b/styles/pc-sheet-dark.css @@ -667,5 +667,49 @@ a.inline-roll, } .actor.sheet .crb-style.limited .tab.character .character-bio { - color: var(--text-light); + color: var(--text-light); +} + +/* Dorako's quickfix, feel free to restructure as you want */ +.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.spellcasting .spellcasting-entry .spell-ability-data section { + color: var(--text-light); +} + +.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.spellcasting .spellcasting-entry .spell-ability-data .skill-score { + color: var(--tertiary); +} + +.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.spellcasting .spellcasting-entry .rollable .d20-svg { + filter: var(--filter-dark); +} + +.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.inventory .inventory-list .item .item-name h4 { + text-shadow: 0px 1px 1px black; +} + +.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.inventory .inventory-list .item .item-name h4.rarity-common { + color: #e1d8cf; +} + +.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.inventory .inventory-list .item .item-name h4.rarity-uncommon { + color: var(--nethys-uncommon); + color: var(--nethys-uncommon); +} + +.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.inventory .inventory-list .item .item-name h4.rarity-rare { + color: var(--nethys-rare); + color: #5362ff; +} + +.actor.sheet.character .crb-style .sheet-body .sheet-content .tab.inventory .inventory-list .item .item-name h4.rarity-unique { + color: var(--nethys-unique); + color: #e127e1 +} + +.actor.sheet .inventory .list-row .item-controls .item-control .fa-stack .fa-1, .actor.sheet .inventory .list-row .item-controls .item-control .fa-stack .fa-2 { + color: var(--color-text-dark-4) +} + +.actor.sheet .inventory .item-name .item-charges { + color: #979797; } \ No newline at end of file diff --git a/styles/window-control.css b/styles/window-control.css index b037bbc..0de97b9 100644 --- a/styles/window-control.css +++ b/styles/window-control.css @@ -81,7 +81,7 @@ background-size: cover; } -.sheet.journal-entry .journal-sidebar { +.sheet.journal-entry:not(.bloodlords-wrapper) .journal-sidebar { text-shadow: var(--dorako-text-shadow); }