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

### Required

[[1](https://github.com/KraXen72/obsidian-painter/blob/0c434ff46941c03ce860bbe9080813b0d38f66b4/src/settings/settings-tabs.ts#L70)][[2](https://github.com/KraXen72/obsidian-painter/blob/0c434ff46941c03ce860bbe9080813b0d38f66b4/src/settings/settings-tabs.ts#L163)]: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.


[[1](https://github.com/KraXen72/obsidian-painter/blob/0c434ff46941c03ce860bbe9080813b0d38f66b4/src/custom-icons.ts#L40)][[2](https://github.com/KraXen72/obsidian-painter/blob/0c434ff46941c03ce860bbe9080813b0d38f66b4/src/transform-text.ts#L55)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>



---

### Optional

[[1](https://github.com/KraXen72/obsidian-painter/blob/0c434ff46941c03ce860bbe9080813b0d38f66b4/src/settings/settings-tabs.ts#L287)]:Casting to `any` should be avoided as much as possible.



---



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.