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

[[1](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/render/graphRender.ts#L75)][[2](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/render/graphRender.ts#L148)][[3](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/view/codeblock/CodeblockEditButtonMount.ts#L14)][[4](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/view/codeblock/CodeblockEditButtonMount.ts#L17)]: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/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/render/renders.ts#L43)][[2](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/processor/contributionGraphCodeBlockProcessor.ts#L34)][[3](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/processor/contributionGraphCodeBlockProcessor.ts#L36)][[4](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/processor/contributionGraphCodeBlockProcessor.ts#L67)][[5](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/processor/contributionGraphCodeBlockProcessor.ts#L69)][[6](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/view/codeblock/CodeblockEditButtonMount.ts#L12)][[7](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/view/form/GraphForm.tsx#L91)]: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>

[[1](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/main.ts#L58)]:No need to prefix this yourself, Obsidian will prefix the `id` with your plugin ID under the hood.

[[1](https://github.com/vran-dev/obsidian-contribution-graph/blob/e92ce727ed1ad3c6aed2ebc9d04628f6d6926a83/src/main.ts#L58)]:Adding `command´ to the command ID is not necessary, please remove it.



---



Do <b>NOT</b> open a new PR for re-validation. If you think some of these results are incorrect, please include `/skip` in your comment and the reason why you think the results are incorrect.
Once you have pushed all of the required changes, the bot will reevaluate your PR within 4 hours.