This commit is contained in:
Dmitry Borisenko
2021-09-16 02:00:52 +08:00
parent 0d065b65b8
commit a1b8fb754f
21 changed files with 5749 additions and 0 deletions

24
tailwind.config.js Normal file
View File

@@ -0,0 +1,24 @@
// tailwind.config.js
module.exports = {
purge: {
enabled: !process.env.ROLLUP_WATCH,
//mode: 'all',
//preserveHtmlElements: false,
content: ['./public/index.html', './src/**/*.svelte'],
options: {
defaultExtractor: content => [
...(content.match(/[^<>"'`\s]*[^<>"'`\s:]/g) || []),
...(content.match(/(?<=class:)[^=>\/\s]*/g) || []),
],
//keyframes: true,
},
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
}