Jetstream and dark mode

Hi, I'm trying to enable tailwind to respect the FilamentPHP dark/light mode settings instead of the OSes. But when I add this to the tailwind.config.js:
module.exports = {
darkMode: 'class',
// ...
}
It seems to lose the rest of the tailwind styling for the Jetstream components.
Do I need to be adding something else into the module.exports block to get this working as normal?
Or am I missing something?
Was this page helpful?