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

15 lines
424 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');
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}'),
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,
2022-02-23 14:49:24 +00:00
plugins: [],
};