From d5afe0e59375c46ed739ba74b286450171556174 Mon Sep 17 00:00:00 2001 From: Dorako Date: Sun, 25 Sep 2022 19:54:35 +0200 Subject: [PATCH] 1.6.7 --- CHANGELOG.md | 4 ++++ module.json | 6 +++--- styles/chat-dark.css | 16 +++++++++++----- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f05417..e1e109e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 1.6.7 + +Fixed secret roll-notes being unreadable on dark mode chat messages. + # 1.6.6 Fixed certain button labels having the wrong color on dark PC sheets. diff --git a/module.json b/module.json index ef9addd..4312050 100644 --- a/module.json +++ b/module.json @@ -11,10 +11,10 @@ "discord": "Dorako#0657" } ], - "version": "1.6.6", + "version": "1.6.7", "compatibility": { "minimum": "10", - "verified": "10.285" + "verified": "10.286" }, "relationship": { "systems": [ @@ -31,6 +31,6 @@ }, "scripts": ["scripts/dorako-ui.js"], - "download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.6.6.zip", + "download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.6.7.zip", "manifest": "https://github.com/Dorako/pf2e-dorako-ui/raw/main/module.json" } diff --git a/styles/chat-dark.css b/styles/chat-dark.css index 4e0fd4b..fa4ce46 100644 --- a/styles/chat-dark.css +++ b/styles/chat-dark.css @@ -4,11 +4,11 @@ --pf2e-body-secondary: hsl(0, 0%, 60%); --pf2e-body-inverse: hsl(0, 0%, 00%); */ - /* --pf2e-shadow-dynamic: var(--pf2e-half-transparent-dark); + --pf2e-shadow-dynamic: var(--pf2e-half-transparent-dark); --pf2e-color-ornament: var(--pf2e-color-ornament-for-dark); --pf2e-translucent-middle: var(--pf2e-translucent-middle-for-dark); --pf2e-translucent-very: var(--pf2e-translucent-very-for-dark); - --filter-img: var(--filter-dark); */ + /* --filter-img: var(--filter-dark); */ } @@ -125,11 +125,13 @@ } .dark-theme .damage-tag-modifier { - background: var(--pf2e-translucent-very-for-dark); + background: hsla(0, 0%, 50%, 0.25); } -.dark-theme [data-visibility=owner]:is(div, em, p, span, strong) { - background: var(--pf2e-translucent-very-for-dark); +.dark-theme [data-visibility=gm]:is(div, em, h4, section p, span, strong), +.dark-theme [data-visibility=owner]:is(div, em, h4, section p, span, strong), +.dark-theme [data-visibility]:is(div, em, h4, p, section, span, strong):not([data-visibility=all])[data-visibility=gm] { + background: hsla(0, 0%, 50%, 0.25); } .dark-theme .damage-tag-base { @@ -160,4 +162,8 @@ .dark-theme .vr { border-color: gray; +} + +#sidebar [data-tab=cards] { + display: none; } \ No newline at end of file