diff --git a/CHANGELOG.md b/CHANGELOG.md index e035cc8..05ed907 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +# 1.3.4 +Changed compact mode to client setting. Fixed issue in dark sheets. Themed foundry notifications. # 1.3.3 Fixed navbar context menu issue. Fixed Confetti overlap with Dice Tray. Added 'Plain' theme for PC sheets. Fixed secret text in NPC sheets. # 1.3.2 diff --git a/scripts/dorako-ui.js b/scripts/dorako-ui.js index 1207991..0447d86 100644 --- a/scripts/dorako-ui.js +++ b/scripts/dorako-ui.js @@ -401,7 +401,7 @@ Hooks.once('init', async function () { game.settings.register('pf2e-dorako-ui', 'rolltype-indication', { name: "Indicate rolltype by...", hint: "Secret rolls (Blind GM) are tinted pink and whispers are tinted blue.", - scope: "world", + scope: "client", type: String, default: "both", config: true, @@ -419,7 +419,7 @@ Hooks.once('init', async function () { game.settings.register('pf2e-dorako-ui', 'compact-ui', { name: "Use compact UI?", hint: "Resizes controls, and hides inactive controls and navigation elements unless hovered.", - scope: "world", + scope: "client", config: true, default: false, type: Boolean, @@ -431,7 +431,7 @@ Hooks.once('init', async function () { game.settings.register('pf2e-dorako-ui', 'no-logo', { name: "Disable logo?", hint: "Removes the Foundry logo in the top left.", - scope: "world", + scope: "client", config: true, default: true, type: Boolean, diff --git a/styles/app-ui.css b/styles/app-ui.css index 76f01c8..d73ee4f 100644 --- a/styles/app-ui.css +++ b/styles/app-ui.css @@ -345,4 +345,29 @@ box-shadow: 0px 0px 20px black; transform:scale(1.0); transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out; +} + +#notifications .notification { + border: none; + box-shadow: var(--glassy); + text-shadow: var(--pf2e-shadow-is-dark); + background: none; +} + +#notifications .notification.info { + background-color: var(--paizo-blue-bright); + background-color: #222C8CDD; +} + +#notifications .notification.error { + background-color: var(--paizo-red-bright); + background-color: #83180FDD; + /* background: hsla(var(--primary-hue), var(--primary-sat), calc(var(--primary-lvl) + 10%), 80%); */ +} + +#notifications .notification.warning, +#notifications .notification.alert { +background-color: #ECBF41DD; + color: black; + text-shadow: var(--pf2e-shadow-is-light); } \ No newline at end of file diff --git a/styles/sheet-dark.css b/styles/sheet-dark.css index fbdfec9..8c12259 100644 --- a/styles/sheet-dark.css +++ b/styles/sheet-dark.css @@ -118,4 +118,8 @@ crb-style .inventory .encumbrance .encumbrance-light-bulk-overflow { .crb-style input[type="time"] { color: white; +} + +.crb-style .sheet-body .sheet-content .spell-list .item .item-summary { + background-color: transparent; } \ No newline at end of file