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