2023-10-09 14:59:00 +00:00
|
|
|
const { join } = require('path');
|
|
|
|
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind');
|
2024-03-08 13:20:03 +00:00
|
|
|
const { theme } = require('../tailwindcss-config/src/theme');
|
|
|
|
const {
|
|
|
|
vegaCustomClasses,
|
|
|
|
} = require('../tailwindcss-config/src/vega-custom-classes');
|
2023-10-09 14:59:00 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
content: [
|
|
|
|
join(__dirname, 'src/**/*.{ts,tsx,html,mdx}'),
|
|
|
|
join(__dirname, '.storybook/preview.js'),
|
|
|
|
...createGlobPatternsForDependencies(__dirname),
|
|
|
|
],
|
|
|
|
darkMode: 'class',
|
|
|
|
theme: {
|
|
|
|
extend: theme,
|
|
|
|
},
|
|
|
|
plugins: [vegaCustomClasses],
|
|
|
|
};
|