2022-02-21 15:41:32 +00:00
|
|
|
const { join } = require('path');
|
2023-07-04 11:01:25 +00:00
|
|
|
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind');
|
2022-02-23 17:57:44 +00:00
|
|
|
const theme = require('../tailwindcss-config/src/theme');
|
2022-04-29 09:46:31 +00:00
|
|
|
const vegaCustomClasses = require('../tailwindcss-config/src/vega-custom-classes');
|
2022-02-21 15:41:32 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
content: [
|
2022-02-25 14:12:13 +00:00
|
|
|
join(__dirname, 'src/**/*.{ts,tsx,html,mdx}'),
|
2022-06-10 23:12:51 +00:00
|
|
|
join(__dirname, 'src/utils/shared.ts'),
|
2022-02-21 15:41:32 +00:00
|
|
|
join(__dirname, '.storybook/preview.js'),
|
|
|
|
...createGlobPatternsForDependencies(__dirname),
|
|
|
|
],
|
|
|
|
darkMode: 'class',
|
2022-02-28 22:29:05 +00:00
|
|
|
theme: {
|
|
|
|
extend: theme,
|
|
|
|
},
|
2022-04-29 09:46:31 +00:00
|
|
|
plugins: [vegaCustomClasses],
|
2022-02-21 15:41:32 +00:00
|
|
|
};
|