UI: init tailwind popover-open variant
This commit is contained in:
@@ -74,7 +74,12 @@ const mkBorderUtils = (
|
||||
|
||||
export default plugin.withOptions(
|
||||
(_options = {}) =>
|
||||
({ addUtilities, theme }) => {
|
||||
({ addUtilities, theme, addVariant, e }) => {
|
||||
addVariant("popover-open", ({ modifySelectors, separator }) => {
|
||||
modifySelectors(({ className }) => {
|
||||
return `.${e(`popover-open${separator}${className}`)}:popover-open`;
|
||||
});
|
||||
});
|
||||
addUtilities({
|
||||
// Background colors
|
||||
".bg-def-1": {
|
||||
|
||||
Reference in New Issue
Block a user