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
It would be really awesome if the Tailwind intellisense could help me choose sensible contrast ratios.
I found tailwindlabs/tailwindcss-intellisense#182, which suggests to add a warning if it's too low, but as the reply says, that's kind of difficult since you also need to know the size of the text.
So, how about instead just show the ratio and whether it could be good or bad? For example something along the lines of how this site does it:
Some similar information, although could probably be quite a bit more concise, would be really helpful in the tooltip when hovering over either background or text color classes, as long as the other one is also specified.
This discussion was converted from issue #5701 on October 05, 2021 12:14.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
It would be really awesome if the Tailwind intellisense could help me choose sensible contrast ratios.
I found tailwindlabs/tailwindcss-intellisense#182, which suggests to add a warning if it's too low, but as the reply says, that's kind of difficult since you also need to know the size of the text.
So, how about instead just show the ratio and whether it could be good or bad? For example something along the lines of how this site does it:
Some similar information, although could probably be quite a bit more concise, would be really helpful in the tooltip when hovering over either background or text color classes, as long as the other one is also specified.
Beta Was this translation helpful? Give feedback.
All reactions