next.js/test/development/acceptance-app/fixtures/app-hmr-changes/tailwind.config.js
tailwind.config.js21 lines486 B
const plugin = require('tailwindcss/plugin')

/** @type {import('tailwindcss').Config} */
module.exports = {
  darkMode: 'class',
  content: ['./app/**/*.{js,ts,jsx,tsx}'],
  theme: {
    extend: {},
  },
  plugins: [
    plugin(function ({ addVariant }) {
      // this class is applied to `html` by `app/theme-efect.ts`, similar
      // to how `dark:` gets enabled
      addVariant('theme-system', '.theme-system &')
    }),
  ],
  future: {
    hoverOnlyWhenSupported: true,
  },
}
Quest for Codev2.0.0
/
SIGN IN