2022-11-21 11:10:04 +01:00
|
|
|
const defaultTheme = require('tailwindcss/defaultTheme')
|
|
|
|
|
2022-12-08 23:55:01 +01:00
|
|
|
const execSync = require('child_process').execSync;
|
|
|
|
const output = execSync('bundle show merged', { encoding: 'utf-8' });
|
2022-12-15 11:50:33 +01:00
|
|
|
const fullname = output.trim() + '/app/**/*.{haml,html,rb}' ;
|
|
|
|
console.log(fullname);
|
2022-12-08 23:55:01 +01:00
|
|
|
|
2022-11-21 11:10:04 +01:00
|
|
|
module.exports = {
|
|
|
|
content: [
|
|
|
|
'./public/*.html',
|
|
|
|
'./app/helpers/**/*.rb',
|
|
|
|
'./app/javascript/**/*.js',
|
2022-11-29 00:13:46 +01:00
|
|
|
'./app/views/**/*.{erb,haml,html,slim}' ,
|
2022-12-08 23:55:01 +01:00
|
|
|
fullname
|
2022-11-21 11:10:04 +01:00
|
|
|
],
|
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
fontFamily: {
|
|
|
|
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
require('@tailwindcss/forms'),
|
|
|
|
require('@tailwindcss/aspect-ratio'),
|
|
|
|
require('@tailwindcss/typography'),
|
|
|
|
]
|
|
|
|
}
|