react-code-dataset / next.js /test /development /acceptance-app /fixtures /app-hmr-changes /tailwind.config.js
Download next.js/test/development/acceptance-app/fixtures/app-hmr-changes/tailwind.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 486 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/acceptance-app/fixtures/app-hmr-changes/tailwind.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/acceptance-app/fixtures/app-hmr-changes/tailwind.config.js
-
curl -L -o tailwind.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/acceptance-app/fixtures/app-hmr-changes/tailwind.config.js
486 Bytes
| 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, | |
| }, | |
| } | |