Dev journal:
Fixed a 'bug' where dynamic #Tailwind CSS classes were not rendering in #NextJS. Solution was to add the class names to a 'safelist' property in the tailwind config.
Unused styles are removed by static analysis therefore dynamically generated classes are unknown at this point and not included. The safelist includes these classes regardless.