Skip to content

Using Feature

Here’s a guide on how to use the feature.

Here’s the configuration

import type { Config } from "tailwindcss";
const config = {
darkMode: ['class', '[data-theme="dark"]'],
plugins: [
/* Add plugins */
require('@tailwindcss/typography'),
require('@astrojs/starlight-tailwind')(),
],
} satisfies Config
export default config