Here’s a guide on how to use the feature.
import type { Config } from "tailwindcss";const config = { darkMode: ['class', '[data-theme="dark"]'], plugins: [ /* Add plugins */ require('@tailwindcss/typography'), require('@astrojs/starlight-tailwind')(), ],} satisfies Configexport default config