kepano / obsidian-minimal

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

Background secondary-alt is not set to primary-alt #712

Open Leo310 opened 3 months ago

Leo310 commented 3 months ago

Is the bug present when using the default Obsidian theme?

No

Is the bug present when snippets and plugins are disabled?

No

Minimal theme version

7.5.3

Describe the bug

Minimal theme overwrites the --background-secondary variable with --background-primary but doesn't overwrite --background-secondary-alt with --background-primary-alt.

This is a problem when switching between themes because it results in two html elements having different backgrounds in one theme and the same background in your theme which makes unified coloring annoying.

Debug info

image This is how it would look normally

image This is how it looks since --background-secondary-alt is the same as color --background-secondary with minimal theme