vega-frontend-monorepo/apps/trading/tailwind.config.js

17 lines
576 B
JavaScript
Raw Normal View History

2022-02-23 14:49:24 +00:00
const { join } = require('path');
2022-02-23 17:57:44 +00:00
const { createGlobPatternsForDependencies } = require('@nrwl/next/tailwind');
const theme = require('../../libs/tailwindcss-config/src/theme');
const vegaCustomClasses = require('../../libs/tailwindcss-config/src/vega-custom-classes');
2022-02-23 14:49:24 +00:00
module.exports = {
content: [
2022-02-28 22:29:05 +00:00
join(__dirname, 'pages/**/*.{js,ts,jsx,tsx}'),
join(__dirname, 'components/**/*.{js,ts,jsx,tsx}'),
'libs/ui-toolkit/src/utils/shared.ts',
2022-02-23 17:57:44 +00:00
...createGlobPatternsForDependencies(__dirname),
2022-02-23 14:49:24 +00:00
],
2022-02-23 17:57:44 +00:00
darkMode: 'class',
theme,
plugins: [vegaCustomClasses],
2022-02-23 14:49:24 +00:00
};