Replies: 1 comment 1 reply
-
https://play.tailwindcss.com/88VhNq72oT The modifier has nothing to do with opacity, it accepts any value, since the modifier's value is inserted into the CSS in a special way: Generated CSS (/69 -> 69%) .bg-emerald-500\/69 {
background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 69%, transparent);
@supports (color: color-mix(in lab, red, red)) {
background-color: color-mix(in oklab, var(--color-emerald-500) 69%, transparent);
}
} In conclusion, you don't need autocompletion, since I assume you know what you want to type. Otherwise, regardless of any config, it should handle completion properly from 1 to 100? It might be irritating when I'm typing 40 and the first suggestion is 4, which makes no sense? And if 40 comes up first, then when you type 5 you'll be annoyed that 50 is ranked higher - so I think it's not very useful either way, I'd type the number faster myself. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Tailwind 4 config:
Autocompletion on
bg-red-100/<caret>
still shows/5
,/10
etc. but not/4
.Beta Was this translation helpful? Give feedback.
All reactions