now a simple fade-in/fade-out, which is part of tailwind.config.js rather than modal.css.
instead of adding dark: variants to each element, a preprocessor script adds them. still needs to be implemented to typescript.