mugiwara85/CodeblockCustomizer

Can't save the custom Settings

Closed this issue · 6 comments

Can't save the custom Settings, cause I lose my Settings when I switch themes or some other behavior

which settings do you mean exactly?

which settings do you mean exactly?

color Settings

Which color setting???? Until you provide enough information or explain the problem I can't help. Describe the problem in a way so I can reproduce it.

I tested it by first changing all the color options to red,
image

Then I switched the obsidian base color from light to dark and found that all the color Settings were restored to their default Settings
image

Yes, that is correct. If you only use one theme (for example dark), then you can change the colors, and they will stay as you selected. But if you are switching between themes, then you need to save your color settings in a theme. Give it a name, an save it. Also note, that you can also select if the theme is a default light or a default dark theme. This means, that if you change Obsidians theme (not the plugins theme), then the plugin will automatically select the default light/dark theme accordingly. I hope it is understandable. If not, just ask :)

image
image

Yes, that is correct. If you only use one theme (for example dark), then you can change the colors, and they will stay as you selected. But if you are switching between themes, then you need to save your color settings in a theme. Give it a name, an save it. Also note, that you can also select if the theme is a default light or a default dark theme. This means, that if you change Obsidians theme (not the plugins theme), then the plugin will automatically select the default light/dark theme accordingly. I hope it is understandable. If not, just ask :)

image image

Thank you. I understand the logic of the setup.