53eb046790
Closes [#26337](https://github.com/vercel/next.js/issues/26337). This PR fixes #26337. The issue is just the version of xwind basically. Not compatible with newer versions and jit mode. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint`
17 lines
341 B
JavaScript
17 lines
341 B
JavaScript
const colors = require('tailwindcss/colors')
|
|
|
|
module.exports = {
|
|
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: {
|
|
colors,
|
|
},
|
|
},
|
|
variants: {},
|
|
plugins: [require('tailwindcss-filters')],
|
|
// xwind options
|
|
xwind: {
|
|
mode: 'objectstyles',
|
|
},
|
|
}
|