mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 15:02:21 +03:00
42 lines
885 B
JavaScript
42 lines
885 B
JavaScript
// 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: [],
|
|
theme: {
|
|
fontSize: {
|
|
'xxs': '.5rem',
|
|
'xs': '.75rem',
|
|
'sm': '.875rem',
|
|
'tiny': '.875rem',
|
|
'base': '1rem',
|
|
'lg': '1.125rem',
|
|
'xl': '1.25rem',
|
|
'2xl': '1.5rem',
|
|
'3xl': '1.875rem',
|
|
'4xl': '2.25rem',
|
|
'5xl': '3rem',
|
|
'6xl': '4rem',
|
|
'7xl': '5rem',
|
|
}
|
|
}
|
|
}
|