Is there a way to dynamically set some CSS in the <head> via <style> in the app router? I assume this could be in done pages router as we had access to <Head> which we now don't have in app router.
I've got page styles saved to the users theme in the database and on particular page load I want to apply this theming without any page/css flashing and loading on the client side.
Since I can't pass anything to the layout file I feel like potentially my only option is to pull <html> and <body> out of my layout and directly into the page possibly unless there's an alternative solution.
generateMetadata() has no styling option