Skip to content

Commit e41b921

Browse files
committed
feat: add transparent variant for modal backdrop
1 parent 7ef8b55 commit e41b921

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/css/base.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4991,6 +4991,11 @@ details[open] {
49914991
background: var(--backdrop-bg);
49924992
z-index: var(--modal-index);
49934993
backdrop-filter: blur(1px);
4994+
4995+
&--transparent {
4996+
background: transparent;
4997+
backdrop-filter: none;
4998+
}
49944999
}
49955000

49965001
// NOTE: used for divider separated flexbox row lists
@@ -5205,4 +5210,4 @@ details[open] {
52055210
&--paint {
52065211
contain: paint;
52075212
}
5208-
}
5213+
}

0 commit comments

Comments
 (0)