https://play.tailwindcss.com/2VVorQvG0T?file=css
Desde a atualização para o Tailwind v4, onde a configuração é somente CSS, não consigo mais usar inherit
como valor. Ele cria a classe, mas o valor real da variável parece não funcionar por algum motivo.
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<style type="text/tailwindcss">
@theme {
--radius-inherit: inherit;
}
</style>
<div class="w-[100px] h-[100px] bg-blue-500 rounded-3xl m-20">
<div class="rounded-inherit bg-red-600">inherit</div>
</div>
Isso é um bug no Tailwind ou estou fazendo algo errado?