Moved to the new syntax on Tailwind config

This commit is contained in:
Sercan Yemen 2022-01-01 22:33:23 +03:00
parent 5337c95782
commit 700a117654

View File

@ -167,17 +167,17 @@ const config = {
'2/4': '50%',
'3/4': '75%'
},
minHeight : theme => ({
minHeight : ({theme}) => ({
...theme('spacing')
}),
maxHeight : theme => ({
maxHeight : {
none: 'none'
}),
minWidth : theme => ({
},
minWidth : ({theme}) => ({
...theme('spacing'),
screen: '100vw'
}),
maxWidth : theme => ({
maxWidth : ({theme}) => ({
...theme('spacing'),
screen: '100vw'
}),
@ -189,7 +189,7 @@ const config = {
},
// @tailwindcss/typography
typography: (theme) => ({
typography: ({theme}) => ({
DEFAULT: {
css: {
color : 'var(--fuse-text-default)',