Use no value instead of blur(0px) for backdrop-blur-none and blur-none utilities (#13830)
* map `backdrop-blur-none` and `blur-none` to ` ` instead of `blur(0px)` * add test for `backdrop-blur-none` and `blur-none` * update changelog
This commit is contained in:
parent
9e928ce0be
commit
eef91c9065
5 changed files with 17 additions and 5 deletions
|
|
@ -2596,7 +2596,7 @@ export let corePlugins = {
|
|||
{
|
||||
blur: (value) => {
|
||||
return {
|
||||
'--tw-blur': `blur(${value})`,
|
||||
'--tw-blur': value.trim() === '' ? ' ' : `blur(${value})`,
|
||||
'@defaults filter': {},
|
||||
filter: cssFilterValue,
|
||||
}
|
||||
|
|
@ -2751,7 +2751,7 @@ export let corePlugins = {
|
|||
{
|
||||
'backdrop-blur': (value) => {
|
||||
return {
|
||||
'--tw-backdrop-blur': `blur(${value})`,
|
||||
'--tw-backdrop-blur': value.trim() === '' ? ' ' : `blur(${value})`,
|
||||
'@defaults backdrop-filter': {},
|
||||
'backdrop-filter': cssBackdropFilterValue,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue