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

[[1](https://github.com/RyotaUshio/obsidian-pdf-plus/blob/b5d810c7743500a033f7429df9ad696fbf78a9e5/src/color-palette.ts#L42)]: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/RyotaUshio/obsidian-pdf-plus/blob/b5d810c7743500a033f7429df9ad696fbf78a9e5/src/settings.ts#L535)][[2](https://github.com/RyotaUshio/obsidian-pdf-plus/blob/b5d810c7743500a033f7429df9ad696fbf78a9e5/src/settings.ts#L654)][[3](https://github.com/RyotaUshio/obsidian-pdf-plus/blob/b5d810c7743500a033f7429df9ad696fbf78a9e5/src/settings.ts#L658)][[4](https://github.com/RyotaUshio/obsidian-pdf-plus/blob/b5d810c7743500a033f7429df9ad696fbf78a9e5/src/settings.ts#L659)][[5](https://github.com/RyotaUshio/obsidian-pdf-plus/blob/b5d810c7743500a033f7429df9ad696fbf78a9e5/src/settings.ts#L666)]: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/RyotaUshio/obsidian-pdf-plus/blob/b5d810c7743500a033f7429df9ad696fbf78a9e5/src/highlight.ts#L259)][[2](https://github.com/RyotaUshio/obsidian-pdf-plus/blob/b5d810c7743500a033f7429df9ad696fbf78a9e5/src/main.ts#L132)][[3](https://github.com/RyotaUshio/obsidian-pdf-plus/blob/b5d810c7743500a033f7429df9ad696fbf78a9e5/src/settings.ts#L643)][[4](https://github.com/RyotaUshio/obsidian-pdf-plus/blob/b5d810c7743500a033f7429df9ad696fbf78a9e5/src/patchers/pdf.ts#L124)][[5](https://github.com/RyotaUshio/obsidian-pdf-plus/blob/b5d810c7743500a033f7429df9ad696fbf78a9e5/src/patchers/pdf.ts#L166)]:Casting to `any` should be avoided as much as possible.



---



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.