WIP Upgrade tailwindcss and dependencies
This commit is contained in:
+35
-41
@@ -2,38 +2,36 @@ const plugin = require('tailwindcss/plugin')
|
||||
const tinycolor = require('tinycolor2')
|
||||
|
||||
module.exports = {
|
||||
purge: {
|
||||
content: [
|
||||
'./public/typo3conf/ext/ep_theme/Configuration/RTE/*.yaml',
|
||||
'./public/typo3conf/ext/ep_theme/Configuration/TypoScript/**/*.typoscript',
|
||||
'./public/typo3conf/ext/ep_theme/Resources/Private/Layouts/**/*.html',
|
||||
'./public/typo3conf/ext/ep_theme/Resources/Private/Partials/**/*.html',
|
||||
'./public/typo3conf/ext/ep_theme/Resources/Private/Templates/**/*.html',
|
||||
'./public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/**/*.{js,vue}',
|
||||
'./public/typo3conf/ext/ep_theme/Classes/ViewHelpers/**/*.php',
|
||||
],
|
||||
safelist: [
|
||||
'pt-8', 'pt-16', 'pb-8', 'pb-16',
|
||||
'bg-red-600',
|
||||
'bg-header-season-w',
|
||||
'bg-header-season-s',
|
||||
'bg-concept-bdg', 'bg-concept-bdg-overlay',
|
||||
'bg-concept-skr', 'bg-concept-skr-overlay',
|
||||
'bg-concept-evt', 'bg-concept-evt-overlay',
|
||||
'bg-concept-fam', 'bg-concept-fam-overlay',
|
||||
'bg-concept-grp', 'bg-concept-grp-overlay',
|
||||
'bg-concept-prg', 'bg-concept-prg-overlay',
|
||||
'bg-concept-ind', 'bg-concept-ind-overlay',
|
||||
'bg-concept-wkd', 'bg-concept-wkd-overlay',
|
||||
'bg-concept-kt', 'bg-concept-kt-overlay',
|
||||
'bg-concept-spz', 'bg-concept-spz-overlay',
|
||||
'bg-concept-epe', 'bg-concept-epe-overlay',
|
||||
'bg-concept-sfl', 'bg-concept-sfl-overlay',
|
||||
/^flatpickr-.*/,
|
||||
/^leaflet-.*/,
|
||||
/^availability-.*/,
|
||||
],
|
||||
},
|
||||
content: [
|
||||
'./public/typo3conf/ext/ep_theme/Configuration/RTE/*.yaml',
|
||||
'./public/typo3conf/ext/ep_theme/Configuration/TypoScript/**/*.typoscript',
|
||||
'./public/typo3conf/ext/ep_theme/Resources/Private/Layouts/**/*.html',
|
||||
'./public/typo3conf/ext/ep_theme/Resources/Private/Partials/**/*.html',
|
||||
'./public/typo3conf/ext/ep_theme/Resources/Private/Templates/**/*.html',
|
||||
'./public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/**/*.{js,vue}',
|
||||
'./public/typo3conf/ext/ep_theme/Classes/ViewHelpers/**/*.php',
|
||||
],
|
||||
safelist: [
|
||||
'pt-8', 'pt-16', 'pb-8', 'pb-16',
|
||||
'bg-red-600',
|
||||
'bg-header-season-w',
|
||||
'bg-header-season-s',
|
||||
'bg-concept-bdg', 'bg-concept-bdg-overlay',
|
||||
'bg-concept-skr', 'bg-concept-skr-overlay',
|
||||
'bg-concept-evt', 'bg-concept-evt-overlay',
|
||||
'bg-concept-fam', 'bg-concept-fam-overlay',
|
||||
'bg-concept-grp', 'bg-concept-grp-overlay',
|
||||
'bg-concept-prg', 'bg-concept-prg-overlay',
|
||||
'bg-concept-ind', 'bg-concept-ind-overlay',
|
||||
'bg-concept-wkd', 'bg-concept-wkd-overlay',
|
||||
'bg-concept-kt', 'bg-concept-kt-overlay',
|
||||
'bg-concept-spz', 'bg-concept-spz-overlay',
|
||||
'bg-concept-epe', 'bg-concept-epe-overlay',
|
||||
'bg-concept-sfl', 'bg-concept-sfl-overlay',
|
||||
'flatpickr-input', 'flatpickr-calendar', 'flatpickr-day', 'flatpickr-day.selected',
|
||||
'availability-full-to-none', 'availability-full-to-partial', 'availability-none-to-full',
|
||||
'availability-partial-to-full', 'availability-none-to-partial', 'availability-partial-to-none',
|
||||
],
|
||||
theme: {
|
||||
container: {
|
||||
center: true,
|
||||
@@ -150,20 +148,16 @@ module.exports = {
|
||||
},
|
||||
variants: {
|
||||
extend: {
|
||||
backgroundColor: [ 'sbw', 'sbw-hover', 'sbw-group-hover', 'snz', 'snz-hover', 'snz-group-hover', 'uch', 'uch-hover', 'uch-group-hover', 'ser', 'ser-hover', 'ser-group-hover', 'even', 'odd' ],
|
||||
backgroundColor: [ 'sbw', 'sbw-hover', 'sbw-group-hover', 'snz', 'snz-hover', 'snz-group-hover', 'uch', 'uch-hover', 'uch-group-hover', 'ser', 'ser-hover', 'ser-group-hover' ],
|
||||
backgroundImage: [ 'ser' ],
|
||||
borderWidth: [ 'even', 'odd', 'first', 'last' ],
|
||||
textColor: [ 'sbw', 'sbw-hover', 'snz', 'snz-hover', 'uch', 'uch-hover', 'ser', 'ser-hover' ],
|
||||
borderColor: [ 'sbw','snz', 'uch', 'ser' ],
|
||||
display: [ 'group-hover', 'reduced' ],
|
||||
visibility: [ 'group-hover' ],
|
||||
opacity: [ 'group-hover' ],
|
||||
rotate: [ 'group-hover' ],
|
||||
display: [ 'reduced' ],
|
||||
flex: [ 'reduced' ],
|
||||
flexDirection: [ 'even', 'odd', 'reduced' ],
|
||||
flexDirection: [ 'reduced' ],
|
||||
alignItems: [ 'reduced' ],
|
||||
padding: [ 'even', 'odd', 'first', 'last', 'reduced' ],
|
||||
margin: [ 'even', 'odd', 'first', 'last', 'reduced' ],
|
||||
padding: [ 'reduced' ],
|
||||
margin: [ 'reduced' ],
|
||||
maxWidth: [ 'reduced' ],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user