kepano / obsidian-minimal

A distraction-free and highly customizable theme for Obsidian.
https://minimal.guide
MIT License
3.67k stars 185 forks source link

Side panel not rendered correctly in light mode high contrast #691

Open sulth1 opened 8 months ago

sulth1 commented 8 months ago

Is the bug present when using the default Obsidian theme?

No

Is the bug present when snippets and plugins are disabled?

Yes

Minimal theme version

7.3.1

Describe the bug

Hi,

I am not sure where to post as I can identify who's the culprit. I am using the Minimal Theme, light, high contrast.

Screenshot 2024-01-31 122126 Screenshot 2024-01-31 122316

The first picture is how it is supposed to look, and the second is how it sometimes looks. The error is not constant, and switching theme back and forth resolves it.

However, when loading a workspace, it always displays that grey colour for a fraction of a second before turning it dark, if it does.

The error seem to always happen the first time after loading Obsidian, and much less often afterwards (after having loaded another theme and back to Minimal).

I have a snippet that changes the right side panel colour, but the error happens also without or if I change its colour.

Screenshot 2024-01-31 124503

Debug info

SYSTEM INFO: Obsidian version: v1.5.3 Installer version: v1.4.16 Operating system: Windows 10 Home 10.0.22631 Login status: logged in Catalyst license: none Insider build toggle: off Live preview: on Base theme: light Community theme: Minimal v7.3.5 Snippets enabled: 1 Restricted mode: off Plugins installed: 35 Plugins enabled: 30 1: Zotero Integration v3.1.7 2: Auto Link Title v1.5.3 3: Better Word Count v0.10.1 4: Callout Manager v1.0.1 5: Commander v0.5.1 6: Convert url to preview (iframe) v0.5.0 7: DataLoom v8.15.11 8: File Color v1.1.0 9: Highlightr v1.2.2 10: Kanban v1.5.3 11: List Callouts v1.2.0 12: Mind Map v1.1.0 13: Minimal Theme Settings v7.3.1 14: Note Refactor v1.8.2 15: Outliner v4.8.0 16: Projects v1.17.1 17: Recent Files v1.3.10 18: Reference Map v1.8.1 19: Style Settings v1.0.7 20: Tag Wrangler v0.6.1 21: Workspaces Plus v0.3.3 22: TickTick v1.0.4 23: Tasks v6.0.0 24: Hover Editor v0.11.16 25: Dataview v0.5.64 26: BRAT v0.8.3 27: Query Control v0.6.0 28: Metadata Menu v0.7.7 29: Git v2.23.1 30: Advanced Tables v0.21.0

RECOMMENDATIONS: Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets. Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

kepano commented 8 months ago

Does this occur when snippets are disabled?

sulth1 commented 8 months ago

Yes it does. A quick turn on turn off will fix it, as well as changing to dark mode and back to light mode, or to another theme and back to mininal, or change the contrast, and so on. But the error occurs again soon after.

kepano commented 8 months ago

I can't reproduce this. It's unlikely to be related to Minimal. I would suspect it's somehow related to one or your plugins or snippets.