It shouldn’t be too difficult, just a bit time consuming.
You could start by converting all the tailwind classes to inline styles. With the exception of a few css variables that’s rather straightforward translation. Then you’d have equivalent functionality but no longer need tailwind dependency.
After that you can migrate to bootstrap at your leisure. See Phoenix 1.8 and Bootstrap 5 · FullstackPhoenix for some ideas on this.






















