You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
469 B
25 lines
469 B
const { color } = require('./config.json');
|
|
const theme = require('./themes.json');
|
|
|
|
let colors = theme[color];
|
|
|
|
module.exports = {
|
|
content: [
|
|
'./src/pages/**/*.{js,ts,jsx,tsx}',
|
|
'./src/components/**/*.{js,ts,jsx,tsx}',
|
|
],
|
|
darkMode: 'media', // or 'media' or 'class'
|
|
theme: {
|
|
colors: {
|
|
transparent: 'transparent',
|
|
current: 'currentColor',
|
|
...colors,
|
|
},
|
|
extend: {},
|
|
},
|
|
variants: {
|
|
extend: {},
|
|
},
|
|
plugins: [],
|
|
};
|