yoyurec / logseq-awesome-styler

🎨 Totally customizable theme with presets: colors, backgrounds, fonts and sizes, etc... Logseq plugin
MIT License
183 stars 9 forks source link

The background setting will revert to the default one after toggle between light and dark mode #22

Closed z1ggy-o closed 2 years ago

z1ggy-o commented 2 years ago

Info:

Description:

I tried to use the given setting in the documentation to disable the background image and it works. However, after I toggle between light and dark mode a few times, the background image returns again.

To Reproduce: Toggle between light mode and dark mode twice.

For example, we are in the light mode right now and use t t to dark mode. When using t t to back to light mode, the setting reverts to the background setting.

After I tried a few times, if we are in the light mode, even toggle once can reproduce the problem.

Expected behavior: The modified setting should remain.

Screenshots

image

This is my settings.

iShot_2022-06-13_09 38 11 Here, I keep using t t to switch between light and dark mode.

yoyurec commented 2 years ago

looks like Logseq team changed custom.css behaviour and priority. just add !important after colors.

readme updated

z1ggy-o commented 2 years ago

It works now. Thank you for your brilliant job and quick reply!