41 lines
908 B
JavaScript
41 lines
908 B
JavaScript
const path = require('path');
|
|
|
|
// nx-ignore-next-line
|
|
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind');
|
|
|
|
module.exports = {
|
|
content: [
|
|
path.join(__dirname, 'src/**/*.{js,ts,jsx,tsx,html}'),
|
|
...createGlobPatternsForDependencies(__dirname),
|
|
],
|
|
darkMode: 'class', // or 'media' or 'class'
|
|
theme: {
|
|
extend: {
|
|
typography: {
|
|
DEFAULT: {
|
|
css: {
|
|
'code::before': {
|
|
content: '',
|
|
},
|
|
'code::after': {
|
|
content: '',
|
|
},
|
|
'blockquote p:first-of-type::before': {
|
|
content: '',
|
|
},
|
|
'blockquote p:last-of-type::after': {
|
|
content: '',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
variants: {
|
|
extend: {
|
|
translate: ['group-hover'],
|
|
},
|
|
},
|
|
plugins: [require('@tailwindcss/typography')],
|
|
};
|