// tailwind.config.js module.exports = { // ... variants: { extend: { textColor: ['disabled'], } }, } // in html <input type="text" class="disabled:text-gray-200">