You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next, add the following to your `tailwind.config.js` file.
16
+
17
+
```js
18
+
importdialogsfrom'@bedard/tailwindcss-dialogs'
19
+
20
+
exportdefault {
21
+
plugins: [
22
+
dialogs
23
+
]
24
+
}
25
+
```
26
+
27
+
## Basic usage
28
+
29
+
This plugin provides one utility class, and three variant utilities.
30
+
31
+
1. The [`allow-discrete`](https://developer.mozilla.org/en-US/docs/Web/CSS/transition-behavior#discrete_animation_behavior) class enables entry / exit transitions
32
+
2.`backdrop` targets a dialog's backdrop pseudo element
33
+
3.`open` targets the the open state
34
+
4.`from` targets a dialog's [`starting-style`](https://developer.mozilla.org/en-US/docs/Web/CSS/@starting-style)
0 commit comments