vega-frontend-monorepo/apps/governance/tailwind.config.js
2023-07-04 13:01:25 +02:00

27 lines
752 B
JavaScript

const { join } = require('path');
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind');
const theme = require('../../libs/tailwindcss-config/src/theme');
const vegaCustomClasses = require('../../libs/tailwindcss-config/src/vega-custom-classes');
module.exports = {
content: [
join(__dirname, 'src/**/*.{js,ts,jsx,tsx}'),
'libs/ui-toolkit/src/utils/shared.ts',
...createGlobPatternsForDependencies(__dirname),
],
darkMode: 'class',
theme: {
extend: {
...theme,
backgroundImage: {
clouds: "url('./images/clouds.png')",
banner: "url('./images/banner.png')",
},
backgroundPosition: {
clouds: '0 -300px',
},
},
},
plugins: [vegaCustomClasses],
};