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

### Required

[[1](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L63)][[2](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L81)][[3](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L82)][[4](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L83)][[5](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L84)][[6](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L91)][[7](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L92)][[8](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L93)][[9](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L94)][[10](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L95)][[11](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L107)][[12](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L108)][[13](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L109)][[14](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L110)][[15](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L131)][[16](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L136)][[17](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L42)][[18](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L43)][[19](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L44)][[20](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L61)][[21](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L62)][[22](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L63)][[23](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L64)][[24](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L65)][[25](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L71)][[26](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L72)][[27](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L79)][[28](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L80)][[29](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L81)][[30](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L82)] and more :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.




---

### Optional

[[1](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/PreGenerationModal.ts#L67)][[2](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L167)][[3](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/src/ui/ReviewModal.ts#L168)][[4](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/tests/setup.ts#L24)][[5](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/tests/setup.ts#L28)][[6](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/tests/setup.ts#L38)][[7](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/tests/mocks/anki.ts#L57)][[8](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/tests/integration/flashcard-flow.test.ts#L24)][[9](https://github.com/aerkn1/ObsiCard/blob/a331dc4ba548f9d36b107ca868af220c296c4a76/tests/integration/flashcard-flow.test.ts#L66)]: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.