Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/Youngmoss/obsidian-backgroundset/blob/f20918ed4aaac337cd409099bcab37a717fcd28c/main.ts#L25)]:Obsidian's configuration directory isn't necessarily `.obsidian`, it can be configured by the user. You can access the configured value from `Vault#configDir`

[[1](https://github.com/Youngmoss/obsidian-backgroundset/blob/f20918ed4aaac337cd409099bcab37a717fcd28c/main.ts#L76)][[2](https://github.com/Youngmoss/obsidian-backgroundset/blob/f20918ed4aaac337cd409099bcab37a717fcd28c/main.ts#L126)][[3](https://github.com/Youngmoss/obsidian-backgroundset/blob/f20918ed4aaac337cd409099bcab37a717fcd28c/main.ts#L127)][[4](https://github.com/Youngmoss/obsidian-backgroundset/blob/f20918ed4aaac337cd409099bcab37a717fcd28c/main.ts#L128)][[5](https://github.com/Youngmoss/obsidian-backgroundset/blob/f20918ed4aaac337cd409099bcab37a717fcd28c/main.ts#L132)][[6](https://github.com/Youngmoss/obsidian-backgroundset/blob/f20918ed4aaac337cd409099bcab37a717fcd28c/main.ts#L192)][[7](https://github.com/Youngmoss/obsidian-backgroundset/blob/f20918ed4aaac337cd409099bcab37a717fcd28c/main.ts#L222)][[8](https://github.com/Youngmoss/obsidian-backgroundset/blob/f20918ed4aaac337cd409099bcab37a717fcd28c/main.ts#L234)][[9](https://github.com/Youngmoss/obsidian-backgroundset/blob/f20918ed4aaac337cd409099bcab37a717fcd28c/main.ts#L239)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.




---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.