Утилиты для включения и отключения фильтров на элементе.
export default {
theme: {
blur: {
'4xl': '72px',
'5xl': '96px',
'6xl': '128px',
},
},
}
export default {
theme: {
brightness: {
sm: '50',
md: '100',
lg: '150',
},
},
}
export default {
theme: {
contrast: {
sm: '50',
md: '100',
lg: '150',
},
},
}
export default {
theme: {
dropShadow: {
'3xl': 'drop-shadow(0 30px 30px rgba(0, 0, 0, 0.2))',
'4xl': 'drop-shadow(0 40px 40px rgba(0, 0, 0, 0.3))',
},
},
}
export default {
theme: {
grayscale: {
50: '0.5',
80: '0.8',
},
},
}
export default {
theme: {
hueRotate: {
sm: '60',
lg: '90',
xl: '180',
},
},
}
export default {
theme: {
invert: {
sm: '0.5',
lg: '0.8',
},
},
}
export default {
theme: {
saturate: {
sm: '0.5',
md: '1',
lg: '1.5',
},
},
}
export default {
theme: {
sepia: {
sm: '0.5',
md: '0.8',
},
},
}
Утилиты для включения и отключения фоновых фильтров для элемента.
export default {
theme: {
backdropBlur: {
'4xl': '72px',
'5xl': '96px',
'6xl': '128px',
},
},
}
export default {
theme: {
backdropBrightness: {
sm: '50',
md: '100',
lg: '150',
},
},
}
export default {
theme: {
backdropContrast: {
sm: '50',
md: '100',
lg: '150',
},
},
}
export default {
theme: {
backdropGrayscale: {
50: '0.5',
80: '0.8',
},
},
}
export default {
theme: {
backdropHueRotate: {
sm: '60',
lg: '90',
xl: '180',
},
},
}
export default {
theme: {
backdropInvert: {
sm: '0.5',
lg: '0.8',
},
},
}
export default {
theme: {
backdropOpacity: {
sm: '0.5',
lg: '0.8',
},
},
}
export default {
theme: {
backdropSaturate: {
sm: '0.5',
md: '1',
lg: '1.5',
},
},
}
export default {
theme: {
backdropSepia: {
sm: '0.5',
md: '0.8',
},
},
}