Skip to content

Commit 1a91d09

Browse files
chore(tailwind.config): update comment hints for "not" modifier
1 parent 4003a1e commit 1a91d09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tailwind.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,15 @@ const config = {
110110
plugins: [
111111
require("tailwindcss-animate"),
112112
plugin(function ({ matchVariant }) {
113-
// The :not() pseudo-class. `i.e. not-[&:disabled]`
113+
// The :not() pseudo-class. `i.e. not-[:checked]`
114114
matchVariant(
115115
"not",
116116
(value) => {
117117
return `&:not(${value})`
118118
},
119119
{
120120
values: {
121+
// not-disabled => ":not(:disabled)"
121122
disabled: ":disabled",
122123
},
123124
}

0 commit comments

Comments
 (0)